LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to fix:UDP packet send through vlan(eth0.4092), reaching at both eth0 and eth0.4092 (https://www.linuxquestions.org/questions/linux-networking-3/how-to-fix-udp-packet-send-through-vlan-eth0-4092-reaching-at-both-eth0-and-eth0-4092-a-4175648556/)

arjuncr 02-18-2019 11:48 AM

How to fix:UDP packet send through vlan(eth0.4092), reaching at both eth0 and eth0.4092
 
I tried to send snmp UDP packet through vlan interface by using "setsockopt bind to interface", but in client side when i capture packet using wireshark i can capture the packet both in eth0.4092 and eth0.

expected:The packet should reach at vlan interface.

nini09 02-19-2019 02:37 PM

The wireshark behavior is different from real TCP/IP stack. Does socket binded with eth0 received UDP packet you send over VLAN interface?


All times are GMT -5. The time now is 11:54 AM.