iThunder has asked for the wisdom of the Perl Monks concerning the following question:
Since Net::Frame has been replaced Net::Packet, how can we set the ethernet header information with this new module? In Net::packet, we can set it by using module Net::Packet::ETH and then when constructing the frame, it can be called in Net::Packet::Frame. But how can we do it in Net::Frame? I have been trying to set Src/DST MACs using Net::Frame::Layer::ETH but so far could not find a way to "push" those values when constructing frame. Net::Frame::Simple doesn't seem to take ethernet as "layers" value.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Setting MAC addresses with Net::Frame::Simple
by beech (Parson) on Nov 19, 2016 at 07:44 UTC | |
by iThunder (Beadle) on Nov 19, 2016 at 20:19 UTC | |
by beech (Parson) on Nov 19, 2016 at 20:32 UTC | |
by iThunder (Beadle) on Nov 19, 2016 at 20:56 UTC | |
by VinsWorldcom (Prior) on Nov 19, 2016 at 21:45 UTC | |
| |
by iThunder (Beadle) on Nov 19, 2016 at 21:39 UTC |