adding ip:s with different gateway

Perttu Laine plaine at gmail.com
Thu Apr 6 09:04:24 UTC 2006


I have currently ip:s from block ...125.192/26 on my freebsd server.
with gateway ...125.193.
added via rc.conf:

defaultrouter="...125.193"
ifconfig_rl0="inet ...125.194  netmask 255.255.255.192"
ifconfig_rl0_alias0="inet ...125.195  netmask 255.255.255.255"
ifconfig_rl0_alias1="inet ...125.196  netmask 255.255.255.255"
ifconfig_rl0_alias2="inet ...125.197  netmask 255.255.255.255"

and so on.

Now I got new block from isp: ...122.192/26 with gw ...122.193.
So question is how to add ip's from this block to same server? With ipconfig
etc. tools and with rc.conf?


--
kpn @ IRCnet


More information about the freebsd-questions mailing list