LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-05-2008, 11:32 AM   #1
rgorby
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 (192.168.1.1, 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.

Code:
# ip route show

192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.106 

10.10.10.0/24 dev eth1  proto kernel  scope link  src 10.10.10.106 

169.254.0.0/16 dev eth0  scope link  metric 1000 

default via 192.168.1.1 dev eth0 

default via 10.10.10.106 dev eth1  scope link  metric 100 

default via 192.168.1.1 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 10.10.10.106. 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.

Thanks
http://ubuntuforums.org/showthread.php?t=819312
 
Old 06-06-2008, 08:11 AM   #2
lsteacke
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 99

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

Code:
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 10.10.10.106 machine.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:14 PM.

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