Register a domain and help support LQ
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 12-02-2003, 09:41 PM   #1
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 91

Rep: Reputation: 15
Network routing of Internet

Hi all,

Friends cable connection. two nic cards one with modem connected to it so is setup via DHCP. Gets assigned dynamically

2nd nic set with static 192.*.*.* connected to switch with other machine, again with static 192's attached. Internal networking is fine but cant get get the two nics in the Linux machine (Redhat 9.0) to route internal. Internet works on this machine fine


Old 12-02-2003, 09:45 PM   #2
Registered: Jul 2003
Distribution: debian
Posts: 40

Rep: Reputation: 15
Have you setup the routing tables?
Old 12-03-2003, 12:49 AM   #3
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
I think what you're trying to say is that the two interfaces won't route packets to each other? You need to have ip_forward enabled in the kernel to act as a router. A better approach (that wouldn't allow source routing) would be to use iptables to NAT the interfaces.
Old 12-03-2003, 12:18 PM   #4
Registered: Jan 2003
Distribution: Redhat 9, Fedora Core 1, Suse 8
Posts: 188

Rep: Reputation: 30
I agree with Chort. here:


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
2 network cards, 2 network connections - routing problem tvojvodi Linux - Networking 4 02-24-2004 03:26 PM
Internet Connection Routing? MythX Linux - Networking 1 10-20-2003 09:00 PM
Routing to Internet dunmarie Linux - Networking 6 09-18-2003 06:19 AM
Internet routing broke CurlyMo Linux - Networking 5 04-07-2003 03:55 PM
Internet, routing and bridge Gorchi Linux - Networking 3 03-01-2003 09:29 PM

All times are GMT -5. The time now is 07:33 AM.

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