Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
11-24-2009, 01:52 PM
#1
LQ Newbie
Registered: Nov 2009
Location: Russia
Distribution: Mandriva 2010
Posts: 10
Rep:
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?
11-24-2009, 03:05 PM
#2
Senior Member
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14
Posts: 1,554
Rep:
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.
11-24-2009, 11:55 PM
#3
LQ Newbie
Registered: Nov 2009
Location: Russia
Distribution: Mandriva 2010
Posts: 10
Original Poster
Rep:
How I can correct it?
11-25-2009, 11:08 AM
#4
Senior Member
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14
Posts: 1,554
Rep:
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.
11-27-2009, 12:38 AM
#5
LQ Newbie
Registered: Nov 2009
Location: Russia
Distribution: Mandriva 2010
Posts: 10
Original Poster
Rep:
Useful advice... many thanks!
11-27-2009, 03:34 AM
#6
Senior Member
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Slackware 13.0
Posts: 1,016
Rep:
I also had that problem too.
Though it's solved can you post now
Don't forget to mark this thread as [SOLVED].
This option is under the "Thread Tools" above.
11-27-2009, 03:51 AM
#7
LQ Newbie
Registered: Nov 2009
Location: Russia
Distribution: Mandriva 2010
Posts: 10
Original Poster
Rep:
Quote:
Originally Posted by
cola
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
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
07-21-2010, 12:15 AM
#8
LQ Newbie
Registered: Nov 2009
Location: Russia
Distribution: Mandriva 2010
Posts: 10
Original Poster
Rep:
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?
07-22-2010, 01:20 AM
#9
Senior Member
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14
Posts: 1,554
Rep:
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.
07-24-2010, 08:01 AM
#10
LQ Newbie
Registered: Nov 2009
Location: Russia
Distribution: Mandriva 2010
Posts: 10
Original Poster
Rep:
Quote:
Originally Posted by
nimnull22
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?
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 02:02 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News