ifconfig and route problem.
Sten Daniel Sørsdal
sten.daniel.sorsdal at wan.no
Tue Feb 24 06:23:10 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.
>
Say you wanted to change from 192.168.100.1/24 to 10.0.0.1/24
With default gateway changed from 192.168.100.254 to 10.0.0.254
ifconfig rl0 inet 10.0.0.1/24 alias
route change default 10.0.0.254
ifconfig rl0 inet 192.168.100.1/24 -alias
_// Sten Daniel Sørsdal
More information about the freebsd-net
mailing list