Re[2]: ifconfig and route problem.
From: Andre Rein (ar_at_g23.org)
Date: 02/24/04
- Previous message: Andrew Riabtsev: "Re[2]: ifconfig and route problem."
- In reply to: Andrew Riabtsev: "Re[2]: ifconfig and route problem."
- Next in thread: Andre Rein: "Re[2]: ifconfig and route problem."
- Reply: Andre Rein: "Re[2]: ifconfig and route problem."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 24 Feb 2004 16:32:39 +0100 (CET) To: Andrew Riabtsev <resident@b-o.ru>
On Tue, 24 Feb 2004, Andrew Riabtsev wrote:
>
> >> # 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.
>
iirc: ifconfig rl0 inet 10.0.0.1 netmask 255.255.255.255 alias
-- "And some greetings from the Toaster" _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Andrew Riabtsev: "Re[2]: ifconfig and route problem."
- In reply to: Andrew Riabtsev: "Re[2]: ifconfig and route problem."
- Next in thread: Andre Rein: "Re[2]: ifconfig and route problem."
- Reply: Andre Rein: "Re[2]: ifconfig and route problem."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]