LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-24-2009, 01:52 PM   #1
Esquirol
LQ Newbie
 
Registered: Nov 2009
Location: Russia
Distribution: Mandriva 2010
Posts: 10

Rep: Reputation: 0
pppoe connection establishes, but... no connect!


Hello,

Some months ago I have started working with Mandriva Linux 2009.1. Until now, I've experienced no problem with networking.

After the upgrading to Mandr. 2010 I got such a very annoying trouble: my pppoe-connection establishes, but I cannot reach any host.

Sometimes the pppoe-connection works OK.

Here is what some popular network diagnostic commands tell when it doesn't work properly:

Code:
$ sudo ifconfig -a
eth2      Link encap:Ethernet  HWaddr 00:02:44:BF:BF:9C  
          BROADCAST MULTICAST  MTU:1500  Metric:1        
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000                        
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)              
          Interrupt:18 Base address:0xac00                    

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:468 errors:0 dropped:0 overruns:0 frame:0
          TX packets:468 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:25740 (25.1 KiB)  TX bytes:25740 (25.1 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:91.146.xx.xx  P-t-P:217.14.207.51  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:94 (94.0 b)  TX bytes:54 (54.0 b)

true_net  Link encap:Ethernet  HWaddr 00:01:6C:F4:4A:D7
          inet addr:192.168.0.33  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2290 errors:0 dropped:0 overruns:0 frame:0
          TX packets:369 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:231790 (226.3 KiB)  TX bytes:33898 (33.1 KiB)
          Interrupt:23 Base address:0xa000
My comment: the network interface I use is "true_net"; "eth2" belongs to another network adapter not connected with www;

Code:
[localuser@localhost ~]$ netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
217.14.207.51   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 true_net
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 true_net
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0          0 true_net
0.0.0.0         0.0.0.0         0.0.0.0         U         0 0          0 ppp0

[localuser@localhost ~]$ netstat -ni
Kernel Interface table
Iface       MTU Met    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
lo        16436   0      540      0      0      0      540      0      0      0 LRU
ppp0       1492   0        4      0      0      0        3      0      0      0 MOPRU
true_net   1500   0     2547      0      0      0      388      0      0      0 BMRU

[localuser@localhost ~]$ cat /etc/hosts
127.0.0.1               localhost
What is wrong?

What I can do to resolve the problem?
 
Old 11-24-2009, 03:05 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Wrong, your default route points to "true_net":
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 true_net

But if you want to communicate through pppoe, I think that default route should be on pppoe connection.
 
1 members found this post helpful.
Old 11-24-2009, 11:55 PM   #3
Esquirol
LQ Newbie
 
Registered: Nov 2009
Location: Russia
Distribution: Mandriva 2010
Posts: 10

Original Poster
Rep: Reputation: 0
How I can correct it?
 
Old 11-25-2009, 11:08 AM   #4
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Lets try to delete it:

route del -net 0.0.0.0 gw 192.168.0.1 netmask 0.0.0.0 true_net

Try to use pppoe.

If you will need that route type:

route add -net 0.0.0.0 gw 192.168.0.1 netmask 0.0.0.0 true_net
 
1 members found this post helpful.
Old 11-27-2009, 12:38 AM   #5
Esquirol
LQ Newbie
 
Registered: Nov 2009
Location: Russia
Distribution: Mandriva 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Useful advice... many thanks!
 
Old 11-27-2009, 03:34 AM   #6
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,019

Rep: Reputation: 63
I also had that problem too.
Though it's solved can you post now
Code:
netstat -nr
Don't forget to mark this thread as [SOLVED].
This option is under the "Thread Tools" above.
 
Old 11-27-2009, 03:51 AM   #7
Esquirol
LQ Newbie
 
Registered: Nov 2009
Location: Russia
Distribution: Mandriva 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by cola View Post
I also had that problem too.
Though it's solved
I hope it is solved, but I'm not sure

Quote:
Originally Posted by cola View Post
can you post now
Code:
netstat -nr
Of course.

Code:
[localuser@localhost ~]$ netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
217.14.207.15   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
0.0.0.0         0.0.0.0         0.0.0.0         U         0 0          0 ppp0
 
Old 07-21-2010, 12:15 AM   #8
Esquirol
LQ Newbie
 
Registered: Nov 2009
Location: Russia
Distribution: Mandriva 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Hello friends,

My problem repeats. The unnecessary line:

Code:
0.0.0.0         192.168.xx.xx     0.0.0.0         UG        0 0          0 true_net
appears again. But why?.. and what I should do to prevent it?
 
Old 07-22-2010, 01:20 AM   #9
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Some time DHCP client on your computer can change default route, when it reconfigures interface.

Last edited by nimnull22; 07-22-2010 at 02:02 AM.
 
1 members found this post helpful.
Old 07-24-2010, 08:01 AM   #10
Esquirol
LQ Newbie
 
Registered: Nov 2009
Location: Russia
Distribution: Mandriva 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nimnull22 View Post
Some time DHCP client on your computer can change default route, when it reconfigures interface.
When I boot from Live CD I get the same problem:

Code:
mint@mint ~ $ netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
217.14.207.46   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth1
0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0          0 eth1
The problem, apparently, is not bound up with my PC, but it is on the provider's side, isn't it?
 
  


Reply

Tags
mandriva, networking, pppoe


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to connect via PPPoE akshye Linux - Networking 1 07-27-2007 11:36 PM
Slack 10.2 pppoe won't connect anymore dbc001 Slackware 3 09-02-2006 01:26 PM
Connect To Internet; using ADSL/PPPoE N/A Linux - Newbie 1 02-09-2006 02:26 AM
pppoe connect to wireless AP - issues paul.m.nz Linux - Wireless Networking 3 12-14-2005 10:29 PM
PPPoE: Can't connect to the internet chord1000 Fedora 10 12-02-2003 10:38 PM


All times are GMT -5. The time now is 02:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration