From owner-freebsd-questions Tue Jun 24 01:00:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA01326 for questions-outgoing; Tue, 24 Jun 1997 01:00:35 -0700 (PDT) Received: from counterintelligence.cdrom.com (mdean.vip.best.com [206.86.94.101]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA01302 for ; Tue, 24 Jun 1997 01:00:21 -0700 (PDT) Received: from localhost (root@localhost) by counterintelligence.cdrom.com (8.8.5/8.8.5) with SMTP id BAA04114 for ; Tue, 24 Jun 1997 01:00:14 -0700 (PDT) Date: Tue, 24 Jun 1997 01:00:13 -0700 (PDT) From: 0000-Administrator To: questions@freebsd.org Subject: Routing Problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am running a stand alone FreeBSD 2.2.2 machine that is occassionally connected to the internet using the pppd daemon, I noticed that I cannot telnet to my ppp interface address (which works in linux): # netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default ns3.best.com UGSc 6 0 ppp0 localhost localhost UH 0 154 lo0 ns3.best.com mdean.vip.best.com UH 0 0 ppp0 # ifconfig -au ppp0: flags=8051 mtu 296 inet 206.86.94.101 --> 204.156.128.1 netmask 0xffffff00 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 # telnet 206.86.94.101 Trying 206.86.94.101... (this just hangs...) # telnet localhost Trying 127.0.0.1... Connected to localhost.cdrom.com. Escape character is '^]'. FreeBSD (counterintelligence.cdrom.com) (ttyp2) login: but localhost (i.e. loopback works fine) This seems funny to me: # route get 206.86.94.101 route to: mdean.vip.best.com destination: mdean.vip.best.com gateway: ns3.best.com interface: ppp0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 16384 16384 0 0 0 0 296 3541 I take this to mean my machine is routing packets that should go through the loopback out to my isp's router and it is probably discarding them, have I configured something wrong? Also, are you supposed to have 127.0.0.1 point to localhost AND your hostname in this kind of configuration, I thought that was bad. I don't understand why it is not able to route to its own interface?