Date: Wed, 28 Oct 1998 09:16:19 -0800 (PST) From: David Wolfskill <dhw@whistle.com> To: freebsd-questions@FreeBSD.ORG Cc: neilson@nugate.com Subject: Re: route and default question Message-ID: <199810281716.JAA11777@pau-amma.whistle.com> In-Reply-To: <CMM.0.90.4.909548870.neilson@www.nugate.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Tue, 27 Oct 98 20:27:50 PST >From: "D. Alex Neilson" <neilson@www.nugate.com> >I've got a system who's IP is 192.168.68.68, routes set as > Destination Gateway Flags Refs Use Netif > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 192.168.23 link#1 UC 0 0 > 192.168.24 link#2 UC 0 0 > 192.168.24.70 0:40:33:37:8b:f0 UHLW 0 96 vx1 > 207.333.11 link#1 UCSc 0 0 >I'm trying to set my default route via > route add default 207.333.11.1 >and when I do, I get > writing to routing socket: Network is unreachable > add net default: gateway 207.333.11.1: Network is unreachable >I can ping 207.333.11.1 which I thought would imply that there is >a route to it. The "default route" needs to be an address on a directly-connected network. ping (ICMP echo) can traverse network boundaries; the notion of "what IP address do I forward packets to if I can't figure out where else they should go (which implies that they are not on a directly-connected network, because of course I know how to get to the network(s) I'm connected to)" does not. david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810281716.JAA11777>