Jump to content
xisto Community
vizskywalker

How Do I Use Linux To Create A Switch From Multiple Ethernet Ports

Recommended Posts

just verify that the routed service is installed and started on you linux box. It's usually installed but not started on most of Linux distro's.The routed daemon is in charge of routing the packets entering a NIC card to the network at the other NIC card.

Share this post


Link to post
Share on other sites

You just have to do 2 things:

 

1. Give each NIC an IP address (ifconfig).

2. Configure the router's (Linux box) routing tables (route)

 

Use the manual (man) if you need help with those commands.

 

About the IP assingment, you have two options: use 5 IP addresses form your college (one for each NIC), or use 1 IP address from the college in the NIC that connects to their network and 4 private network IP addresses for the other NICs (for example 192.168.1.0/24).

 

In the second case, you sould configure a NAT on the Linux box so those addresses could be translated when connecting to the outside.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.