I feel thats true. <br><br>I want the linux machine to behave as switch. forwarding the frames at layer2 across two ports. but with filtering and forwarding based on VLAN id. <br><br>THe reply posted here stats how to enable VLAN tagging and IP forowarding but how to enable L2 switching on linux machine. 
<br><br>Thank you<br>Manoj<br><br><div><span class="gmail_quote">On 1/3/07, <b class="gmail_sendername">Guillermo Garron</b> <<a href="mailto:guillermo.fedora@gmail.com">guillermo.fedora@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 1/3/07, Jeffrey Ross <<a href="mailto:jeff@bubble.org">jeff@bubble.org</a>> wrote:<br>
><br>><br>> Manoj Kumar wrote:<br>> > Hello Everyone,<br>> ><br>> > Wish you all a very happy new year.<br>> ><br>> > I'am trying to test a VLAN based network. Hence, i wanted to know if it
<br>> > possible to configure a Linux Machine with multiple NIC card (i.e.,<br>> > ports)<br>> > to be configured to behave as a switch. If it possible then how to do the<br>> > same any know resource where i coudl get some material on the same.
<br>> ><br>> > Secondly, if it possible to configure it as a switch then is it<br>> > possible to<br>> > configure as VLAN based switch. And also know resources for the same.<br>> ><br>> > Thank you,
<br>> > regards,<br>> > manoj<br>> ><br>><br>> VLANs? you want to do Dot1Q? and use multiple virtual interfaces (ie<br>> eth0.2 eth0.3 etc)?  If so look at vconfig.  Then just assigned<br>> different ip addresses (and network numbers) to each physical (or
<br>> virtual) nic.<br>><br>> Also you will need to enable IP forwarding as I believe it is off by<br>> default, issue the command:<br>><br>> *echo 1 > /proc/sys/net/ipv4/ip_forward<br>><br>sorry,<br>
but that isn't going to work as a router and not as a Switch?, it will<br>worked based on IPs and the<br>route table of the linux box. Right?<br>a Switch worked based on MAC addresses, and a VLAN switch even more.<br>
as the 802.1Q works on Eth Header, so on MAC address (Layer two).<br><br>Correct me if I am wrong please.<br><br>--<br>Guillermo Garron<br>"Linux IS user friendly... It's just selective about who its friends are."
<br>(Using FC6, CentOS4.4 and Ubuntu 6.06)<br><a href="http://www.go2linux.org">http://www.go2linux.org</a><br><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: 
<a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote></div><br>