Re: Bridge between 2 different vlans
Bart De Schuymer <[email protected]>
| Newsgroups | gmane.linux.network.bridge.ebtables.devel |
|---|---|
| Message-ID | <[email protected]> |
Op vr, 18-02-2005 te 09:35 +0200, schreef Ramzi Maalouf: > +--------------------+ trunk eth0 +----------------+ > eth1 trunk +--------------------+ > > | Vlan Switch 1 |-------------------------------| FW/bridge > |-----------------------------------| Vlan Switch 2 | > > +--------------------+ +----------------+ > +--------------------+ > > | vlan 2 > | vlan 3 > > | > | > > | > | > > PC1 > PC2 Please send mail in plain text format, html is for websites. > I want to have PC1 and PC2 on the same subnet, that is, connected > through the bridge. > > My configuration is as follows: > vconfig add eth0 2 > vconfig add eth1 3 > brctl addbr br > brctl addif br eth0.2 > brctl addif br eth1.3 > ifconfig eth0.2 0.0.0.0 up > ifconfig eth1.3 0.0.0.0 up > ifconfig br up > The setup still does not work. However, if I use vlan 2 instead of 3 > in Switch 2, and replace 3 by 2 in the above configuration, the setup > works perfectly, as if the vlan tag is not stripped. Please use tcpdump and/or ebtables logging to see what exactly is happening (-i eth0 or -i eth1 will probably give most clues). It's been a while since I played with vlan, but IIRC something like your setup should work. cheers, Bart ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click