From owner-freebsd-questions Tue Jan 6 15:08:24 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA05152 for questions-outgoing; Tue, 6 Jan 1998 15:08:24 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id PAA05144 for ; Tue, 6 Jan 1998 15:08:14 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Tue, 6 Jan 1998 18:07:41 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA00710; Tue, 6 Jan 98 18:07:40 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id SAA20827; Tue, 6 Jan 1998 18:06:44 -0500 Message-Id: <19980106180644.02394@ct.picker.com> Date: Tue, 6 Jan 1998 18:06:44 -0500 From: Randall Hopper To: Brian Somers Cc: questions@freebsd.org Subject: Re: User PPP: Not getting return IP packets (?) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk (Sorry it's been so long since my original post. Got side tracked into other things over the holidays.) Brian Somers : |> Trying to set up ppp for my holiday ISP here. It appears ppp connects |> ok and negotiates, interfaces are configed, routing tables set up, ...but |> after it's all done, IP packets sent out (such as ping) don't generate any |> response from the other end. |> ... |> 09:03:21: tun0: IPCP: IpcpLayerUp(9). |> 09:03:21: tun0: IPCP: myaddr = 206.175.52.124 hisaddr = 205.156.197.250 ... |> |> |> 09:03:49: tun0: Command: quit |> 09:03:49: tun0: IPCP: OsLinkdown: 205.156.197.250 |> 09:03:49: tun0: IPCP: IpcpLayerDown. |> 09:03:49: tun0: IPCP: Connect time: 28 secs: 0 octets in, 0 octets out |> 09:03:49: tun0: IPCP: total 0 bytes/sec | |Hmmm, no IP sent or received. That was farther up in the logs -- included above. The 09:03:49 lines you Cced are the beginning of the shutdown sequence. |But wait.... your ppp.linkup does include a MYADDR section with it in |:-( Right. As I mentioned, tun0 gets configed and the correct routes get added. ping request packets get sent across the modem link (confirmed with tcpdump). The only hitch is no IP packets (e.g. ping responses) ever get sent back from the other side. It's like the other side either 1) doesn't like something about my IP packets, or 2) doesn't think the PPP link is fully up yet. |If the latest ppp doesn't come up with any interesting errors, post |the output of `netstat -rn' at the time of the pings. I listed this in the 'netstat.out' attachments. Here's another copy. Everything looks good. ppp added both of the tun0 routes. # netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 205.156.197.250 UGSc 0 0 tun0 127.0.0.1 127.0.0.1 UH 2 31 lo0 192.168.40 link#1 UC 0 0 192.168.40.1 0:40:33:2d:d7:15 UHLW 1 1957 ed0 1043 205.156.197.250 206.175.52.124 UH 1 0 tun0 Randall Hopper