From owner-freebsd-net@FreeBSD.ORG Wed Apr 2 13:28:50 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01D2E37B401 for ; Wed, 2 Apr 2003 13:28:50 -0800 (PST) Received: from rigel.cs.pdx.edu (rigel.cs.pdx.edu [131.252.208.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2500C43FB1 for ; Wed, 2 Apr 2003 13:28:49 -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 h32LSmjw011784 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 2 Apr 2003 13:28:48 -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 h32LSm2J025104 for ; Wed, 2 Apr 2003 13:28:48 -0800 (PST) Received: from localhost (sashi@localhost)h32LSllQ025101 for ; Wed, 2 Apr 2003 13:28:47 -0800 (PST) Date: Wed, 2 Apr 2003 13:28:47 -0800 (PST) From: Sashikiran Rachakonda To: freebsd-net@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Question Regarding IP Alias X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2003 21:28:50 -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.