From owner-freebsd-questions Tue Jan 19 03:23:58 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA23330 for freebsd-questions-outgoing; Tue, 19 Jan 1999 03:23:58 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dns.ie-online.it (dns.ie-online.it [194.133.148.8]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA23324 for ; Tue, 19 Jan 1999 03:23:55 -0800 (PST) (envelope-from sriva@alice.it) Received: from dns.ie-interna.it (host1.ie-online.it [194.133.148.10]) by dns.ie-online.it (8.8.8/8.8.8) with ESMTP id MAA21064; Tue, 19 Jan 1999 12:23:46 +0100 (CET) (envelope-from sriva@alice.it) Received: from stefano (stefano.ie-interna.it [192.168.0.33]) by dns.ie-interna.it (8.8.8/8.8.8) with SMTP id MAA17009; Tue, 19 Jan 1999 12:23:45 +0100 (CET) (envelope-from sriva@alice.it) Message-Id: <3.0.5.32.19990119122345.00af06f0@relay.alice.it> X-Sender: riva@relay.alice.it X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Tue, 19 Jan 1999 12:23:45 +0100 To: "Paul" , freebsd-questions@FreeBSD.ORG From: Stefano Riva Subject: Re: routing In-Reply-To: <000301be439c$22134540$13ef3dca@bosses.rampge.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 19.09 19/01/99 +0800, you wrote: >when i add the default route the gateway i have is not on the same subnet as >the IP of the machine >eg.. let say my machines IP is 192.168.0.1 and the gateway is 10.0.0.1 >when i try route -n add -net 0.0.0.0 10.0.0.1 >i get host unreachable I suppose you mean you have two or more IP classes on the same physical network. As far as I know, you need a gateway on your subnet, but I'm not an expert at all. Mmmhhhh... You may try to play with ifconfig... Anyway, if you find a way to solve this problem, I'd like to be informed... I'll be facing soon with a vaguely similar problem, so I'm very interested! --- Stefano Riva Software Engineer - Systems Administrator Informazioni Editoriali I.E. Srl Phone +39-027528400, Fax +39-027528451 Email sriva@alice.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message