Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 96 14:01:10 +0200
From:      Dmitry Solodov <dima@irs.riga.lv>
To:        questions@freebsd.org
Subject:   HELP: configuration problem with kernel ppp
Message-ID:  <3275f208.irs@irs.riga.lv>

next in thread | raw e-mail | index | archive | help
Hello,

the following configuration problems was met on local intranet, when it
was tried to configure server side PPP access.

We have a LAN with two segments with net address 194.8.30.0 and 194.8.32.0,
and want to setup ppp access to it through FreeBSD 2.1.0 machine.

Kernel ppp was configured ( added pseude-device ppp 4, remove tun
pseude-device and added GATEWAY to kernel configuration file). Then 
created /etc/ppp/options and added a new user, who has pppd as login 
shell.

/etc/ppp/options has the contents:
 194.8.30.241:194.8.30.240
 netmask 255.255.255.0
 modem
 crtscts
 passive

The routing table on FreeBSD the system, when connection is established looks like

localhost.auxili localhost.auxilium UH          0        0       lo0
194.8.30         link#2             UC          1        0
os2srv.auxilium. 0:20:af:43:0:65    UHLW        0       20       ed0   1060
angel.auxilium.l 0:c0:df:41:af:8    UHLW        3       23       lo0
irs.auxilium.lv. 194.8.30.241       UH          1       55      ppp0
194.8.30.255     link#2             UHLW        0        1
194.8.32         link#1             UC          1        0
angel.auxilium.l 0:c0:df:41:ad:d7   UHLW        1        2       lo0
194.8.32.255     link#1             UHLW        1        3

However it's not possible to access any machine on LAN from ppp client machine.
Also ppp client (194.8.30.240) is accessible only from the FreeBSD machine. 
But routing table seems fine, also ip.forwarding is ON in the kernel. What's
missed ?

Another problem is that ppp to FreeBSD works fine only for the first 
connection after FreeBSD system reboot. Any next connection establishes 
fine, but neither ping nor do anything else works over the link any next 
time connection is up. Why ?

Online handbook was studied carefully, but I did not like the idea
to let PPP own the modem completely, as other logons should be accepted
as well, so PPPD was set as login shell. Was this acceptable ?

Any help will be greatly appreciated.

Thanks in advance. Dima.
dima@irs.riga.lv





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3275f208.irs>