LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-24-2014, 10:44 AM   #1
5883
Member
 
Registered: Aug 2004
Posts: 173

Rep: Reputation: 0
ping issue with windows 2008 server


This is for embedded system, 2 eth ports, 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, ping always works.

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 !
 
Old 02-24-2014, 10:49 AM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
In the windows world you'll probably find that there are driver differences and TCP implementation differences. Those two things would change the error handling and failover of the ports.

My suggestion is to use LACP and bond the ports.
 
Old 02-24-2014, 05:23 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
I'd assume it is how the various ping and OS's and drivers interact with tcp/ip.

I don't know what the test is supposed to prove even.

Last edited by jefro; 02-24-2014 at 05:25 PM.
 
Old 02-26-2014, 01:26 PM   #4
5883
Member
 
Registered: Aug 2004
Posts: 173

Original Poster
Rep: Reputation: 0
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)


5883@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 ?



Quote:
Originally Posted by jefro View Post
I'd assume it is how the various ping and OS's and drivers interact with tcp/ip.

I don't know what the test is supposed to prove even.

Last edited by 5883; 02-26-2014 at 01:30 PM.
 
Old 02-27-2014, 02:23 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
"internally knows eth1 and eth0 are together"

It does know they are in the same subnet true. Change the subnets out so that they are on different subnets and then try it even if the windows systems have a subnet mask that includes the two.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
issue with samba centos 6.3 to windows 2008 server ssaia Linux - Server 10 04-27-2013 12:36 PM
Mapping Windows Server 2008 R2 AD users to shares mounted on a CentOS server. MeeLee Linux - Server 2 02-19-2013 03:25 AM
Linux DHCP with windows server 2008 active directory server baggins2000 Linux - Server 1 10-10-2011 01:25 PM
I have to make a comparison of of Linux SUSE (Server) versus WIndows Server 2008. spirit777 General 9 06-01-2011 09:40 AM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 04:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration