You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the code snippet below, the IPv6 packet is built and, although "eth0" is specified in the call to PacketSender::send(), the packet goes out "eth1". Is this a missing feature or a bug? If it is a missing feature, is there any intention of adding it in a near future?
Looking at the documentation I found an example where an EthernetII+IPv6 PDU is used instead of an IPv6 PDU in order to send the packet through a particular interface.
I have not tried the EthernetII+IPv6 PDU alternative as it presents an extra level of trouble (it seems to require that the source and destination MAC addresses to be populated)
As the documentation states explicitly specifying an interface will only work if you're sending a packet that contains a link layer PDU. When you're sending a l3 packet, the kernel will decide which interface to use on its own.
In the code snippet below, the IPv6 packet is built and, although "eth0" is specified in the call to PacketSender::send(), the packet goes out "eth1". Is this a missing feature or a bug? If it is a missing feature, is there any intention of adding it in a near future?
Looking at the documentation I found an example where an EthernetII+IPv6 PDU is used instead of an IPv6 PDU in order to send the packet through a particular interface.
I have not tried the EthernetII+IPv6 PDU alternative as it presents an extra level of trouble (it seems to require that the source and destination MAC addresses to be populated)
OS = Debian Stretch
The text was updated successfully, but these errors were encountered: