From owner-freebsd-net@FreeBSD.ORG Thu Apr 10 12:27:38 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 EE0C637B404 for ; Thu, 10 Apr 2003 12:27:37 -0700 (PDT) Received: from rigel.cs.pdx.edu (rigel.cs.pdx.edu [131.252.208.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FBAD43F85 for ; Thu, 10 Apr 2003 12:27:34 -0700 (PDT) (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 h3AJRXjw017011 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 10 Apr 2003 12:27:33 -0700 (PDT) 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 h3AJRX2J027018 for ; Thu, 10 Apr 2003 12:27:33 -0700 (PDT) Received: from localhost (sashi@localhost)h3AJRWcA027015 for ; Thu, 10 Apr 2003 12:27:32 -0700 (PDT) Date: Thu, 10 Apr 2003 12:27:32 -0700 (PDT) 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: Thu, 10 Apr 2003 19:27:38 -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.