I have the problem only when I tried to ping "192.168.104.1". Base on the tcpdump, it is ping from eth1.32 IP Addr but using the eth0 MAC Addr. I add the static route to "192.168.104.1" through eth1.32. However, it works fine when I ping to "169.254.3.2" and it is using the Eth1.32 MAC Addr and IP Addr.
Any idea why is that?
(log from centos)
Code: Select all
[centos]$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.3.17.105 netmask 255.255.254.0 broadcast 10.3.17.255
inet6 fe80::50cf:97ff:fe8c:83ab prefixlen 64 scopeid 0x20<link>
ether 52:cf:97:8c:83:ab txqueuelen 1000 (Ethernet)
RX packets 27802749 bytes 6928045740 (6.4 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 14425788 bytes 119155090362 (110.9 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::acd1:20ff:fe96:fd52 prefixlen 64 scopeid 0x20<link>
ether ae:d1:20:96:fd:52 txqueuelen 1000 (Ethernet)
RX packets 241490 bytes 66585249 (63.5 MiB)
RX errors 0 dropped 16 overruns 0 frame 0
TX packets 244273 bytes 42754856 (40.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1.2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 169.254.62.150 netmask 255.255.224.0 broadcast 169.254.63.255
inet6 fe80::acd1:20ff:fe96:fd52 prefixlen 64 scopeid 0x20<link>
ether ae:d1:20:96:fd:52 txqueuelen 1000 (Ethernet)
RX packets 104445 bytes 32361049 (30.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 119696 bytes 21247468 (20.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1.32: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 169.254.3.151 netmask 255.255.255.0 broadcast 169.254.3.255
inet6 fe80::acd1:20ff:fe96:fd52 prefixlen 64 scopeid 0x20<link>
ether ae:d1:20:96:fd:52 txqueuelen 1000 (Ethernet)
RX packets 1267 bytes 72605 (70.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12251 bytes 2600970 (2.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 11182120 bytes 114812759381 (106.9 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 11182120 bytes 114812759381 (106.9 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[centos]$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.3.16.1 0.0.0.0 UG 0 0 0 eth0
10.3.16.0 0.0.0.0 255.255.254.0 U 0 0 0 eth0
169.254.3.0 0.0.0.0 255.255.255.0 U 401 0 0 eth1.32
169.254.32.0 0.0.0.0 255.255.224.0 U 400 0 0 eth1.2
192.168.104.1 169.254.3.2 255.255.255.255 UGH 401 0 0 eth1.32
[centos]$ traceroute 169.254.3.2
traceroute to 169.254.3.2 (169.254.3.2), 30 hops max, 60 byte packets
1 169.254.3.2 (169.254.3.2) 0.715 ms 0.812 ms 0.839 ms
[centos]$ traceroute 192.168.104.1
traceroute to 192.168.104.1 (192.168.104.1), 30 hops max, 60 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *