From owner-freebsd-questions Sun Dec 3 09:53:39 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA13073 for questions-outgoing; Sun, 3 Dec 1995 09:53:39 -0800 Received: from aebeard.technion.ac.il (root@[132.68.146.67]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA13063 ; Sun, 3 Dec 1995 09:53:32 -0800 Received: (from yuri@localhost) by aebeard.technion.ac.il (8.6.12/8.6.9) id TAA00214; Sun, 3 Dec 1995 19:53:24 +0200 Date: Sun, 3 Dec 1995 19:53:24 +0200 (IST) From: Yuri Gindin To: freebsd-questions@freebsd.org, freebsd-isp@freebsd.org Subject: routing problems with ppp. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk 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 0 0 0 0 0 le0 1500 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 0 0 0 0 0 lo0 16384 127 127.0.0.1 0 0 0 0 0 ppp0 1500 1091 0 877 0 0 ppp0 1500 132.68.146 132.68.146.67 1091 0 877 0 0 sl0* 552 0 0 0 0 0 tun0* 1500 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 0 0 0 0 0 lo0 16384 0 0 0 0 0 lo0 16384 127 127.0.0.1 0 0 0 0 0 ppp0* 1500 0 0 0 0 0 sl0* 552 0 0 0 0 0 tun0 1500 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.