RE: ping issue with windows 2008 server ?



Sorry i'm sending another mail. Good news and bad news.

Good news, you guys can ignore my previous e-mails.

when ping from windows 2008,
1. i'm using ubuntu intel desktop with 2 NIC,
    when i unplug and plug ethernet cables, the default routing entry always try to stick with eth0.

Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.50.183.254 0.0.0.0 UG 0 0 0 eth0

e.g. if i have both eth0 and eth1, default is using eth0.
if i unplug eth0, default is eth1.
Then i plug back eth0, default changes to eth0.
Then i unplug eth1, default is eth0.
When i plug back eth1, the default is still eth0.

i'm happy with this.


2. Now the bad news i'm looking for help.
in the linux arm embedded board with 2 eth ports, default is stick with eth1, NOT eth0.

Both version are 0.9.4.0.

My question is, how to make it stick with eth0, not eth1 ?

Thanks again for your help !




From: ningji hotmail com
To: networkmanager-list gnome org
Subject: RE: ping issue with windows 2008 server ?
Date: Wed, 26 Feb 2014 19:59:36 +0000

ok, this is what i found so far, can some one give some suggestions next ?

1. if i open 2 dos windows in win7, ping 2 eth in the linux, both works

ping 10.50.177.137 (eth0)
ping 10.50.177.139 (eth1)


ningji g64nnq1:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.50.183.254 0.0.0.0 UG 0 0 0 eth0
10.50.176.0 0.0.0.0 255.255.248.0 U 1 0 0 eth0
10.50.176.0 0.0.0.0 255.255.248.0 U 1 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth1

from wireshark running in linux,
you can see icmp requests and replies in eth0.
But NONE for eth1.
All ping packets goes to eth0.

so i assume linux internally knows eth1 and eth0 are together, as long as you ping eth1, it just pings eth0 instead. 


2. However, if you do the same thing in windows 2008,
the ping packets will go to eth1 if you are pinging eth1.
Now the routing table is not right.

If i replace the default routing entry with eth1, now ping works for eth1.


ok, how do i fix this in linux without changing routing table then ?
how the ping to eth1 actually goes to eth0 for win7 case ?
Is this related to arp table ? i don't know much about ARP.

MS support said "Windows networking complies with majority of Internet standards including ping."

Thanks for your help !


From: ningji hotmail com
To: networkmanager-list gnome org
Subject: ping issue with windows 2008 server ?
Date: Fri, 21 Feb 2014 18:50:06 +0000

Again this is for embedded system, freescale ARM processor, kernel 3.0.35-cm-fx6-4,
fs is using ubuntu 12.04。NetworkManager version is 0.9.4.

So we have 2 systems for testing,
1. linux embedded system has 2 Gigabit ethernet ports
2. windows PC, we open 2 Dos windows keep on pinging eht0 and eth1. 
                  ping  -t  10.50.1.1
                  ping  -t  10.50.1.2
At the same time, we unplug eth ports in the linux side randomly and plug back.

Now if this windows pc is windows 7, everything is fine.

Now if it's windows 8 server, or windows xp, ping will fail.
1. you unplug eth0 in linux, "ping -t 10.50.1.1" will stop
2. plug back eth0, "ping -t 10.50.1.1" will work, but 
    but "ping -t 10.50.1.2" stops, even though ethernet cable is still there.

Any suggestions pls ?

Thanks !




_______________________________________________ networkmanager-list mailing list networkmanager-list gnome org https://mail.gnome.org/mailman/listinfo/networkmanager-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]