From owner-freebsd-questions Tue Nov 4 12:00:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA03174 for questions-outgoing; Tue, 4 Nov 1997 12:00:45 -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 MAA03166 for ; Tue, 4 Nov 1997 12:00:42 -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 VAA10977 for ; Tue, 4 Nov 1997 21:05:42 +0100 Date: Tue, 4 Nov 1997 12:00:35 -0800 (PST) From: "Daniel C. Konnoff" X-Sender: daniel@epsilon To: freebsd-questions@FreeBSD.ORG Subject: ppp routing problems 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 freebsd ppp client to the internet through out freebsd ppp server but have problems doing so. The ppp server machine (mail) is the mail server for our entire comany with a standard ethernet connection to our isp through ethernet interface ed0. 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 (or ping anything beyond the mail machine itself). 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 ppp.conf on the tpe machine uses the -alias option. Any help would be greatly appreciated. Daniel C. Konnoff Myson Technologies 20111 Stevens Creek Blvd. #138 Cupertino, Ca. 95014 daniel@mysonusa.com Tele: 408/252-8788 Fax: 408/252-8789