Help with setting up a transparent ethernet bridge between different 802.1q interfaces Slackware64 14.2
Hi all,
Have a query towards setting up Slackware64 14.2 as a transparent ethernet bridge.
I have built this box with 3 interfaces to sniff packets for troubleshooting purposes.
eth0 is the management interface with an ip address configured so I can ssh into it.
eth1 connects to vlan 1200 with no ip address configured
eth2 connects to vlan 1300 with no ip address configured
vlan 1200 connects to eth1 via a switchport configured as a 802.1q trunk
vlan 1300 connects to eth2 via a different switchport also configured as a 802.1q trunk
The subnet is a simple 192.168.1.0/30 with vlan interfaces setup as
vlan1200 is 192.168.1.1
vlan1300 is 192.168.1.2
The interfaces eth1 and eth2 on the Slackware box plays nice when using brctl to create a bridge br0 for the two interfaces.
My search for information is always coming up with the setting up of ip addresses on both eth1 and eth2... which I'm trying to avoid.
I'm searching for the information towards how to strip/add on the fly the 802.1q tags coming in/out of the individual interfaces so I can sniff the ip packets passing through the bridge br0.
I would really appreciate it if you could please point me to a howto towards setting this up in Slackware?
Thanks a million in advance. :-)
Last edited by yvesjv; 05-13-2018 at 03:52 PM.
|