Recieving Data via switch

Recieving Data via switch

Postby weird_dave » Wed Jan 13, 2010 11:20 am

I've setup an FPGA to recieve ethernet packets and look at the IP address of the sender, if it matches my PC, increase a display counter.

I only see the counter increase when I send broadcast messages, for example, ping 191.9.255.255 from my pc 191.9.50.7 mask 255.255.0.0

If I try to ping an unused IP address on the network, the request never reaches my FPGA, the network switch doesn't try to send it there.

Any idea how I can resolve this?
weird_dave
 
Posts: 6
Joined: Wed Jan 13, 2010 10:58 am

Postby weird_dave » Wed Jan 13, 2010 2:06 pm

Seems I am getting ARP requests at the FPGA from my ping, didn't see it because the target IP address occupies a different part of the packet for ARP requests....
so now I have to implement ARP before I get anything else done.
weird_dave
 
Posts: 6
Joined: Wed Jan 13, 2010 10:58 am

Postby Case23 » Wed Jan 13, 2010 4:36 pm

or you use the arp command on your pc to make a static arp entry
Case23
 
Posts: 75
Joined: Wed May 19, 2004 9:41 am

Postby weird_dave » Thu Jan 14, 2010 8:23 am

Well, I'm only just figuring out how everything fits together, so I didn't think of that.
Still, it needs to be implemented anyway so it's no huge loss. Bit of a pain that I've "tidied up the code" and it no longer works :D
weird_dave
 
Posts: 6
Joined: Wed Jan 13, 2010 10:58 am


Return to Ethernet