ifconfig and route problem.

DrumFire dpphln at tin.it
Tue Feb 24 07:12:18 PST 2004


On Tue, 24 Feb 2004 15:23:07 +0100
Sten Daniel Sørsdal <sten.daniel.sorsdal at wan.no> wrote:

> 
> > # 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

?? My ask is simple: There's a way to avoid ifconfig reset default
route also when newipaddress is the same of old ipaddress?

I don't understand your example, and I didn't change my ip address
from 192.168.100.1/24 to 10.0.0.1/24
 


More information about the freebsd-net mailing list