From owner-freebsd-questions Sat Mar 15 13:15:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA10127 for questions-outgoing; Sat, 15 Mar 1997 13:15:08 -0800 (PST) Received: from elf.unionjv.ru (elf.unionjv.ru [195.208.83.5]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA10118 for ; Sat, 15 Mar 1997 13:15:01 -0800 (PST) Received: from squish.glas.apc.org (mkl@[195.208.83.18]) by elf.unionjv.ru (8.8.5/8.6.12) with SMTP id AAA01072 for ; Sun, 16 Mar 1997 00:14:49 +0300 (MSK) Message-Id: <2.2.32.19970315211438.00850210@pop.unionjv.ru> X-Sender: firewall@pop.unionjv.ru (Unverified) X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sun, 16 Mar 1997 00:14:38 +0300 To: freebsd-questions@freebsd.org From: Vladimir Egorov Subject: pppd (server-side) and routing Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello all! I'm trying to get to work (or, to be more precise - to work properly) ppp-server (pppd). Almost everything works fine, except one thing: eventually (sometimes (but not always) after abnormal termination of modem (PPP) connection - noisy lines), routing table on FreeBSD box gets wrong. It says (among other lines): #netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire ... my.ppp.client.addr link#2 UHLW 3 34 ... When it happens, pppd stops to work properly - modem answers; client connects; logging in; getting IP address; - but can't even ping ppp server. ARP table at this time doesn't contain such an entry for ppp client address: #arp -a ... ? (my.ppp.client.addr) at (incomplete). Following command returning everything to life: #route delete my.ppp.client.address My configuration: 1) FreeBSD 2.0.5. (yes, 2.0.5) 2) /etc/ppp/options: crtscts netmask 255.255.255.0 my.ppp.server.addr:my.ppp.client.addr domain my.domain passive modem proxyarp 3) pppd starts as shell (without any additional parameters) 4) relevant part of /etc/rc.serial: modem() { # Modem that supports CTS and perhaps RTS handshaking. for i in $* do # may depend on modem comcontrol /dev/ttyd$i dtrwait 100 drainwait 180 # Lock crtscts on. # Speed reasonable for V42bis. stty ... modem 0 5) relevant line in /etc/ttys: ttyd0 "/usr/libexec/getty std.38400" dialup on secure I've browsed through all mail-lists archives I have looking for answer; FAQs and Handbook; tried Altavista and DejaNews. No use by far :) Probably I'm overlooking something obvious.. Vladimir