Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 1997 12:00:35 -0800 (PST)
From:      "Daniel C. Konnoff" <daniel@mysonusa.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   ppp routing problems
Message-ID:  <Pine.SUN.3.96.971104115324.7778E-100000@epsilon>

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






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