当前位置: 技术问答>linux和unix
redhat 网络问题
来源: 互联网 发布时间:2016-03-03
本文导语: 上 外网和PING 局域网其他WINDOWS机器都没问题 ,就是 从 局域网其他机器连redhat的时候 有时候能PING 通,有时候不通,而且就是ping通的时候也不是所有WINDOWS 机器都能PING通 REDHAT,请教大家这是为什么,下面是 R...
上 外网和PING 局域网其他WINDOWS机器都没问题 ,就是 从 局域网其他机器连redhat的时候 有时候能PING 通,有时候不通,而且就是ping通的时候也不是所有WINDOWS 机器都能PING通 REDHAT,请教大家这是为什么,下面是 REDHAT网络配置 。
[root@linux ~]# ifconfig
eth1 Link encap:Ethernet HWaddr 00:1D:92:6A:4E:23
inet addr:192.168.1.118 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21d:92ff:fe6a:4e23/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30263 errors:0 dropped:0 overruns:0 frame:0
TX packets:6709 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6260848 (5.9 MiB) TX bytes:1427338 (1.3 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1616 errors:0 dropped:0 overruns:0 frame:0
TX packets:1616 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2594453 (2.4 MiB) TX bytes:2594453 (2.4 MiB)
peth1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:30417 errors:0 dropped:0 overruns:0 frame:0
TX packets:6734 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:6391946 (6.0 MiB) TX bytes:1458518 (1.3 MiB)
Base address:0x8020 Memory:de220000-de240000
vif0.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:6709 errors:0 dropped:0 overruns:0 frame:0
TX packets:30263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1427338 (1.3 MiB) TX bytes:6260848 (5.9 MiB)
xenbr1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:24073 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1313509 (1.2 MiB) TX bytes:0 (0.0 b)
[root@linux ~]# ifconfig
eth1 Link encap:Ethernet HWaddr 00:1D:92:6A:4E:23
inet addr:192.168.1.118 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21d:92ff:fe6a:4e23/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30263 errors:0 dropped:0 overruns:0 frame:0
TX packets:6709 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6260848 (5.9 MiB) TX bytes:1427338 (1.3 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1616 errors:0 dropped:0 overruns:0 frame:0
TX packets:1616 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2594453 (2.4 MiB) TX bytes:2594453 (2.4 MiB)
peth1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:30417 errors:0 dropped:0 overruns:0 frame:0
TX packets:6734 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:6391946 (6.0 MiB) TX bytes:1458518 (1.3 MiB)
Base address:0x8020 Memory:de220000-de240000
vif0.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:6709 errors:0 dropped:0 overruns:0 frame:0
TX packets:30263 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1427338 (1.3 MiB) TX bytes:6260848 (5.9 MiB)
xenbr1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:24073 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1313509 (1.2 MiB) TX bytes:0 (0.0 b)
|
》》而且就是ping通的时候也不是所有WINDOWS 机器都能PING通 REDHAT
ping不通的机器有没有能ping通的时候呢?
丢包率如何?
装一个ntop,或者类似的软件,查一下有没有异常的ARP包阻塞局域网?有时候有病毒会狂发ARP包,造成局域网阻塞。
还可以用arp命令清除所有机器的ARP缓存
ping不通的机器有没有能ping通的时候呢?
丢包率如何?
装一个ntop,或者类似的软件,查一下有没有异常的ARP包阻塞局域网?有时候有病毒会狂发ARP包,造成局域网阻塞。
还可以用arp命令清除所有机器的ARP缓存
|
iptables -L
看看
看看
|
up
|
看看网络中有没有和linux冲突的IP地址
如果存在冲突的IP地址,arp解析的时候可能这次映射到这台机器,那次映射到另外一台机器
linux IP冲突也可以设IP的
如果存在冲突的IP地址,arp解析的时候可能这次映射到这台机器,那次映射到另外一台机器
linux IP冲突也可以设IP的
|
找一下网络内有没有和redhad的mac地址相同的机器.