Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 1997 01:00:13 -0700 (PDT)
From:      0000-Administrator  <root@counterintelligence.cdrom.com>
To:        questions@freebsd.org
Subject:   Routing Problems
Message-ID:  <Pine.BSF.3.96.970624004718.4078A-100000@counterintelligence.cdrom.com>

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

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<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 296
        inet 206.86.94.101 --> 204.156.128.1 netmask 0xffffff00
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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: <UP,GATEWAY,HOST,DONE,WASCLONED,PROTO3,LOCAL>
 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?







 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970624004718.4078A-100000>