Skip site navigation (1)Skip section navigation (2)
Date:      	Mon, 4 Dec 1995 14:16:22 -0800 (PST)
From:      Tom Samplonius <tom@uniserve.com>
To:        Yuri Gindin <yuri@aebeard.technion.ac.il>
Cc:        freebsd-questions@freebsd.org, freebsd-isp@freebsd.org
Subject:   Re: routing problems with ppp.
Message-ID:  <Pine.BSF.3.91.951204141435.18669E-100000@haven.uniserve.com>
In-Reply-To: <Pine.BSF.3.91.951203194132.196A-100000@aebeard.technion.ac.il>

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

On Sun, 3 Dec 1995, Yuri Gindin wrote:

> Hello All,
> 
> I have some problems connecting two computers with ppp.
> One computer is connected to the ethernet line and has
> a modem. I want to route traffic through this one.
> I connect from the second computer using iij-ppp 
> and everything goes fine, i.e. when I start ppp -direct
> on the first computer or pppd I can connect to it 
> but traceroute stops on it and doesn't go furhter.
> The routing tables on both computers seem to be OK.

  From looking at the routing tables, it appears that both systems have 
an IP address out of the same network block.  So all systems on the 
ethernet think the system at the end of the ppp link is locally 
connected, but it's not.

  You need to use "arp" to manually publish an entry for the system 
connected via ppp, so it appears on the ethernet.

Tom

> The first computer:
> Internet:
> Destination      Gateway            Flags     Refs     Use     Netif Expire
> default          132.68.146.254     UGSc        4        6       le0
> 127.0.0.1        127.0.0.1          UH          1        0       lo0
> 132.68.146       link#2             UC          0        0 
> 132.68.146.67    127.0.0.1          UGHS        0        0       lo0
> 132.68.146.152   132.68.146.67      UH          2      822      ppp0
> 132.68.146.254   0:0:c:1:96:16      UHLW        4        0       le0    767
> and netstat -in gives:
> Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
> lp0*  1500  <Link>                             0     0        0     0     0
> le0   1500  <Link>08.00.2b.3f.cb.a5         3834     0       40     0     0
> le0   1500  132.68.146  132.68.146.67       3834     0       40     0     0
> lo0   16384 <Link>                             0     0        0     0     0
> lo0   16384 127         127.0.0.1              0     0        0     0     0
> ppp0  1500  <Link>                          1091     0      877     0     0
> ppp0  1500  132.68.146  132.68.146.67       1091     0      877     0     0
> sl0*  552   <Link>                             0     0        0     0     0
> tun0* 1500  <Link>                             0     0        0     0     0
> 
> On the second computer (client):
> Internet:
> Destination      Gateway            Flags     Refs     Use     Netif Expire
> default          132.68.146.67      UGc         1        4      tun0
> 127.0.0.1        127.0.0.1          UH          1        0       lo0
> 132.68.146.67    132.68.146.152     UH          4     1140      tun0
> 132.68.146.152   127.0.0.1          UGHS        0        0       lo0
> 
> and 
> 
> Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
> lp0*  1500  <Link>                             0     0        0     0     0
> lo0   16384 <Link>                             0     0        0     0     0
> lo0   16384 127         127.0.0.1              0     0        0     0     0
> ppp0* 1500  <Link>                             0     0        0     0     0
> sl0*  552   <Link>                             0     0        0     0     0
> tun0  1500  <Link>                          1019     0     1299     0     0
> tun0  1500  132.68      132.68.146.152      1019     0     1299     0     0
> 
> I have compiled the kernel on the first (server) computer with
> optinons GATEWAY
> and use:
> sysctl -w net.inet.ip.forwarding=1
> in /etc/netstart.
> 
> Any suggestions,
> Any help will be highly appreciated.
> 
> --Yuri.
> 



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