Re: How to configure linux box as vlan based switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I feel thats true.

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.

THe reply posted here stats how to enable VLAN tagging and IP forowarding but how to enable L2 switching on linux machine.

Thank you
Manoj

On 1/3/07, Guillermo Garron <guillermo.fedora@xxxxxxxxx> wrote:
On 1/3/07, Jeffrey Ross <jeff@xxxxxxxxxx> wrote:
>
>
> Manoj Kumar wrote:
> > Hello Everyone,
> >
> > Wish you all a very happy new year.
> >
> > I'am trying to test a VLAN based network. Hence, i wanted to know if it
> > possible to configure a Linux Machine with multiple NIC card (i.e.,
> > ports)
> > to be configured to behave as a switch. If it possible then how to do the
> > same any know resource where i coudl get some material on the same.
> >
> > Secondly, if it possible to configure it as a switch then is it
> > possible to
> > configure as VLAN based switch. And also know resources for the same.
> >
> > Thank you,
> > regards,
> > manoj
> >
>
> VLANs? you want to do Dot1Q? and use multiple virtual interfaces (ie
> eth0.2 eth0.3 etc)?  If so look at vconfig.  Then just assigned
> different ip addresses (and network numbers) to each physical (or
> virtual) nic.
>
> Also you will need to enable IP forwarding as I believe it is off by
> default, issue the command:
>
> *echo 1 > /proc/sys/net/ipv4/ip_forward
>
sorry,
but that isn't going to work as a router and not as a Switch?, it will
worked based on IPs and the
route table of the linux box. Right?
a Switch worked based on MAC addresses, and a VLAN switch even more.
as the 802.1Q works on Eth Header, so on MAC address (Layer two).

Correct me if I am wrong please.

--
Guillermo Garron
"Linux IS user friendly... It's just selective about who its friends are."
(Using FC6, CentOS4.4 and Ubuntu 6.06)
http://www.go2linux.org

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux