ifconfig and route problem.
Sten Daniel Sørsdal
sten.daniel.sorsdal at wan.no
Wed Mar 3 09:07:59 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
>
> ?? 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
>
Yes there is a way and i showed you one way to do it.
Apologies if this was too technical or not what you asked.
_// Sten Daniel Sørsdal
More information about the freebsd-net
mailing list