Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 1995 19:53:24 +0200 (IST)
From:      Yuri Gindin <yuri@aebeard.technion.ac.il>
To:        freebsd-questions@freebsd.org, freebsd-isp@freebsd.org
Subject:   routing problems with ppp.
Message-ID:  <Pine.BSF.3.91.951203194132.196A-100000@aebeard.technion.ac.il>

next in thread | raw e-mail | index | archive | help
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.
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.951203194132.196A-100000>