Re: help me to configure my RH 9 for connection sharing..!!

From: Elhanan (emaayan_at_hotmail.com)
Date: 01/06/05


Date: 5 Jan 2005 22:22:29 -0800

ok first i'll be adding my network config file:
NETWORKING=yes
HOSTNAME=localhost.localdomain
FORWARD_IPV4=true
GATEWAYDEV=eth0

212.199.26.28 is what i write in pptp dialer of windows under 'host
name or ip address' field under general tab. it does not change,
212.199.26.110 does change it is now 212.199.26.110 i don't know what
that is.
my windows client ip is 192.168.1.33, it's gateway is 192.168.1.1 (the
linux)

i think 172.23.128.1 is in fact the cable modem, once i do ifup eth0, i
get that ip address.
you see if i'm not mistken i have to go through my cable company and
my isp supplier which are totally different companies. i first get the
ip of my cable company and then the gateway of my ISP which is
212.199.26.28 (or cablepns.012.net.il)

i also did
iptables --table nat --append POSTROUTING --out-interface eth0 -j
MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT

i can now ping 212.199.26.28 from my client pc or 172.23.128.1, but i
cannot ping 212.199.26.106 or other ip addresses.

as for network topolgy you can see it in:
http://www.iglu.org.il/amit/cable/ i don't use the instructions given
there but a rather a pptp script given to me by my isp.

Mihai Osian wrote:
> Elhanan wrote:
>
> >ppp0 is created after i activate my pptp dial-in script. the cable
> >modem is connected to eth0. (nocice the route from eth0 to pppo)
> >i don't know about 212.199.26.110 but i do know that 212.199.26.28
is
> >my gateway.
> >
> >
> From ifconfig output and the routing table, your ISP has the address

> 212.199.26.110. This is the gateway used by the Linux machine to get
to
> the internet. What do you mean by 212.199.26.28 is your gateway ?
> Gateway to what/where ?
>
> >notice something else from what basic understanding for routing
these
> >to lines:
> >212.199.26.28 172.23.128.1 255.255.255.255 UGH 0 0
0
> >eth0
> >192.168.1.0 0.0.0.0 255.255.255.0 U 0 0
0
> >eth1
> >172.23.128.0 0.0.0.0 255.255.224.0 U 0 0
0
> >eth0
> >
> >basicallly say i have to subnets 192.168.1.0 on eth1 and
172.23.128.0
> >on eth0.
> >one of the computers on 172.23.128.0 acts as the gateway.
> >from my linux machine can ping 172.23.128.1 but from my windows i
> >cannot, this should the most basic of fowarding no?
> >
> >
> >
> So eth0 is physically connected to the modem, but is also connected
to
> the 172.23.128.1 "gateway" ? And there are more computers on the
> 172.23.128.0 network ? Sorry, I don't understand at all your network

> topology. I guess you (or me) are making some big confusions
>
> To repeat my questions:
> 1. What address did you assign to your windows machine ?
> 2. Which machine/interface is connected to which ? Please list them
all,
> or maybe draw a sketch.
>
> Mihai



Relevant Pages

  • Re: Remote gateway
    ... I asked the ISP and they said "That IP is the gateway IP for our ... Internet traffic seems fine but windows networking between the PC's is ... There is no such thing as a Remote Gateway, ...
    (microsoft.public.windows.server.networking)
  • Re: 0x80072EE7 error
    ... Got a different answer from someone else seeing this issue, so it's not the ISP that's the culprit. ... Thus, the update server attempts to download the .cabs and that fails, too, due to the ... My AV is Windows Live OneCare, which I've had for over a year and up to about 3 weeks ago never had a problem using windowsupdate. ... You will need to run this tool while having an Internet Connection. ...
    (microsoft.public.windowsupdate)
  • Re: Windows File Protection/Wrong CD Problem
    ... Thanks for your comments and suggestion regarding contacting Gateway ... support). ... "Files that are required for Windows to run properly have been replaced by ... > it was pre-installed on your computer by Gateway, you are running an OEM ...
    (microsoft.public.windows.file_system)
  • Re: SMTP authentification
    ... I just went through a similar exercise, moving from one DSL to another. ... DSL ISP) ... Alternate gateway: not defined ... > to use a certain style of email address in the From: header. ...
    (comp.os.vms)
  • Re: Working crash
    ... I talked to a Gateway tech today. ... Windows Vista Home Premium ... Rick Rogers, ...
    (microsoft.public.windows.vista.general)

Loading