Now I have emerged iproute2 and I can give also the last answer

>  route -n
> 
> and what does ip show:
> 
>  ip link show dev eth0

route add default gw 192.168.1.1
Bureau cahn # route -n
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic Metric Ref    Use
Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
Bureau cahn # ip link show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP qlen 1000
    link/ether 00:1e:8c:4a:44:db brd ff:ff:ff:ff:ff:ff


Reply via email to