Hi:
环境是这样的,一台机器每个网口设置一个ip地址,然后给其中一个再设置一个地址,结果最后设置的这个ip不能ping通同网段、同交换机的其他网卡。而该网卡的其他ip则可以ping通,请帮忙看看。
出问题的机器, 出问题的ip: 172.16.65.91:
该网卡绑定ip信息
eth1: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 90:e2:ba:1c:52:e9 brd ff:ff:ff:ff:ff:ff
inet 172.16.65.78/24 scope global eth1
inet 172.16.65.91/24 scope global secondary eth1
inet 172.16.65.80/24 scope global secondary eth1
inet6 fe80::92e2:baff:fe1c:52e9/64 scope link
发送free arp
[root@77 ~]# arping -c 1 -U -I eth1 -s 172.16.65.91 -b 172.16.65.91
ARPING 172.16.65.91 from 172.16.65.91 eth1
Sent 1 probes (1 broadcast(s))
Received 0 response(s)
[root@77 ~]# arping -c 1 -U -I eth1 -s 172.16.65.91 -b 172.16.65.255
ARPING 172.16.65.255 from 172.16.65.91 eth1
Sent 1 probes (1 broadcast(s))
Received 0 response(s)
route 信息:
[root@77 ~]# ip route
172.16.65.0 dev eth1 proto kernel scope link src 172.16.65.78
172.16.65.0/24 dev eth2 proto kernel scope link src 172.16.65.79
172.16.65.0/24 dev eth1 proto kernel scope link src 172.16.65.78
172.16.65.0/24 dev eth0 proto kernel scope link src 172.16.65.77
169.254.0.0/16 dev eth0 scope link metric 1002
169.254.0.0/16 dev eth1 scope link metric 1003
169.254.0.0/16 dev eth2 scope link metric 1004
default via 172.16.65.1 dev eth1 proto none
[root@77 ~]# ip route show table neteth1
172.16.65.0/24 dev eth1 proto kernel scope link
default via 172.16.65.1 dev eth1 proto none
客户端机器,
[root@81 ~]# ip n | grep 91
172.16.65.91 dev eth0 lladdr 90:e2:ba:1c:52:e9 STALE
与服务端的mac地址是一样的,
但是无法ping通:
[root@81 ~]# ping 172.16.65.91
PING 172.16.65.91 (172.16.65.91) 56(84) bytes of data.
^[^C
--- 172.16.65.91 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1002ms
防火墙和selinux我确认是没有启动的,而且在服务段我ping出错ip172.16.65.91是可以ping通的,但ping不通其他的机器,结果如下,
[root@77 ~]# ping 172.16.65.91
PING 172.16.65.91 (172.16.65.91) 56(84) bytes of data.
64 bytes from 172.16.65.91: icmp_seq=1 ttl=64 time=0.011 ms
^[^C
--- 172.16.65.91 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 887ms
rtt min/avg/max/mdev = 0.011/0.011/0.011/0.000 ms
linux 某个网口不能ping同其他机器
-
- 帖子: 19
- 注册时间: 2010-08-08 15:41
- lhw828
- 帖子: 2797
- 注册时间: 2007-03-15 16:58
- 来自: 湖北武汉
- 联系:
Re: linux 某个网口不能ping同其他机器
防火墙问题
.
Linux下安装QQ的各种办法——2017年3月7日更新——QQ8.8
Linux/Ubuntu学习笔记——用前人的经验,让你快速进入Linux的怀抱
科学上网的姿势,无痛穿越长城
Ubuntu交流QQ群:16308991(500人群)和10993386(500人群)疯狂招人!大家速来!
.