Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

why pinging works on hub but not on switch

Status
Not open for further replies.

madokaaukawa

Newbie level 6
Joined
Mar 11, 2010
Messages
13
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,283
Location
Toronto
Activity points
1,370
our prototype can only pinging through hub. it wont work on switch. we use the same network cable, same condition. when pinging through hub, it works very well; when connect it to the switch directly, it stops pinging. Why? What is the potential problem?
Please anyone has an idea.

Thanks in advance!
 

Can you give a little more background info? By prototype do you refer to the ethernet interface as well? Could be something to do with the MAC address and ARP. A hub broadcast packets on all ports, while a switch only routes packets to a port where a particular MAC address is known to exist. ARP is used to correlate an IP Address, assigned by the user to a MAC Address permanently assigned to an interface. Where did you acquire the MAC Address for the prototype?
 

When doing ethernet related development, you should be able to use respective tools, e.g. wireshark, to debug the communication.
ICMP echo request ("Ping") needs to be preceeded by determining the peer's MAC address trough ARP (performed by the TCP/IP stack
automatically), you should trace the complete action to see, where it fails.
 

Hi,

It could be a problem with Auto-MDIX support in your PHY and/or transformer. Have you tried both crossover and straight through cables?

You might also want to check if autonegotiation is working properly and optionally try to configure all of your hardware manually.

Regards,
Chris
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top