From owner-freebsd-newbies Fri Jan 25 11:38:49 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from moutvdom00.kundenserver.de (moutvdom00.kundenserver.de [195.20.224.149]) by hub.freebsd.org (Postfix) with ESMTP id 3B98837B400 for ; Fri, 25 Jan 2002 11:38:44 -0800 (PST) Received: from [195.20.224.204] (helo=mrvdom00.kundenserver.de) by moutvdom00.kundenserver.de with esmtp (Exim 2.12 #2) id 16UCBP-0003FB-00 for freebsd-newbies@freebsd.org; Fri, 25 Jan 2002 20:38:43 +0100 Received: from [217.5.15.33] (helo=hivi) by mrvdom00.kundenserver.de with smtp (Exim 2.12 #2) id 16UCBP-00087Y-00 for freebsd-newbies@freebsd.org; Fri, 25 Jan 2002 20:38:43 +0100 From: "Alex Huth" To: Subject: Routing trouble Date: Fri, 25 Jan 2002 20:49:28 +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) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-newbies@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-newbies" in the body of the message