From owner-freebsd-isdn Fri Jul 30 2:37:23 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from Dolinca.IBC.IskraSistemi.Si (Dolinca.IBC.IskraSistemi.Si [194.249.213.241]) by hub.freebsd.org (Postfix) with ESMTP id A3B3A150A7 for ; Fri, 30 Jul 1999 02:37:18 -0700 (PDT) (envelope-from brodnik@Dolinca.IBC.IskraSistemi.Si) Received: (from brodnik@localhost) by Dolinca.IBC.IskraSistemi.Si (8.8.8/8.8.7) id LAA18179 for freebsd-isdn@FreeBSD.ORG; Fri, 30 Jul 1999 11:44:33 +0200 (CEST) (envelope-from brodnik) From: Andrej Brodnik (Andy) Message-Id: <199907300944.LAA18179@Dolinca.IBC.IskraSistemi.Si> Subject: I guess problem(?) with PPP To: freebsd-isdn@FreeBSD.ORG Date: Fri, 30 Jul 1999 11:44:33 +0200 (CEST) Organization: IBC, Iskra Systems Reply-To: Andrej.Brodnik@IBC.IskraSistemi.SI (Andrej Brodnik (Andy)) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi to everybody and _MANY_THANX_ for your help. The ISDN connection is established and I can also ping/whatever the other side of the line. Finally I enabled automatic start-up of the isdnd (in /etc/rc.conf). However, there is a slight problem: if I enable monitoring from some other machine on the net and this machine is specified by its name (not IP address), isdnd fails to start since default route is set yet and DNS can not be consulted to resolve the name. Next, now I have a couple of questions with regard to the ppp.conf seting: - not so important part: Can somebody in simple terms explains what does set enddisc mac in the ppp.conf.sample? It produced a warning and I simply deleted it (commented it out). - the more serious problem is the routing problem and routing on its own. The configuration I have looks like this: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ============================================== 192.168.1.0/24 | 192.168.1.1 +------------+ | mach-1 | +------------+ | 192.168.1.128 ISDN | 192.168.1.129 +------------+ | mach-2 | +------------+ | A.B.C.1 ============================================== A.B.C.D/24 | A.B.C.2 +------------+ | GW | +------------+ | INTERNET ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Mach-1 and mach-2 are ``gateways'' in two separate departments. What I want to establish is transparent access from the net A.B.C.D/24 to the net 192.168.1.0/24. I enabled gateway on GW and mach-2 (in /etc/rc.conf). Next, in my ppp.conf on mach-2 it stands: set ifaddr 192.168.1.129/25 192.168.1.128/25 add! 192.168.1.0/24 HISADDR And on GW I added route add -net 192.168.1.0 -host mach-2 Now, my routing table on mach-2 looks like this: # netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default GW UGSc 0 0 ep0 LOCALHOST LOCALHOST UH 0 0 lo0 192.168.1 192.168.1.128 UGSc 0 10 tun0 192.168.1.128 192.168.1.129 UH 1 0 tun0 A.B.C.1/24 link#1 UC 0 0 ep0 # When I ping from mach-2 to anything on 192.168.1.0/24 net, the ISDN connection goes up and I get the reply. However, when I traceroute from GW to something on 192.168.1.0/24 net I get to mach2 and no further. What is wrong? Thanx in advance for the answers (again)! LPA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message