adding ip:s with different gateway

Perttu Laine plaine at
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:

ifconfig_rl0="inet ...125.194  netmask"
ifconfig_rl0_alias0="inet ...125.195  netmask"
ifconfig_rl0_alias1="inet ...125.196  netmask"
ifconfig_rl0_alias2="inet ...125.197  netmask"

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