Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 1996 17:07:50 -0400 (EDT)
From:      "Marc G. Fournier" <scrappy@ki.net>
To:        hackers@freebsd.org
Subject:   PPP routing problem
Message-ID:  <Pine.BSI.3.92.960410164237.1283L-100000@freebsd.ki.net>

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

Hi...

	I'm not sure if this is something that I've missed, or a
problem in -current, or something else altogether.

	I'm have a modem connected to my -stable box that is used
for PPP dial-up by staff.  When they connect, the -stable boxes
routing tables get updated properly:

ki> netstat -nr
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif Expire
default          205.150.102.254    UGSc       51     2621       ed0
127.0.0.1        127.0.0.1          UH          1     1433       lo0
142.77.249.8     127.0.0.1          UGHS        0        0       lo0
205.150.102      link#1             UC          1        0
205.150.102.1    0:0:c0:86:44:79    UHLW        6    38310       lo0
<some routes deleted for brevity>
205.150.102.200  205.150.102.1      UH          0      514      tun0
205.150.102.255  link#1             UHLW        1      423


	The IP being 205.150.102.200

	Unfortunately, on the -current machine, its routing table is
looking like:

freebsd# !net
netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            205.150.102.254    UGSc       12       18       ed0
127.0.0.1          127.0.0.1          UH          0        0       lo0
205.150.102        link#1             UC          0        0
205.150.102.1      0:0:c0:86:44:79    UHLW       14   148758       ed0   1027
205.150.102.51     0:0:c0:b7:91:71    UHLW        1       49       lo0
<some routes deleted for brevity>
205.150.102.56/32  link#1             UC          0        0
205.150.102.254    0:c0:7b:5c:91:4b   UHLW       13      143       ed0    871
205.150.102.255    link#1             UHLW        1      342
freebsd# traceroute stoned.ki.net
traceroute to stoned.ki.net (205.150.102.200), 30 hops max, 40 byte packets
^C
freebsd# !net
netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            205.150.102.254    UGSc       12       18       ed0
127.0.0.1          127.0.0.1          UH          0        0       lo0
205.150.102        link#1             UC          0        0
205.150.102.1      0:0:c0:86:44:79    UHLW       14   149296       ed0    943
205.150.102.51     0:0:c0:b7:91:71    UHLW        1       49       lo0
<some routes deleted for brevity>
205.150.102.56/32  link#1             UC          0        0
205.150.102.200    link#1             UHLW        0        1
205.150.102.254    0:c0:7b:5c:91:4b   UHLW       13      143       ed0   1189
205.150.102.255    link#1             UHLW        1      343

	Now, if I delete the route and add in one that points at 205.150.102.1,
traceroute works fine.

	I have routed -s enabled on 205.150.102.1, and routed -q on .51 and
.1 has GATEWAY enabled in sysconfig.

	the only other thing I can think of is that my problem is with my
config for PPP.  I'm using 'ppp -direct <configname>' when a user connects,
with an entry that looks like:

default:
 set device /dev/cuaa0
 set speed 57600
 disable lqr
 deny lqr
 disable pred1
 deny pred1
adrenlin:
 set ifaddr 205.150.102.1 205.150.102.200/24
 set timeout 600
 add 0 0 HISADDR


	So, I figure that I'm either missing something in my ppp.conf
file, or there is a problem with routed...

	Anyone have any ideas on this one?

Thanks...


Marc G. Fournier                                  scrappy@ki.net
Systems Administrator @ ki.net               scrappy@freebsd.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.92.960410164237.1283L-100000>