Date: Sun, 14 May 2000 13:14:35 -0400 From: Robert Fulford <jbstrt@alltel.net> To: freebsd-net@FreeBSD.ORG Subject: multi-homed static routes & ISDN Message-ID: <391EDEFB.7F78D0B5@alltel.net>
next in thread | raw e-mail | index | archive | help
I have a Nortel RT-338 stand-alone ISDN router that uses DHCP. I set the pool size to 2 & the starting IP of the pool to 192.168.0.2. The router has an internal IP of 192.168.0.1. This allows me to use a crossover cable to hook the router into nic #1 on the fbsd box, which has the 192.168.0.2 IP. The second nic in the fbsd box has an IP of 192.168.150.150, and it is hooked into a hub, where W2k boxes w/ IP's of 192.168.150.154 & 192.168.150.156 are also hooked. The dfgw on the W2k boxes are set to 192.168.150.150, and the DNS addresses are set to 192.168.0.1. I used route add to enable the W2k boxes to access the 192.168.0.0 from the 192.168.150.150 interface. I used "route add -net 0.0.0.0 192.168.0.1" on the fbsd box to allow outside contacts. I have the following set in /etc/resolv.conf... nameserver 192.168.0.1 nameserver <the ip address of my ISP's primary DNS server> nameserver <the ip address of my ISP's secondary DNS server> I do not have named_enable="YES" in /etc/rc.conf I can ping the 192.168.0.2 from the W2k boxes, and a ping to 192.168.0.1 triggers the router to activate the ISDN line. However, when the line hooks, i cannot ping outside IP's from the W2k boxes. I can ping an outside IP from the fbsd box, however. A web browser on the W2k boxes will trigger the ISDN, also, but no data gets through. IPFW is default to accept, and I have tried ppp_nat="YES" in rc.conf to no avail. I do not have firewall enabled in rc.conf, I will use it when I get IPFW rules set up accordingly. I have static_routes="" in rc.conf...should this be static_routes=" " ? This is on a 4.0 release box, and the syntax from 3.2 fails, where it allowed static_routes="route_blahone route_blahtwo" route_blahone="-net xxx.xxx.xxx.x xxx.xxx.xxx.xxx" route_blahtwo="-net xxx.xxx.xxx.x xxx.xxx.xxx.xxx" I am not running any routing daemons, like routed or mrouted, and gateway_enable="YES" in rc.conf, and default_router="192.168.0.1" I also have forward_sourceroute & accept_sourceroute set to yes. Can I get this working just using the routing tables? If so, what route add am I missing? I do not understand the man page for "route" that well, especially the -interface option. Thanks, Jeb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?391EDEFB.7F78D0B5>