LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-09-2012, 05:37 PM   #1
donalbane
LQ Newbie
 
Registered: Jan 2011
Location: Austin, TX
Posts: 29

Rep: Reputation: 2
Question default route ignored when PTP interface up in Debian


I have a Lenny Debian distro with an Ethernet interface to the Internet:

tcors01:~# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
129.116.XXX.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
0.0.0.0 129.116.XXX.254 0.0.0.0 UG 0 0 0 eth2
tcors01:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=48 time=35.0 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=48 time=30.3 ms

--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1006ms
rtt min/avg/max/mdev = 30.381/32.726/35.072/2.352 ms

The default route works fine until I bring up a point-to-point interface.

tcors01:~# pon att
tcors01:~# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.111.111 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
129.116.XXX.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
0.0.0.0 129.116.XXX.254 0.0.0.0 UG 0 0 0 eth2
tcors01:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 129.116.XXX.27 icmp_seq=1 Destination Host Unreachable
From 129.116.XXX.27 icmp_seq=2 Destination Host Unreachable
From 129.116.XXX.27 icmp_seq=3 Destination Host Unreachable

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4012ms
, pipe 3

Why does the default route fail with the addition of the ppp0 interface to the routing table?

Last edited by donalbane; 04-09-2012 at 05:42 PM. Reason: adjusted columns of netstat response for readability
 
Old 04-11-2012, 04:06 AM   #2
nikmit
Member
 
Registered: May 2011
Location: Nottingham, UK
Distribution: Debian
Posts: 178

Rep: Reputation: 34
What physical interface is ppp running over?
 
Old 04-11-2012, 10:21 AM   #3
donalbane
LQ Newbie
 
Registered: Jan 2011
Location: Austin, TX
Posts: 29

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by nikmit View Post
What physical interface is ppp running over?
It's a cellular modem (ppp0).
 
Old 05-01-2012, 11:43 AM   #4
donalbane
LQ Newbie
 
Registered: Jan 2011
Location: Austin, TX
Posts: 29

Original Poster
Rep: Reputation: 2
It turned out that this was a driver issue for this particular Ethernet port. The manufacturer's 2.6.21 kernel version of the driver has problems. The 2.4 kernel version seems to work, but I need the 2.6 kernel to do other things.
 
  


Reply

Tags
debian, default route, lenny, ppp0


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
Routing problem is reporting this error "Unable to find default route interface name" vsanandan Linux - Networking 1 03-29-2009 12:44 PM
/etc/sysconfig/route-interface default gateway serge Linux - Networking 2 01-29-2009 11:05 PM
Quagga default route not showing in kernel default route (netstat -nr) Valkyr1e Linux - Networking 3 08-03-2008 10:20 PM
Starting an Interface without a Default Subnet Route LinuxGeek Linux - Networking 5 08-30-2006 07:46 AM
DHCP default route attached to loopback interface chiefdan Linux - Hardware 2 12-06-2005 06:08 PM


All times are GMT -5. The time now is 07:01 PM.

Main Menu
Advertisement
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