From owner-freebsd-questions Thu Dec 7 16:46:20 2000 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 7 16:46:17 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from linus.dvart.com (linus.dvart.com [64.79.2.3]) by hub.freebsd.org (Postfix) with ESMTP id CA00D37B402 for ; Thu, 7 Dec 2000 16:46:16 -0800 (PST) Received: from bsd.dvart.com (bsd.dvart.com [192.168.100.189]) by linus.dvart.com (8.9.3/8.9.3) with ESMTP id PAA03785; Thu, 7 Dec 2000 15:56:17 -0800 Date: Thu, 7 Dec 2000 16:45:09 -0800 (PST) From: bruno schwander Reply-To: bschwand@dvart.com To: "Walter W. Hop" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to setup routes through another (aliased) IP? In-Reply-To: <151297020032.20001208013505@binity.nl> 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 route -n add -host host.to.route.to my.interface.ip.to.route.through bruno On Fri, 8 Dec 2000, Walter W. Hop wrote: > Hi all, > > I have just one quick question. In RH Linux I always used to set up routes > like this: ``route add -host 1.2.3.4 eth0:5'', which caused packets to > that host to come from the IP address associated with eth0:5, instead of > the default route. I did my best with the FreeBSD route and various > parameters, but can't get it right... (I have an xl0 interface with a > few IP addresses) > > Any clues on this? Sorry to bother you with this :) > > walter > > -- > Walter W. Hop | +31 6 24290808 | PGP key: 0xD4DD8DEB > "What you say intrigues me and I would like to subscribe to your newsletter." > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message