Networking Forums

Networking Forums > Computer Networking > Linux Networking > Re: Routing between 2 NICs

Reply
Thread Tools Display Modes

Re: Routing between 2 NICs

 
 
Tauno Voipio
Guest
Posts: n/a

 
      02-09-2010, 05:35 PM
David Schwartz wrote:
> On Feb 9, 6:35 am, S Vertigan <steve-n...@vertigan.wattle.id.au>
> wrote:
>
>> I have a fedora server with eth0 on a 178.18.10.0/24 local network with
>> an internet gateway of 172.18.10.254 and eth1 is on another local network
>> of 192.168.242.0/24. All traffic from the second network is NAT'd and
>> the PCs have 192.168.242.110 (eth1's IP addr) as their gateway. These
>> machines can ping addresses on the internet but they can't reach any IP's
>> on eth0's network except for eth0 (172.18.10.2) itself.

>
> Does their gateway know how to reach those machines?
>
>> I assume there's a tweak with route would fix this but I've tried
>> route add -net 172.18.10.0 eth0
>> but that route was already in there. I only need one host (172.18.10.1)
>> to be reachable from the other network so maybe something like
>> route add -host 172.18.10.1 gw 192.168.242.110
>> except that would surely be wrong from the servers perspective. Any ideas?

>
> Troubleshoot. "I can't ping" doesn't narrow down the problem. Do the
> ping packets go out? What machine are they addressed to? Do they get
> to the destination machine? Where does the destination machine send
> its ping replies? Does that machine know how to reach the original
> source? And so on.
>
> DS



You have to tweak the NAT rules so that the destination to
172.18.10.0/24 is excepted from the NAT.

(I hope that the 178.18.10.0/24 address above is a typo).

--

Tauno Voipio
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing with Multiple NICs. Brian Patterson Windows Networking 4 04-22-2008 03:32 PM
Routing problems with two public NICs Oscar Gunnarsson Windows Networking 2 01-16-2008 09:55 PM
routing behaviour with two nics on same subnet spip_yeah@yahoo.com Linux Networking 5 11-12-2006 09:49 PM
2 NICs and routing bucrepus Windows Networking 5 08-16-2004 10:32 PM
Linux router w/3 nics - need help with routing bob Linux Networking 2 11-01-2003 11:39 PM



1 2 3 4 5 6 7 8 9 10 11