[网络管理]
请问网卡子接口问题,destination host unreachable
我是手动在/etc/sysconfig/network-scropt/ 上加了个eth1:1的子接口文件
重启后配置为:
ifconfig
eth0 Link encap:Ethernet HWaddr 00:0E:0C:31:92:7E
inet addr:192.168.1.5 Bcast:192.168.1.127 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:74 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10062 (9.8 Kb) TX bytes:4777 (4.6 Kb)
Base address:0x2040 Memory:fe6c0000-fe6e0000
eth1 Link encap:Ethernet HWaddr 00:0E:0C:31:92:7F
inet addr:192.168.1.135 Bcast:192.168.1.255 Mask:255.255.255.128
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1370 (1.3 Kb) TX bytes:256 (256.0 b)
Base address:0x2000 Memory:fe6e0000-fe700000
eth1:1 Link encap:Ethernet HWaddr 00:0E:0C:31:92:7F
inet addr:10.10.1.5 Bcast:10.10.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1370 (1.3 Kb) TX bytes:256 (256.0 b)
Base address:0x2000 Memory:fe6e0000-fe700000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1240 (1.2 Kb) TX bytes:1240 (1.2 Kb)
可是当我从主机上ping 10.10.1.2时 ,就报destination host unreachable,不知为什么? 是不是子接口没配好?