This is a discussion on Newbie - RedHat as router for windows98 within the Linux Networking forums, part of the Linux Forums category; "stewart menday" <stewart at webstorm.net.au> wrote in message news:3fe10f3b$0$29700$61ce578d@news....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
"stewart menday" <stewart at webstorm.net.au> wrote in message news:3fe10f3b$0$29700$61ce578d@news.syd.swiftdsl.c om.au... > Peter > "The rip", must of been on drugs (lol) when I wrote that, I did mean the > RIP routing protocol but I agree with you I don't know what I was trying to > achieve. My setup is as follows; > > ADSL modem with fixed IP to the internet, ip of 192.168.1.1 on the other > side (my network) > A Redhat 9 Linux box with ip of 192.168.1.2, no firewall > A dialin line which gets assigned ip of 192.168.1.3 when I dial in. > > From the Linux box everything works fine, I can access the internet etc > > When I dialin I connect to the Linux box without any problems (running > mgetty). After dialin I can ping the Linux box but cannot ping the adsl > modem (192.168.1.1). If I run dcpdump -i ppp0 on the Linux box I can see > the echo request from 192.168.1.3 > 192.168.1.1 but there is no reply, at > least not back through the Linux box. Do I need to run NAT on the Linux box > to get the reply to go through 192.158.1.2 (Linux box)? > > web - ADSL Modem - Linux - windows via dialin > fixed ip - 192.168.1.1 - .1.2 - .1.3 > You have two problems here: 1. How to route an internal network node with an unroutable (RFC1918) address so that it gets to the Internet with the public IP from the ISP and the sends the responses back to the originator? 2. How to make a dial-in PPP server? I suggest information from the Linux Documentation Project HOWTOs: 1. Net-HOWTO for general IP networking overview, 2. IP-Masquerade-HOWTO for solving problem 1, and 3. PPP-HOWTO for solving problem 2. Go to nearest LDP mirror, get the HOWTOs and read them. They may be already installed with your distribution. HTH Tauno Voipio tauno voipio @ iki fi |
|
|||
|
On Fri, 19 Dec 2003 19:49:10 GMT, "Tauno Voipio"
<tauno.voipio@iki.fi.NOSPAM.invalid> wrote: > >"stewart menday" <stewart at webstorm.net.au> wrote in message >news:3fe10f3b$0$29700$61ce578d@news.syd.swiftdsl. com.au... >> ADSL modem with fixed IP to the internet, ip of 192.168.1.1 on the other >> side (my network) >> A Redhat 9 Linux box with ip of 192.168.1.2, no firewall >> A dialin line which gets assigned ip of 192.168.1.3 when I dial in. >> >> From the Linux box everything works fine, I can access the internet etc >> >> When I dialin I connect to the Linux box without any problems (running >> mgetty). After dialin I can ping the Linux box but cannot ping the adsl >> modem (192.168.1.1). If I run dcpdump -i ppp0 on the Linux box I can see >> the echo request from 192.168.1.3 > 192.168.1.1 but there is no reply, at >> least not back through the Linux box. Do I need to run NAT on the Linux >box >> to get the reply to go through 192.158.1.2 (Linux box)? >> >> web - ADSL Modem - Linux - windows via dialin >> fixed ip - 192.168.1.1 - .1.2 - .1.3 >> > >You have two problems here: > >1. How to route an internal network node with an unroutable (RFC1918) >address so that it gets to the Internet with the public IP from the ISP and >the sends the responses back to the originator? He never *did* state that he wanted to access the internet with the windows machine. He was strictly dealing with the problem of pinging the modem. |