Re: eth1 and eth0 different networks and not accessible
From: H. S. (g_reate_xcalibur_at_yahoo.com)
Date: 05/20/05
- Next message: Unruh: "Re: eth1 and eth0 different networks and not accessible"
- Previous message: Moe Trin: "Re: router causing strange DNS behaviour?"
- In reply to: Bit Twister: "Re: eth1 and eth0 different networks and not accessible"
- Next in thread: Unruh: "Re: eth1 and eth0 different networks and not accessible"
- Reply: Unruh: "Re: eth1 and eth0 different networks and not accessible"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 20 May 2005 16:15:26 -0400
Apparently, _Bit Twister_, on 20/05/05 14:12,typed:
> On Thu, 19 May 2005 20:09:28 -0400, H. S. wrote:
>
>>Hi,
>>
>>I am connecting to an ADSL connection through a linux box(CompR below)
>>used as a router with two NICs. Here is the setup:
>>
>> CompR
>> ,-----------.
>>(INTERNET) -->ppp0--->eth1 eth0-----> LAN (192.168.0.xyz)
>> `-----------'
>>
>>
>>I have my iptables script and have enables masquerading and my LAN
>>computers can browse the web and connect to external VPN servers and all
>>is well.
>
>
> Guessing you are running slackware.
> On Mandriva (mandrake) I have to enable ip_forward in /etc/sysctl.conf
> and add masquarding rules in iptables to allow lan pcs access to wan.
>
Debian Sarge, kernel 2.6.10.
IP forwarding works perfectly. LAN (192.168.0.0) computers are able to
browse the internet. They are able to talk to each other. I am just not
able to ping the LAN port the of the ADSL modem which seems to have an
IP address of 192.168.2.1 (according to Bell Sympatico's tech support)
which gives access to its web interface.
So ADSL LAN 192.168.2.1 is not visible to my eth1 (192.168.2.10), but
ppp0 works okay for all my LAN comps through eth0.
->HS
-- Please remove the underscores ( the '_' symbols) from my email address to obtain the correct one. Apologies, but the fudging is to remove spam.
- Next message: Unruh: "Re: eth1 and eth0 different networks and not accessible"
- Previous message: Moe Trin: "Re: router causing strange DNS behaviour?"
- In reply to: Bit Twister: "Re: eth1 and eth0 different networks and not accessible"
- Next in thread: Unruh: "Re: eth1 and eth0 different networks and not accessible"
- Reply: Unruh: "Re: eth1 and eth0 different networks and not accessible"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|