Re: eth1 messing up eth0 and routing question

2001-09-06 Thread Ralf G. R. Bergs
On 5 Sep 2001 21:06:32 -0700, [EMAIL PROTECTED] wrote: >> On 5 Sep 2001 08:29:37 -0700, [EMAIL PROTECTED] wrote: >> >> >I can ping outside and inside networks from the router, and I can ping the LAN >> side of the router from a local computer, but I can't ping outside from the >> local compute

Re: eth1 messing up eth0 and routing question

2001-09-05 Thread bedlam
> On 5 Sep 2001 08:29:37 -0700, [EMAIL PROTECTED] wrote: > > >I can ping outside and inside networks from the router, and I can ping the > >LAN > side of the router from a local computer, but I can't ping outside from the > local computer. > > You need SNAT ("ip masquerading") like this: > >

Re: eth1 messing up eth0 and routing question

2001-09-05 Thread bedlam
> >I can ping outside and inside networks from the router, and I can ping the > >LAN > side of the router from a local computer, but I can't ping outside from the > local computer. > > You need SNAT ("ip masquerading") like this: > > if [ -n "$EXTERNAL" ]; then > for ext in $EXTER

Re: eth1 messing up eth0 and routing question

2001-09-05 Thread dman
On Wed, Sep 05, 2001 at 08:29:37AM -0700, [EMAIL PROTECTED] wrote: | I have two nics in a Debian 2.2 machine w/ kernel 2.4.9. eth0 is a | Linksys Ether16 using the ne driver, eth1 is a Linksys 10/100 using | the tulip driver. I'm trying to build a router and firewall using | iptables. When I bri

Re: eth1 messing up eth0 and routing question

2001-09-05 Thread Ralf G. R. Bergs
On 5 Sep 2001 08:29:37 -0700, [EMAIL PROTECTED] wrote: >I can ping outside and inside networks from the router, and I can ping the LAN side of the router from a local computer, but I can't ping outside from the local computer. You need SNAT ("ip masquerading") like this: if [ -n "$EXTERNAL

eth1 messing up eth0 and routing question

2001-09-05 Thread bedlam
I have two nics in a Debian 2.2 machine w/ kernel 2.4.9. eth0 is a Linksys Ether16 using the ne driver, eth1 is a Linksys 10/100 using the tulip driver. I'm trying to build a router and firewall using iptables. When I bring up eth0 (connected to the cable modem) it works fine. I can take it