Embedded Ethernet with PIC18F452, Packet Whacker & RTL8019AS

Discussion in 'Embedded Systems and Microcontrollers' started by splee, Aug 30, 2010.

  1. splee

    Thread Starter New Member

    Aug 30, 2010
    I am doing an experiment with embedded Ethernet using the following:
    - a PC (IP:, MAC: 00:1a:a0:02:92:98)
    - an Embedded Ethernet (IP:, 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 as captured by WireShark):

    What actually happened? I thought packet with non-matching MAC address should be filtered by the RTL8019AS? Can somebody explain?