Routing question...

jim jim at weathercom.com
Wed Mar 19 20:09:23 CST 2003


Make sure ip forwarding is enabled on the Linux box with 2 nics.  Do:

cat /proc/sys/net/ipv4/ip_forward

and see if it prints a 0 or 1.  If it's 0, that box is not forwarding packets, 
so do:

echo 1 > /proc/sys/net/ipv4/ip_forward

and see if that fixes it.

Jim

On Wednesday 19 March 2003 01:47 pm, Rusty Brown wrote:
> Hey gurus...I have an issue I can't figure out, and KNOW it has to be
> something very easy...just missing it.  Hope someone can (gently) tell
> me what I'm missing...
>
> Here's the "lab" setup. 2 linux boxes connected going thru a Cisco
> router to get "outside". One linux box has 2 nics, the other 1. The 2
> nic box is routing (/proc/sys/net/ipv4/ip_forward = 1) for the single
> nic box.
>
> Addresses are:
> Cisco router 172.17.10.1
>
> Linux router 172.17.10.2 and 172.17.11.1 Default gateway set to
> 172.17.10.1
>
> Linux box 172.17.11.2 default gateway 172.17.11.1
>
> ALL 24 bit SN masks
>
> The linux router can get out to the world, the linux box can ping both
> sides of the linux router, but no one else. What am I missing to let
> the linux box get to the other side of the linux router?
>
> Running RH 7.3, btw.
>
> TIA for all your assistance.
>
> Rusty
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
>
>




More information about the Kclug mailing list