From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 21:05:00 2005 Return-Path: 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 768B616A4CE for ; Thu, 3 Mar 2005 21:05:00 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id F229443D58 for ; Thu, 3 Mar 2005 21:04:59 +0000 (GMT) (envelope-from gibblertron@gmail.com) Received: by rproxy.gmail.com with SMTP id j1so456286rnf for ; Thu, 03 Mar 2005 13:04:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=qch3kM+lIdga0HJCyxWFkBirfCL4R//gG7B9hZUoyqEU3TNIJmI1be1brssq16aQ8doHgeaAPPceKu3VoEvMuX5rjGlilsDPQD86/7r7xBE8xO8KvLAHbuhqLLttChK0igTOHWz1g1T6vvTORKasaA+LcTirVjcT54JEM3jLDJw= Received: by 10.38.82.53 with SMTP id f53mr28682rnb; Thu, 03 Mar 2005 13:04:38 -0800 (PST) Received: by 10.38.79.52 with HTTP; Thu, 3 Mar 2005 13:04:37 -0800 (PST) Message-ID: Date: Thu, 3 Mar 2005 13:04:37 -0800 From: patrick To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: IP aliases and forcing outbound IP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: patrick List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 21:05:00 -0000 I have a FreeBSD 4.11 box whose ethernet card has several IP address. inet 10.0.1.254 netmask 0xffffff00 broadcast 10.0.1.255 inet 10.0.1.111 netmask 0xffffffff broadcast 10.0.1.111 Is there a way I can cause outbound connections to certain hosts to be from 10.0.1.111 instead of the default 10.0.1.254? I used to be able to do this fairly easy in Linux because each alias is actually a separate ethernet device (eg. eth0:0, eth0:1, etc.), but I haven't figured out how to do this in FreeBSD. Patrick