From owner-freebsd-hackers Wed Apr 10 14:07:33 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA09288 for hackers-outgoing; Wed, 10 Apr 1996 14:07:33 -0700 (PDT) Received: from ki.net (root@ki.net [205.150.102.1]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA09279 for ; Wed, 10 Apr 1996 14:07:26 -0700 (PDT) Received: from freebsd.ki.net (root@freebsd.ki.net [205.150.102.51]) by ki.net (8.7.4/8.7.4) with ESMTP id RAA22888 for ; Wed, 10 Apr 1996 17:07:24 -0400 (EDT) Received: from localhost (scrappy@localhost) by freebsd.ki.net (8.7.5/8.7.5) with SMTP id RAA01788 for ; Wed, 10 Apr 1996 17:07:52 -0400 (EDT) X-Authentication-Warning: freebsd.ki.net: scrappy owned process doing -bs Date: Wed, 10 Apr 1996 17:07:50 -0400 (EDT) From: "Marc G. Fournier" To: hackers@freebsd.org Subject: PPP routing problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 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 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 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 ' 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