|
楼主 |
发表于 2004-4-13 14:41:21
|
显示全部楼层
./ip route 拨号前
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.3
169.254.0.0/16 dev eth0 scope link
127.0.0.0/8 dev lo scope link
default via 192.168.1.1 dev eth0
[root@MashiMaro sbin]# ./ip route
拨号后
222.52.132.1 dev ppp0 proto kernel scope link src 222.52.134.40
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.3
169.254.0.0/16 dev eth0 scope link
127.0.0.0/8 dev lo scope link
default via 192.168.1.1 dev eth0
./ip route
222.52.132.1 dev ppp0 proto kernel scope link src 222.52.132.114
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.3
169.254.0.0/16 dev eth0 scope link
127.0.0.0/8 dev lo scope link
default via 192.168.1.1 dev eth0
./ip addr
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:e0:4c:f8:8f:3f brd ff:ff:ff:ff:ff:ff
inet 192.168.1.3/24 brd 255.255.255.255 scope global eth0
inet6 fe80::2e0:4cff:fef8:8f3f/64 scope link
valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
5: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1492 qdisc pfifo_fast qlen 3
link/ppp
inet 222.52.132.114 peer 222.52.132.1/32 scope global ppp0
ping 202.193.xxx.xxx
bytes of data.
From 192.168.1.1 icmp_seq=0 Destination Host Unreachable
From 192.168.1.1 icmp_seq=1 Destination Host Unreachable
From 192.168.1.1 icmp_seq=2 Destination Host Unreachable
From 192.168.1.1 icmp_seq=3 Destination Host Unreachable
From 192.168.1.1 icmp_seq=4 Destination Host Unreachable |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|