Removing VLAN tag from outgoing broadcasts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux