Re: ip_forward - 2 nics
Kevin Coyner, 2002-Nov-06 23:50 -0500:
<snipped>
>
> It seems conceptually correct to me, yet I continue to wonder whether
> eth1 needs a gateway entry. I guess not though, because when I try to
> add one, it doesn't take.
>
> In addition to these entries, I've changed /etc/network/options
> ip_forward=yes, and manually executed "echo 1 >
> /proc/sys/net/ipv4/ip_forward". I haven't done anything with iptables
> yet as it's my understanding that with these settings it should forward.
>
> Problem is though, it doesn't forward. From a client I am able to ping
> 10.0.0.254 but I am not able to ping an outside, internet address.
>
> What am I missing? I'm quite prepared to say "duh". Thanks, Kevin
Your interface config looks fine to me and the forwarding settings
look good too. I suspect that you don't have a default gateway set on
your client PC's. It should be 10.0.0.254. Also, can sumida ping the
world? I suspect yes since you have the correct default gateway set.
jc
--
Jeff Coppock Systems Engineer
Diggin' Debian Admin and User
Reply to: