From owner-freebsd-questions Tue Oct 29 05:28:25 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA27797 for questions-outgoing; Tue, 29 Oct 1996 05:28:25 -0800 (PST) Received: from wolf.riga.lv (wolf.riga.lv [194.8.12.90]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id FAA27789 for ; Tue, 29 Oct 1996 05:28:16 -0800 (PST) Received: from stoat.riga.lv by wolf.riga.lv with SMTP id AA22596 (5.65.kiae-1 for ); Tue, 29 Oct 1996 15:09:51 +0200 Received: from irs.UUCP by stoat.riga.lv with UUCP id AA29220 (5.65.kiae-1 for questions@freebsd.org); Tue, 29 Oct 1996 15:12:48 +0200 Received: by irs.riga.lv (UUPC/extended 1.12r); Tue, 29 Oct 1996 14:01:12 +0200 Message-Id: <3275f208.irs@irs.riga.lv> Date: Tue, 29 Oct 96 14:01:10 +0200 From: Dmitry Solodov Subject: HELP: configuration problem with kernel ppp To: questions@freebsd.org X-Class: Fast X-Mailer: ELM [version 2.3 PL11] for OS/2 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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