in reply to Building a UDP Ethernet header
Disclaimer: my network-fu is very limited (read: google).
It seems to me that the MAC fe:ff:ff:ff:ff:ff must be something special, like a dummy MAC assigned to (virtual) interfaces. It is the last address of such used for Ipv4 Address Holder according to iana - ethernet numbers. It must be the broadcast address (see here)
If i understand it correctly the MAC part, in the ethernet frame, is modified at each net device the UDP packet traverse. The MAC is normally added by the driver at the source(?).
Anyway you might be interested in Re: transmit udp packets by VinsWorldcom that for sure has more experience than me. The post suggests Net::Pcap and Net::Filter Net::Frame as base resource.
L*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Building a UDP Ethernet header
by TorNZZ (Novice) on Sep 18, 2017 at 10:57 UTC | |
by VinsWorldcom (Prior) on Sep 18, 2017 at 11:46 UTC | |
by TorNZZ (Novice) on Sep 18, 2017 at 12:56 UTC | |
by VinsWorldcom (Prior) on Sep 18, 2017 at 14:08 UTC | |
|