Date: Fri, 10 Dec 1999 20:05:44 +0100 (CET) From: Ronald 'Ko' Klop <ronald@node11a94.a2000.nl> To: freebsd-questions@freebsd.org Subject: ppp server and gateway configuration Message-ID: <Pine.BSF.4.05.9912101957030.2756-100000@dlanor.evertsen.nl>
next in thread | raw e-mail | index | archive | help
Hi, I have the following configuration: A LAN with addresses 10.0.0.x and netmask 255.255.255.0 10.0.0.1 is my gateway with nat and cable modem to the rest of the internet. I have a machine with IP 10.0.0.3 and a modem. I configured this one as a ppp dialin server. Dialup works. The machine gets the address 10.0.0.200 and can communicate with 10.0.0.3. But it cannot see the rest of my LAN or the rest of the internet. I configured 10.0.0.3 as a gateway and am using user-ppp. I also tried to give the calling computer the address 20.0.0.x to place it on another subnet, but that didn't work either. Can somebody suggest me how to configure this? Thank in advance, Ronald. PS: please reply by CC: also. This is my ppp.conf: -------------------------------------------------------------- default: # # Make sure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa1 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 120 set ifaddr 20.0.0.3 20.0.0.200 255.255.255.0 set dns 10.0.0.1 set nbns 10.0.0.1 # added by Ronald accept dns accept pap papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone PHONE_NUM set authname USERNAME set authkey PASSWORD -- Ronald Klop http://node11a94.a2000.nl/~ronald/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9912101957030.2756-100000>