All of lore.kernel.org
 help / color / mirror / Atom feed
* Removing VLAN tag from outgoing broadcasts
@ 2011-10-17 19:16 Michael Robinson
  2011-10-19 13:20 ` Gáspár Lajos
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Robinson @ 2011-10-17 19:16 UTC (permalink / raw)
  To: netfilter

I've set up a Linux (Ubuntu 10.04) server with multiple VLANs.
Routing is enabled for all interfaces.  The 'eth2' interface is
basically used as a VLAN trunk:

eth2      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.190.2  Bcast:192.168.190.255  Mask:255.255.255.0
          inet6 addr: fe80::210:18ff:fe0a:ac42/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9247 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10952 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:955923 (955.9 KB)  TX bytes:1535021 (1.5 MB)
          Interrupt:17

eth2.2049 Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.101.1  Bcast:192.168.101.255  Mask:255.255.255.0
          inet6 addr: fe80::210:18ff:fe0a:ac42/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3853 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4721 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:246915 (246.9 KB)  TX bytes:504861 (504.8 KB)

eth2.2050 Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.102.1  Bcast:192.168.102.255  Mask:255.255.255.0
          inet6 addr: fe80::210:18ff:fe0a:ac42/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4437 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5311 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:463381 (463.3 KB)  TX bytes:730316 (730.3 KB)


The setup appears to work fine.  Now, for reasons beyond my control, I
must change the behavior so all outgoing broadcast/multicast packets
are sent untagged (regardless of their source).  I'm hoping that this
would be possible with ebtables, but not being very familiar with it
yet I was hoping for some guidance.  Is this possible?

Thanks,
-Mike

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-10-19 15:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-17 19:16 Removing VLAN tag from outgoing broadcasts Michael Robinson
2011-10-19 13:20 ` Gáspár Lajos
2011-10-19 13:29   ` Michael Robinson
2011-10-19 14:15     ` Gáspár Lajos
2011-10-19 14:46       ` Michael Robinson
2011-10-19 15:23         ` Gáspár Lajos
2011-10-19 15:34           ` Michael Robinson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.