From owner-freebsd-questions Tue Oct 28 10:40:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA11137 for questions-outgoing; Tue, 28 Oct 1997 10:40:20 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gateway ([205.179.62.18]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id KAA11110 for ; Tue, 28 Oct 1997 10:40:11 -0800 (PST) (envelope-from daniel@mysonusa.com) Received: from epsilon (epsilon [192.9.200.4]) by gateway (8.6.12/8.6.6) with SMTP id TAA30609 for ; Tue, 28 Oct 1997 19:42:49 +0100 Date: Tue, 28 Oct 1997 10:39:54 -0800 (PST) From: "Daniel C. Konnoff" X-Sender: daniel@epsilon Reply-To: "Daniel C. Konnoff" To: questions@freebsd.org Subject: ppp routing to internet Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello: We are trying to route our ppp client to the internet but have problems doing so. Please look at the following diagram: freebsd machine - tpe ////////////// freebsd machine - mail -> isp (ppp client) (ppp link) (ppp server) The machine tpe and it's clients are able to see the machine mail without any problems, but they cannot see the isp (it's a standard ethernet connection to the isp - not ppp). How do we create the route from the tun0 interface on machine mail to the ethernet ed0 interface? We tried starting the ppp server with the -direct flag and this did not help. The normal route add commands don't seem to work either. Here is a portion of netstat -r from the machine mail: daniel@mail$ netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 172.16.1.254 UGSc 8 34 ed0 localhost localhost UH 0 6478 lo0 172.16 link#1 UC 0 0 172.16.1.108 0:40:5:18:8f:8 UHLW 0 148 ed0 685 172.16.1.179 0:c0:b4:70:12:7a UHLW 0 4246 ed0 1097 172.16.1.188 0:80:c8:85:6b:bd UHLW 0 2434 ed0 772 tpe mail UH 1 625166 tun0 tpe 0:0:e8:1f:e5:69 UHLS2 0 0 ed0 172.16.1.249 link#1 UHLW 1 0 172.16.1.254 8:0:20:22:e4:e8 UHLW 9 551 ed0 1141 mail 0:0:e8:1f:e5:69 UHLW 1 101343 lo0 Daniel C. Konnoff Myson Technologies 20111 Stevens Creek Blvd. #138 Cupertino, Ca. 95014 daniel@mysonusa.com Tele: 408/252-8788 Fax: 408/252-8789