From owner-freebsd-questions Sun Jan 27 0: 4:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from moutvdom01.kundenserver.de (moutvdom01.kundenserver.de [195.20.224.200]) by hub.freebsd.org (Postfix) with ESMTP id 91D3C37B404 for ; Sun, 27 Jan 2002 00:04:47 -0800 (PST) Received: from [195.20.224.220] (helo=mrvdom04.kundenserver.de) by moutvdom01.kundenserver.de with esmtp (Exim 2.12 #2) id 16UkIw-0007gF-00 for freebsd-questions@freebsd.org; Sun, 27 Jan 2002 09:04:46 +0100 Received: from [217.5.15.120] (helo=hivi) by mrvdom04.kundenserver.de with smtp (Exim 2.12 #2) id 16UkIw-0007M9-00 for freebsd-questions@freebsd.org; Sun, 27 Jan 2002 09:04:46 +0100 From: "Alex Huth" To: Subject: Routing trouble Date: Sun, 27 Jan 2002 09:15:33 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hiu guys! I thought i have experience in routing but it doesn´t seem so. I have a box with an ISDN card and an ethernet interface. I set up ISDN and wrote a script to set up the isdn interface and routing, like the following: in /etc/rc.conf ifconfig ep0 "inet 192.168.100.2 netmask 255.255.255.0" ifconfig isp0 "inet 192.168.1.2 123.123.123.123 netmask 255.255.255.255 link1" I wrote a script like this ifconfig isp0 delete link1 ispppcontrol isp0 myauthproto .... route add default -interface isp0 When I reboot the isdnmonitor shows the connect and the idletime is also working. But if i try to ping or nslookup the outside there is no route to host. The routingtable looks a little bit strange: default 0:0:0:0:0:0 isp0 192.168.100 ep0 192.168.1.2 217.12.32.34 isp0 (after connect, because dynamic) 192.168.100.2 link1 So where is the problem and how can i resolve it? Thanks a lot Alex Huth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message