|
发表于 2011-2-19 22:15:03
|
显示全部楼层
调用ip命令:- $ ip addr show eth0
- 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
- link/ether 48:5b:39:8a:69:d9 brd ff:ff:ff:ff:ff:ff
- inet 219.218.108.10/23 brd 219.218.109.255 scope global eth0
- inet6 2001:da8:7000:4f:4a5b:39ff:fe8a:69d9/64 scope global dynamic
- valid_lft 2591908sec preferred_lft 604708sec
- inet6 fe80::4a5b:39ff:fe8a:69d9/64 scope link
- valid_lft forever preferred_lft forever
复制代码 |
|