[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Net-tools followup



Previously Wichert Akkerman wrote:
> Needless to say this is *EXTREMELY* stupid behaviour of ifconfig
> and completely breaks your system.

Okay, for those of you who have iproute installed, you can still get things
up and running using the ip tool. Like this:

ip addr add 127.0.0.1 dev lo
ip link set lo up
ip route add 127.0.0.0/8 dev lo
ip addr 10.66.2.150 dev eth0
ip link set eth0 up
ip route add 0.0.0.0/0 dev eth0 metric 1

Change eth0 IP and default route as needed of course.

Wichert.

-- 
   ________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| wichert@cistron.nl                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |



Reply to: