From owner-freebsd-questions Thu Dec 7 16:32:40 2000 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 7 16:32:38 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from smtpf.casema.net (smtpf.casema.net [195.96.96.173]) by hub.freebsd.org (Postfix) with SMTP id 3F20037B400 for ; Thu, 7 Dec 2000 16:32:33 -0800 (PST) Received: (qmail 7263 invoked by uid 0); 8 Dec 2000 00:32:31 -0000 Received: from unknown (HELO gate.dt.binity.com) (195.96.105.163) by smtpf.casema.net with SMTP; 8 Dec 2000 00:32:31 -0000 Received: from tsunami.dt.binity.com (tsunami.dt.binity.com [172.18.118.218]) by gate.dt.binity.com (8.9.3/8.9.3) with ESMTP id BAA25411 for ; Fri, 8 Dec 2000 01:32:25 +0100 (CET) (envelope-from walter@binity.nl) Date: Fri, 8 Dec 2000 01:35:05 +0100 From: "Walter W. Hop" X-Mailer: The Bat! (v1.47 Halloween Edition) Educational Reply-To: walter@binity.nl X-Priority: 3 (Normal) Message-ID: <151297020032.20001208013505@binity.nl> To: freebsd-questions@freebsd.org Subject: How to setup routes through another (aliased) IP? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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