Networking Forums

Networking Forums > Computer Networking > Linux Networking > internet <-> gentoo pppoe <-> netgear <-> LAN?

Reply
Thread Tools Display Modes

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

 
 
Agryppa
Guest
Posts: n/a

 
      07-30-2008, 02:49 PM
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
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
127.0.0.0/8 dev lo scope link
default via 10.64.64.65 dev ppp1

The ping doesn't go through.

sabayonx86 ~ # ping 192.168.0.2 -c 1
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.

--- 192.168.0.2 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms



From the 192.168.0.2 host:
C:\>ping 10.0.0.1 -n 1

Pinging 10.0.0.1 with 32 bytes of data:

Reply from 10.0.0.1: bytes=32 time=4ms TTL=63

Ping statistics for 10.0.0.1:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 4ms, Maximum = 4ms, Average = 4ms

I infer thath the problem sits in the netgear router.
Setting the 192.168.0.2 as the DMZ host doesn't help a bit.

where to look for solutions?

Thanks for any input
Agryppa

 
Reply With Quote
 
 
 
 
Agryppa
Guest
Posts: n/a

 
      08-02-2008, 06:45 PM
Clifford Kite pisze:

> 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.
>

sabayonx86 ~ # ip route ls
10.64.64.65 dev ppp1 proto kernel scope link src 77.113.82.xxx
10.0.0.2 dev ppp0 proto kernel scope link src 10.0.0.1
127.0.0.0/8 dev lo scope link
default via 10.64.64.65 dev ppp1

sabayonx86 ~ # ip route add 192.168.0.0/24 via 10.0.0.2 dev eth0
RTNETLINK answers: No such process

Hi thanks for your suggestions.

The ppp1 interface is the window to the world, the internet.
The ppp0 interface is a pppoe link between Netgear and the sabayonx86 box.
internet <-> gentoo pppoe <--pppoe--> Netgear <--ethernet--> LAN

So basicaly I cannot use eth0 in the ip route command as it has no IP
assigned.

Agryppa
 
Reply With Quote
 
Agryppa
Guest
Posts: n/a

 
      08-08-2008, 02:10 PM
Clifford Kite pisze:

> So, at the not insignificant risk of further embarassment, what does
> "hostname -i" show for sabayonx86?
>
> Cheers-


sabayonx86 ~ # hostname -i
127.0.0.1



The two pppoe connections that go out from sabayonx86 are nothing fancy
really. ppp1 is an HDSPA 7.2Mb GSM modem connecting sabayonx86 to the Net.
the other pppoe is there becasue the internet port on the Netgear box
speaks just that protocol, and since the line to start pppoe is really
simple I chose Netgear to have this type of connections.


I thought i could enjoy XDMCP or other protocols between sabayonx86 and
the LAN, but it seems a no go.

Sabayon has this in the iptables:


iptables -L

Chain INPUT (policy ACCEPT 141K packets, 60M bytes)
pkts bytes target prot opt in out source
destination
25 1200 DROP tcp -- ppp1 any anywhere
anywhere tcp flags:FIN,SYN,RST,ACK/SYN

Chain FORWARD (policy ACCEPT 760K packets, 574M bytes)
pkts bytes target prot opt in out source
destination

Chain OUTPUT (policy ACCEPT 177K packets, 78M bytes)
pkts bytes target prot opt in out source
destination


I don't think it blocks anything on the ppp0 interface, does it?

Agryppa
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to -- PPPoE with my ADSL Connection to connect internet with CentOS 5 jatrojoomla Linux Networking 28 08-09-2007 12:39 PM
Does the Netgear DG834G work reliably for anyone with PPPoE? Anthony R. Gold Wireless Internet 1 12-18-2005 05:35 PM
Fail to connect MN-700 to internet via PPPoE kevin Broadband Hardware 5 04-22-2005 03:59 AM
MN700 problem connecting to internet ISP using PPPoE Teddy Broadband Hardware 1 01-14-2004 06:08 PM
PPPoE Issues with Netgear MR814 Daniel Morris Wireless Internet 2 12-10-2003 07:16 PM



1 2 3 4 5 6 7 8 9 10 11