Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 1998 17:27:46 +0200
From:      Laurie Fialkov <laurief@eng.uct.ac.za>
To:        questions@FreeBSD.ORG
Subject:   PPP Server Setup
Message-ID:  <3639DAF2.F6741144@eng.uct.ac.za>

next in thread | raw e-mail | index | archive | help
Hi

I am running 2.2.7-R.  There are 3 interfaces,  3com 3c905 ethernet card
with an
address of 192.168.1.1/26 used to run samba on a WinXX network, and two
modem connections.  One of the modem connections is using tun0 to
connect to
an  isp, and we would like to setup the second modem to answer ppp
incoming connections.

The network is setup as follows: (H=pc host, F=FreeBSD, ISP -- working)
H        H        H
\-------\-------\                                                (ppp
-dedicated -alias)
                       |---(xl0
192.168.1.1/26)------F---------(tun0)-------ISP

We want to add (ppp) dialing to the FreeBSD box:

H        H        H
\-------\-------\
(ppp -dedicated -alias)
                       |---(xl0
192.168.1.1/26)------F---------(tun0)-------ISP
                                                                      |
               ?-------(tun1 192.168.1.193/26) ---\


So far the following is configured and working.
1.The connection to the isp (ppp -dedicated -alias) is working
2. mgetty is configured and is running auto_ppp and runs ppp -direct
CHAPserver
which is like this in the ppp.conf file:

CHAPserver:
 set device /dev/cuaa1
 enable chap
 enable proxy
 set ifaddr 192.168.1.194 192.168.1.193 255.255.255.255

ppp.secrets:

laurie          123qwe                  192.168.1.194/26

When the win95 machine connects using dialup neworking, the machine is
autheneticated correctly but the netmask is set to 255.255.255.0, the ip
number and gatway are both set to 192.168.1.194.

We would like the ip number to be 192.168.1.194, the gateway
192.168.1.193
the netmask 255.255.255.192.

Do we have to use ifconfig to set anything and do we need to add extra
routes in the routing table (we are using static routing) or do we use
ifaddr to set the gateway of the dialing in machine.

Thanks

laurie



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?3639DAF2.F6741144>