1 |
Now I have emerged iproute2 and I can give also the last answer |
2 |
|
3 |
> route -n |
4 |
> |
5 |
> and what does ip show: |
6 |
> |
7 |
> ip link show dev eth0 |
8 |
|
9 |
route add default gw 192.168.1.1 |
10 |
Bureau cahn # route -n |
11 |
Table de routage IP du noyau |
12 |
Destination Passerelle Genmask Indic Metric Ref Use |
13 |
Iface |
14 |
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 |
15 |
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo |
16 |
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 |
17 |
Bureau cahn # ip link show dev eth0 |
18 |
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast |
19 |
state UP qlen 1000 |
20 |
link/ether 00:1e:8c:4a:44:db brd ff:ff:ff:ff:ff:ff |