CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Embedded Ethernet - PIC18F452, Packet Whacker, CCS C

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
splee



Joined: 30 Aug 2010
Posts: 1

View user's profile Send private message

Embedded Ethernet - PIC18F452, Packet Whacker, CCS C
PostPosted: Mon Aug 30, 2010 2:53 am     Reply with quote

I am doing an experiment with embedded Ethernet using the following:
- a PC (IP: 192.168.0.100, MAC: 00:1a:a0:02:92:98)
- an Embedded Ethernet (IP: 192.168.0.196, MAC: 30:30:30:30:39:36)with PIC18F452, Packet Whacker, RTL8019AS with CCS C as compiler)

At first, the PC sends a UDP "ECHO" request (dest. port 07, src. port 07) to the Packet Whacker. When the Whacker receives the packet, it swaps the source and destination IP & MAC address (as usual), but I changed the dest. MAC address a little bit to 00:1a:a0:02:92:00, and then send the packet. I would like to see if the PC still receive the "ECHO" reply packet even though the dest. MAC address has changed.

The fact is, the PC still receives the reply packet (see link below):
http://cid-93ca79cd8afe42d7.photos.live.com/self.aspx/New%20album/UDP.bmp

What actually happened? I thought packet with non-matching MAC address should be filtered by the RTL8019AS? Can somebody explain?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group