Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 18:56:47 +0000
From:      Chris Stenton <jacs@gnome.co.uk>
To:        stabel@FreeBSD.ORG
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   strange routing problem with 3.0-stable 
Message-ID:  <199901271856.SAA03584@hawk.gnome.co.uk>

next in thread | raw e-mail | index | archive | help

I have just come across a strange routing problem on 3.0-stable. I have just 
changed
my box into a ppp gateway to the outside world and use "pppd defaultroute" to 
set
the default route out. I have used the same script that worked fine on 2.2.8.

here is the netstat on the interfaces

Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
xl0   1500  <Link>      00.10.5a.4c.b2.31   220366     3    62749     0 10250
xl0   1500  193.243.228.1 193.243.228.142   220366     3    62749     0 10250
lp0*  1500  <Link>                               0     0        0     0     0
tun0* 1500  <Link>                               0     0        0     0     0
sl0*  552   <Link>                               0     0        0     0     0
ppp0  1500  <Link>                            1053     0     1055     0     0
ppp0  1500  193.243.224.2 193.243.224.22      1053     0     1055     0     0
lo0   16384 <Link>                             552     0      552     0     0
lo0   16384 127           127.0.0.1            552     0      552     0     0

Here is the routing info


hawk: {12} netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            193.243.224.21     UGSc       20      309     ppp0
127.0.0.1          127.0.0.1          UH          1       51      lo0
193.243.224.21     193.243.224.22     UH         20        0     ppp0
193.243.228.128/28 link#1             UC          0        0      xl0
193.243.228.132    0:0:a4:10:6:e5     UHLW        1       41      xl0   1186
193.243.228.133    0:80:c8:27:f8:b7   UHLW        1       39      xl0   1109
193.243.228.135    0:80:c8:27:f4:e8   UHLW        1    62629      xl0   1039
193.243.228.142    0:10:5a:4c:b2:31   UHLW        3      503      lo0
193.243.228.143    ff:ff:ff:ff:ff:ff  UHLWb       3       34      xl0


Now if I do a traceroute to the xl0 interface I get

traceroute to 193.243.228.142 (193.243.228.142), 30 hops max, 40 byte packets
 1  hawk (193.243.228.142)  0.122 ms  0.062 ms  0.051 ms

as expected. However, if I do the same to ppp0

traceroute to 193.243.224.22 (193.243.224.22), 30 hops max, 40 byte packets
 1  gnome-port.gw.cerbernet.co.uk (193.243.224.21)  130.645 ms  135.934 ms  
134.268 ms
 2  gnome.gw.cerbernet.co.uk (193.243.224.22)  294.829 ms  293.293 ms  292.661 
ms

It goes down the line and then back again! This makes some of my progs run
REALLY slowly as the data goes down the modem line and then back up!

Any ideas.



Chris








To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901271856.SAA03584>