Date: Fri, 25 Jan 2002 20:49:28 +0100 From: "Alex Huth" <ahuth@pinguintown.de> To: <freebsd-newbies@freebsd.org> Subject: Routing trouble Message-ID: <HOEHLNBHGPBPGMGBLCFJKECDCEAA.ahuth@pinguintown.de>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HOEHLNBHGPBPGMGBLCFJKECDCEAA.ahuth>