Re: help me to configure my RH 9 for connection sharing..!!
From: Elhanan (emaayan_at_hotmail.com)
Date: 01/06/05
- Next message: Elhanan: "Re: gettting network unreachble while trying to connectioh share linux///"
- Previous message: Ed Murphy: "Re: OT: Safe Riddles"
- In reply to: Mihai Osian: "Re: help me to configure my RH 9 for connection sharing..!!"
- Next in thread: Elhanan: "Re: help me to configure my RH 9 for connection sharing..!!"
- Reply: Elhanan: "Re: help me to configure my RH 9 for connection sharing..!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Elhanan: "Re: gettting network unreachble while trying to connectioh share linux///"
- Previous message: Ed Murphy: "Re: OT: Safe Riddles"
- In reply to: Mihai Osian: "Re: help me to configure my RH 9 for connection sharing..!!"
- Next in thread: Elhanan: "Re: help me to configure my RH 9 for connection sharing..!!"
- Reply: Elhanan: "Re: help me to configure my RH 9 for connection sharing..!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|