From owner-freebsd-questions@FreeBSD.ORG Sat Oct 15 06:10:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2943A16A41F for ; Sat, 15 Oct 2005 06:10:58 +0000 (GMT) (envelope-from bhepple@freeshell.org) Received: from mail03.syd.optusnet.com.au (mail03.syd.optusnet.com.au [211.29.132.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51E0143D46 for ; Sat, 15 Oct 2005 06:10:56 +0000 (GMT) (envelope-from bhepple@freeshell.org) Received: from raita.finder.com.au (c210-49-134-123.rochd1.qld.optusnet.com.au [210.49.134.123]) by mail03.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id j9F6AsKf020093 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sat, 15 Oct 2005 16:10:55 +1000 Received: from raita.finder.com.au (localhost [127.0.0.1]) by raita.finder.com.au (8.13.1/8.13.1) with SMTP id j9F6AsMv004068 for ; Sat, 15 Oct 2005 16:10:57 +1000 (EST) (envelope-from bhepple@freeshell.org) Date: Sat, 15 Oct 2005 16:10:54 +1000 From: Bob Hepple To: freebsd-questions@freebsd.org Message-Id: <20051015161054.37d56e8b.bhepple@freeshell.org> In-Reply-To: <43507EB9.306@cs.tu-berlin.de> References: <20051015092747.008bf142.bhepple@freeshell.org> <43507EB9.306@cs.tu-berlin.de> X-Mailer: Sylpheed version 2.0.1 (GTK+ 2.6.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: FreeBSD routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Oct 2005 06:10:58 -0000 On Sat, 15 Oct 2005 05:59:53 +0200 Bj=F6rn K=F6nig wrote: > Bob Hepple wrote: > > [...] > > I just want to add an arbitrary machine (eg. with IP 192.168.2.214) to = my > > home network 192.168.254.0/24. Under Linux I just do a=20 > >=20 > > route add -host 192.168.2.214 eth0 > >=20 > > and I can ping it. > >=20 > > On FreeBSD I tried both > >=20 > > route add -host 192.168.2.214 192.168.254.245 > > route add -host 192.168.2.214 -interface rl0 > >=20 > > but I'm getting some kind of redirect loop. Apparently my use of the > > FreeBSD route command is wrong. > > =20 > Hello Bob, >=20 > welcome to FreeBSD. >=20 > I won't expect that this will work at all, even not with Linux, because=20 > the IP 192.168.254.245 and 192.168.2.214 are of different subnets.=20 > Either you use 192.168.254.0/24 or 192.168.2.0/24 in the 10baseT net,=20 > but not both. I don't know if Linux makes it possible to do this; I=20 > haven't tried it yet. At least I can reproduce your error message with a= =20 > similar setup. Just assign the IP 192.168.2.245 to rl0 for example; then= =20 > it should work without problems. >=20 > Regards > Bj=F6rn Hi Bj=F6rn I know it looks a bit odd, but Linux is perfectly happy with it. I've relied on it every day for the last 6 years or so.=20 The reason I'm doing it this way is that I have machines at work on the 192.168.2.0/24 network that I access from home over openvpn. So I can't grab 192.168.2 at home. But I always bring home one of many different machines - they're already configured to 192.168.2.214. It's so convenient to be able to access all of 192.168.2 over openvpn _except_ for the one machine 192.168.2.214. It's just a bit of a fag to re-configure each machine for home use - particularly as it could be freebsd, linux (x 4 distros), Solaris, AIX, SCO OS5, SCO UW7, HPUX etc etc and they all configure in different ways. Oh well. Thanks very much for confirming it - at least I can stop scouring the man pages & google - I learned a lot on the way. I must say I like FreeBSD very much - very stable drivers compared to Linux whose wifi drivers seem to hang the system quite a lot. That's the main reason I'm trying to make the move to FreeBSD - my wifi connection goes about twice as fast (4-5 Mbps on FreeBSD vs 1-2 Mbps with Linux) and is _much_ more stable. Bob --=20 Bob Hepple mailto:bhepple@freeshell.org http://bhepple.freeshell.org Public Key: http://bhepple.freeshell.org/public_keys.txt