Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-18-2019, 11:48 AM   #1
LQ Newbie
Registered: Feb 2019
Posts: 1

Rep: Reputation: Disabled
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.
Old 02-19-2019, 02:37 PM   #2
Senior Member
Registered: Apr 2009
Posts: 1,711

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
icmp requset packet send from eth0 and icmp reply packet receive from eth1,why linux ingore it gbcbooks Linux - Networking 5 09-26-2017 07:16 AM
[SOLVED] Why the eth0 send out the packet with tag vlan id 0 wesley_q Linux - Networking 3 03-02-2015 07:44 AM
vlan tagging with bonding not reaching gateway pat_33 Linux - Networking 2 01-31-2011 09:25 AM
Route non-vlan packet to a vlan interface mic.sed Linux - Networking 2 04-23-2010 02:39 AM
How to tell if a packet is reaching TCP? AustinMarton Linux - Kernel 8 05-12-2009 07:22 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration