Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-05-2008, 11:32 AM   #1
LQ Newbie
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
Ubuntu Second Internal Network

Here is my setup

1 Windows Machine

4 Ubuntu 7.10 Machines

I want to have two separate networks, 1 100/Mbps network going thru my wireless router (, which works fine), and one gigabit network going thru my gigabit switch for file transfers. Ubuntu machines are using eth0 for 100/Mpbs network and eth1 for gigabit. I believe I have the routing setup properly.

# ip route show dev eth0  proto kernel  scope link  src dev eth1  proto kernel  scope link  src dev eth0  scope link  metric 1000 

default via dev eth0 

default via dev eth1  scope link  metric 100 

default via dev eth0  metric 100
This is where I am having the problem, I guess I need to route my gigabit traffice thru a computer on the gigabit network, which I chose to be What needs to be installed and setup on this machine to get this to work, I need to route traffic between my machines to use eth1, all machines use a static ip don't know if that would help. I chose to do it this way because I was having trouble getting gigabit speeds having the switch connected to my router and need my laptop to also be able to connect to all machines.

Here is some more information.

Eth0 will connect all machines to the Internet thru a wireless router and allow communication with a XP laptop. Eth1 will be gigabit, won't be connected to the Internet (or router) and will be used for internal traffic. I guess all I need is to be able to route to certain machines using eth1 and and get Internet and route to laptop with eth0.

This is a link to what I posted on the Ubuntu forum, it contains an attachment hopefully showing what I am trying to accomplish.

Old 06-06-2008, 08:11 AM   #2
Registered: Jul 2007
Distribution: Ubuntu
Posts: 99

Rep: Reputation: 16
Generally speaking you will need to make sure that ip forwarding is enabled on For this, use the following command.

echo 1 > /proc/sys/net/ipv4/ip_forward
So eth1 on that box is going to be connected to the gig switch correct? The routing looks to be correct, but make sure its correct on each of the machines for eth1 to route traffic correctly. Also you will need to set a default route on the machine.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i detect my internal modem in ubuntu hoary? akshay_jp Linux - Software 1 09-10-2005 08:19 PM
Routing on my internal network. Milkman00 Linux - Networking 11 09-02-2005 02:30 PM
Iptables-- internal network HopelessLinuxNewbie Linux - Security 3 07-27-2005 08:49 PM
sendmail for internal network and network config questions RedHat123 Linux - Networking 0 04-06-2005 03:15 PM
Bridge or internal network? What should i do? kokolisso Linux - Networking 3 01-13-2002 10:25 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration