hi, But imagine that the idea is using two machines PC1 and PC2 with linux and support for VLan, would be the configuration ok? How can I get the access port support instead the trunk port?
Then If the configuration is ok, If I put PC2 eth0.20 and the bridge br0 with eth1.20 and eth0.10, It is suposed that I can not see PC1 from PC2 because they are in diferent vlan´s,but I can. Why? Thanks again --- Leonard Ye <[EMAIL PROTECTED]> escribió: > in short, your teacher is wrong. > > Here is the longer answer. The vlan support in > Linux is similar to > "trunk port" concept in switch configuration. That > is, an VLAN > interface in Linux will only pick up and process > packets that has > already been VLAN-tagged. > > As in your case, windows machine will only generate > normal ethernet > packet, and it can only be picked up by non-vlan > ethernet interface, > thus, your bridging between eth0 and eth1 will work > while bridging > between eth0.10 and eth1.10 won't. > > I don't quite understand why you want to do bridging > between VLANs while > the source and destination machine can only > generate/accept non-vlan > traffic. Maybe you just want to try out this > particular VLAN+bridge > combination. > > Regards, > Leonard Ye > > On Wed, 2003-06-25 at 20:31, Jose Luis Abuelo Sebio > wrote: > > Hello everyone: > > > > I am trying to set up a easy configuration using > a > > bridge with Vlan Support, but I am having a few > > problems with it and I don´t know why. Let´s see > if > > you can help me out here. > > > > Here I show you the configuration > > > > > > ------- > > - PC1 - > > ------- > > - eth0 192.168.1.127 > > - > > - > > - > > - eth0 (No IP address) (eth0.10 for the vlan) > > ------- > > - br0 - > > ------- > > - eth1 (No IP address) (eth1.10 for the vlan) > > - > > - > > - eth0 192.168.1.129 > > ------- > > - PC2 - > > ------- > > > > > > What I am trying to get here is set a brige > using > > vlans. > > > > I am using Bering rc4 with bridge support and > vlan > > support. First I set the interfaces in the bridge > Br0 > > with no IP address > > > > ifconfig eth0 0.0.0.0 up > > ifconfig eth1 0.0.0.0 up > > > > then I create the Vlans, eth0 and eth1 will > belong > > to vlan10 > > vconfig add eth0 10 > > vconfig add eth1 10 > > > > So with this if I go to /proc/net/vlan > > I have the interfaces eth0.10 and eth1.10 with no > IP > > address as we want for the bridge right? > > > > I set eth0.10 and eth1.10 up with ifconfig > > > > ifconfig eth0.10 up > > ifconfig eth1.10 up > > > > > > now I create the bridge > > > > brctl addbr br0 > > brctl stp br0 off > > > > so now I add the logical interfaces eth0.10 and > > eth1.10 to the bridge > > > > brctl addif br0 eth0.10 > > brctl addif br0 eth1.10 > > > > now I have what I think I need to et all the > > configuration to work, right? > > so I set the interface br0 up > > ifconfig br0 up > > > > As I think and as I readed in the tutorials and > > guides I found in the internet, this configuration > > should work. I should be able to ping from PC1 to > PC2 > > because they are in the same vlan (PC1 and PC2 are > > using windows98 because my teacher says that the > hosts > > that are not bridges dont have to support Vlan, so > we > > can work with the normal interfaces) > > > > The problem is that, this doesn´t work, and I > don´t > > now why I can not get a response for a ping to PC1 > > from PC2 or from PC2 to PC1. > > > > I tryed to do this not using vlans, with the > normal > > physical interfaces in the bridge eth0 and eth1, > > instead eth0.10 and eth1.10, and of course it > works. > > But what I am trying to set here is a bridge using > > vlans, them if I set eth0 in vlan 10 and eth1 in > vlan > > 20 because the logical interfaces are not in the > > bridge it works when it shouldn´t. > > > > How can I get this configuration and this Idea > to > > work? > > > > CAn any of you tell me why it doesn´t work? > > > > In the bridge, Do I have to use the the logical > > (eth0.10 and eth1.10) or the physical interfaces > (eth0 > > and eth1)? > > > > Do I need PC1 and PC2 to support VLAN and get in > PC1 > > eth0.10 with an IP addres and the same in the PC2? > > > > > > Can it be because with this I am working with > trunck > > ports when I should work with acces ports? If so, > how > > can I set the bridge to work with access ports. > > > > I will be really pleased if you can help me here, > > because I need it for my final degree project and > time > > is running out. > > > > Thank you for your time, I apreciate it. > > > > Jose Luis Abuelo Sebio > > > > > ___________________________________________________ > > Yahoo! Sorteos - http://loteria.yahoo.es > > Juega a la Lotería Primitiva sin salir de casa > > _______________________________________________ > > VLAN mailing list - [EMAIL PROTECTED] > > http://www.WANfear.com/mailman/listinfo/vlan > > VLAN Page: > http://scry.wanfear.com/~greear/vlan.html > -- > Leonard Ye <[EMAIL PROTECTED]> > Ant in Research & Development > Advanced Network Technology Laboratories Pte Ltd > Tel: +65 68586789 Fax: +65 64874567 > WWW: http://www.antlabs.com > > _______________________________________________ > VLAN mailing list - [EMAIL PROTECTED] > http://www.WANfear.com/mailman/listinfo/vlan > VLAN Page: http://scry.wanfear.com/~greear/vlan.html ___________________________________________________ Yahoo! Sorteos - http://loteria.yahoo.es Juega a la Lotería Primitiva sin salir de casa ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html