Re: internet <-> gentoo pppoe <-> netgear <-> LAN?



Agryppa <ja@xxxxx> wrote:
Hi,
I need to be able to have access to my LAN from a gentoo box which sits
behind a netgear router (WGR614v9). My problem is I can ping gentoo from
the LAN but not the LAN from gentoo box.

Below is the routing table of the gentoo (sabayon) box:

sabayonx86 ~ # ip route ls
10.64.64.65 dev ppp1 proto kernel scope link src 77.112.225.xxx

It appears sabayonx86 makes the PPPoE connection.

10.0.0.2 dev ppp0 proto kernel scope link src 10.0.0.1
192.168.0.0/24 via 10.0.0.2 dev ppp0

This looks like an attempt to do the impossible.

Does 10.0.0.2 refer to the IP of the netgear ethernet interface connecting
to sabayonx86 and 10.0.0.1 to the IP of the sabayonx86 ethernet interface
connecting to the netgear, with the netgear connecting to a 192.168.0.0/24
LAN via another interface? If so then traffic from the LAN to 10.0.0.1
might be routed through the netgear to sabayonx86 and ping replies from
sabayonx86 should go back out by the same path and get to the LAN.

Bottom line, try removing the last two routes above and adding

ip route add 192.168.0.0/24 via 10.0.0.2 dev ethN

where ethN is the sabayonx86 ethernet interface connecting to the netgear.

--
Clifford Kite
/* In my book, the first poster to resort to personal abuse in a Usenet
debate loses by default. - Rod Smith */

.



Relevant Pages

  • [OT] Using a wireless router as a point of access to LAN
    ... I've been using a wireless router (Netgear wgr614, ... sister) to connect a now-mobile computer to my home LAN. ...
    (Debian-User)
  • Re: uplink newbie question
    ... >the lan via a wireless link to the netgear router and can access files ...
    (microsoft.public.windowsxp.network_web)
  • Re: uplink newbie question
    ... >>the lan via a wireless link to the netgear router and can access files ... >>The netgear router can see the linksys and gives it IP and MAC ...
    (microsoft.public.windowsxp.network_web)
  • Re: Should route, but doesnt
    ... >> I bought the Netgear box last June. ... Before that the RedHat 7.2 box was ... >> Packets get from the RedHat 7.2 box to my LAN or to the Internet. ...
    (comp.os.linux.networking)
  • Re: internet <-> gentoo pppoe <-> netgear <-> LAN?
    ... The ppp0 interface is a pppoe link between Netgear and the sabayonx86 box. ... Sabayonx86 connecting to an ISP with PPPoE and also connecting to the ...
    (comp.os.linux.networking)