From owner-freebsd-questions@FreeBSD.ORG Wed Apr 2 09:19:58 2003 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 71B1137B401 for ; Wed, 2 Apr 2003 09:19:58 -0800 (PST) Received: from rigel.cs.pdx.edu (rigel.cs.pdx.edu [131.252.208.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 570DE43F85 for ; Wed, 2 Apr 2003 09:18:54 -0800 (PST) (envelope-from sashi@cs.pdx.edu) Received: from sirius.cs.pdx.edu (root@sirius.cs.pdx.edu [131.252.208.57]) by rigel.cs.pdx.edu (8.12.8/8.12.8) with ESMTP id h32HHojw021537 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 2 Apr 2003 09:17:50 -0800 (PST) Received: from sirius.cs.pdx.edu (sashi@localhost [127.0.0.1]) by sirius.cs.pdx.edu (8.12.8/8.12.8) with ESMTP id h32HHo2J009795; Wed, 2 Apr 2003 09:17:50 -0800 (PST) Received: from localhost (sashi@localhost)h32HGiin009729; Wed, 2 Apr 2003 09:16:44 -0800 (PST) Date: Wed, 2 Apr 2003 09:16:44 -0800 (PST) From: Sashikiran Rachakonda To: freebsd-questions@freebsd.org, linux-net@vger.kernel.org, divert@list.anr.mnc.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Question Regarding IP Alias X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2003 17:19:58 -0000 Hi,i have a question regarding the IP Alias. If i bind my interface to 2 ip addresses say 1) ifconfig xl0 add w.x.y.z netmask 255.255.255.0 2) ifconfig xl0 add p.q.r.s netmask 255.255.0.0 Is there a way that i can force the packets coming-out of this interface to have ipSrc = p.q.r.s and not w.x.y.z. My question is is there a way that you can tell the interface to have the IPsrc set to the one we want to, for all packets coming out of this interface. Thanx in Advance, --Sashi.