You are not logged in.

#1 2011-09-04 08:51:07

vahid5695
Member
Registered: 2011-09-04
Posts: 14

pppoe issue

Hello.
I use a dsl modem/router to connect internet. when i set modem to pppoe mode the connection works well but when i set modem to bridge mode and in Arch i use the command "pppoe-setup" and "pppoe-start" the connection establish but i cant ping any domain or IP out of my LAN. Why? And how to fix it? I have to work in bridge mode because i have several user pass for adsl account and working with pppoe is difficult for me.

Offline

#2 2011-09-04 16:35:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,823

Re: pppoe issue

Welcome to Arch.  It has been years since I've used PPPoe tools -- My router handles that (as does yours).  You have an interesting use case -- multiple passwords for a single link. Okay.

You say you cannot ping anything outside of your local LAN.  Do you have multiple NICs, with one dedicated to the PPPoe, and the others for a LAN?  If not could you describe your network topography in more detail?

It sounds as if you have routing issues.  What are the outputs of ip addr and of ip route  ??


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#3 2011-09-04 17:26:51

vahid5695
Member
Registered: 2011-09-04
Posts: 14

Re: pppoe issue

Thanks . I'm so happy to join Arch users.

I use a single NIC . the phone line is connected to my DSL mosem/router and the modem connected with a cable to the NIC of the case.
Modem configured as DHCP to give IP to NIC. IP of modem is 192.168.1.1

So , i will put output of "netstate -nr" following:

Destination         Gateway             mask            flags              MSS               window            irtt            Iface
0.0.0.0              192.168.1.1         0.0.0.0            UG                  0                      0                   0             eth0
192.168.1.0          0.0.0.0        255.255.255.0      U                    0                      0                   0             eth0


And in a nutshell the report of "ifconfig" is :
eth0 :  192.168.1.2
lo : 127.0.0.1
ppp0 : 98.165.72.125

ppp0 gets the IP from ISP correctly and when i set modem as pppoe, the "ifconfig" just reports without ppp0 as  :
eth0 : 192.168.1.2
lo : 127.0.0.1

/etc/hosts contains :
127.0.0.1    archlinux.domain.org    localhost.localdomain    localhost    archlinux

/etc/resolv.conf contains :
nameserver 192.168.1.1

If you wanna know more info ask me to explain more.

Thanks again for reply

Offline

#4 2011-09-04 17:52:05

sujoy
Member
From: India
Registered: 2008-02-08
Posts: 94
Website

Re: pppoe issue

route del gateway

and things should work just fine

Offline

#5 2011-09-04 18:03:34

vahid5695
Member
Registered: 2011-09-04
Posts: 14

Re: pppoe issue

sujoy wrote:

route del gateway

and things should work just fine

Can you explain more please? I wanna know this issue technically.

Offline

#6 2011-09-05 05:30:31

vahid5695
Member
Registered: 2011-09-04
Posts: 14

Re: pppoe issue

sujoy wrote:

route del gateway

and things should work just fine


Output of the command is :
gateway : Host name lookup failure

Offline

#7 2011-09-10 18:51:55

silverzhao
Member
Registered: 2011-07-05
Posts: 33

Re: pppoe issue

You may try:

# route del default
# route add default dev ppp0

What you are you do not see, what you see is your shadow.

Offline

Board footer

Powered by FluxBB