From owner-freebsd-questions Wed Oct 28 09:18:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA20830 for freebsd-questions-outgoing; Wed, 28 Oct 1998 09:18:07 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pau-amma.whistle.com (s205m64.whistle.com [207.76.205.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA20824 for ; Wed, 28 Oct 1998 09:18:06 -0800 (PST) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.8.8/8.8.7) id JAA11777; Wed, 28 Oct 1998 09:16:19 -0800 (PST) (envelope-from dhw) Date: Wed, 28 Oct 1998 09:16:19 -0800 (PST) From: David Wolfskill Message-Id: <199810281716.JAA11777@pau-amma.whistle.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: route and default question Cc: neilson@nugate.com In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Date: Tue, 27 Oct 98 20:27:50 PST >From: "D. Alex Neilson" >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