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> &lt;<a href="mailto:guillermo.fedora@gmail.com">guillermo.fedora@gmail.com</a>&gt; 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 &lt;<a href="mailto:jeff@bubble.org">jeff@bubble.org</a>&gt; wrote:<br>
&gt;<br>&gt;<br>&gt; Manoj Kumar wrote:<br>&gt; &gt; Hello Everyone,<br>&gt; &gt;<br>&gt; &gt; Wish you all a very happy new year.<br>&gt; &gt;<br>&gt; &gt; I&#39;am trying to test a VLAN based network. Hence, i wanted to know if it
<br>&gt; &gt; possible to configure a Linux Machine with multiple NIC card (i.e.,<br>&gt; &gt; ports)<br>&gt; &gt; to be configured to behave as a switch. If it possible then how to do the<br>&gt; &gt; same any know resource where i coudl get some material on the same.
<br>&gt; &gt;<br>&gt; &gt; Secondly, if it possible to configure it as a switch then is it<br>&gt; &gt; possible to<br>&gt; &gt; configure as VLAN based switch. And also know resources for the same.<br>&gt; &gt;<br>&gt; &gt; Thank you,
<br>&gt; &gt; regards,<br>&gt; &gt; manoj<br>&gt; &gt;<br>&gt;<br>&gt; VLANs? you want to do Dot1Q? and use multiple virtual interfaces (ie<br>&gt; eth0.2 eth0.3 etc)?&nbsp;&nbsp;If so look at vconfig.&nbsp;&nbsp;Then just assigned<br>&gt; different ip addresses (and network numbers) to each physical (or
<br>&gt; virtual) nic.<br>&gt;<br>&gt; Also you will need to enable IP forwarding as I believe it is off by<br>&gt; default, issue the command:<br>&gt;<br>&gt; *echo 1 &gt; /proc/sys/net/ipv4/ip_forward<br>&gt;<br>sorry,<br>
but that isn&#39;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>&quot;Linux IS user friendly... It&#39;s just selective about who its friends are.&quot;
<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>