From owner-freebsd-questions Wed Jul 7 2:16: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from picard.ee.ucl.ac.uk (picard.ee.ucl.ac.uk [128.40.42.82]) by hub.freebsd.org (Postfix) with ESMTP id 56DC214C0A for ; Wed, 7 Jul 1999 02:15:54 -0700 (PDT) (envelope-from lcommand@ee.ucl.ac.uk) Received: from frog.ee.ucl.ac.uk (frog [128.40.42.166]) by picard.ee.ucl.ac.uk (8.9.1/8.9.1) with SMTP id KAA21770 for ; Wed, 7 Jul 1999 10:15:52 +0100 (BST) Received: from localhost by frog.ee.ucl.ac.uk (SMI-8.6/SMI-SVR4) id KAA27436; Wed, 7 Jul 1999 10:15:52 +0100 Date: Wed, 7 Jul 1999 10:15:51 +0100 (BST) From: Lawrence Commander X-Sender: lcommand@frog To: freebsd-questions@freebsd.org Subject: Re: using dip: no route to host In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG (replying for the mail archive) On Fri, 2 Jul 1999, Doug White wrote: > You don't set a default route, unless that's what 'default' does. Check > netstat -rn. The routing semantics may have changed so dip doesn't know > how to set routes anymore. > > > >> default > > Destination net/address set to 'default' > > >> print Local IP ... $locip > > Local IP ... 193.60.255.6 > > >> print Remote IP .. $rmtip > > Remote IP .. 193.60.255.5 > > >> print Netmask .... $netmask > > Netmask .... 255.255.255.0 > > >> print MTU ........ $mtu > > MTU ........ 1500 > [...] > > --- 144.82.100.41 ping statistics --- > > Note this is off your local subnet. > OK I got it to work (Thanks!!) by simply doing the following: localhost# route add default 193.60.255.37 add net default: gateway 193.60.255.37 Now I still don't understand what's happening as according to the dip man page that's exactly what 'default' does in a dip script (it says it executes 'route add default $rmtip'). Anyway, it works so I'm happy, thanks again. Lawrence. +----------------------------------------------------------------+ | Lawrence Commander, Tel: (+44) 0171 419 3990 | | Research Fellow, Fax: (+44) 0171 387 4350 | | Dept of Elec. Eng., | | University College London, | | London WC1E 7JE e-mail: lcommand@ee.ucl.ac.uk | | UK. http://www.ee.ucl.ac.uk/~lcommand | +----------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message