ifconfig and route problem.
resident at b-o.ru
Tue Feb 24 07:25:50 PST 2004
>> # ifconfig rl0 $ip (where ip can be also 192.168.100.1), my
>> default route is deleted, cut off server for my net.
SDS> Say you wanted to change from 192.168.100.1/24 to 10.0.0.1/24
SDS> With default gateway changed from 192.168.100.254 to 10.0.0.254
SDS> ifconfig rl0 inet 10.0.0.1/24 alias
SDS> route change default 10.0.0.254
SDS> ifconfig rl0 inet 192.168.100.1/24 -alias
What if I need to change ip from 192.168.100.1/24 to 192.168.100.2/24?
Can I alias IP-address from same subnet? I think no.
Andrew mailto:resident at b-o.ru
More information about the freebsd-net