From owner-freebsd-questions@FreeBSD.ORG Sun Dec 28 05:27:17 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 22D6516A4CE for ; Sun, 28 Dec 2003 05:27:17 -0800 (PST) Received: from cheyenne.wixb.com (cheyenne.wixb.com [65.43.82.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6C1443D45 for ; Sun, 28 Dec 2003 05:27:13 -0800 (PST) (envelope-from jeff_bronson@wixb.com) Received: from thinkpad.wixb.com (thinkpad.wixb.com [10.43.82.5]) hBSDR8RD007503; Sun, 28 Dec 2003 07:27:08 -0600 (CST) Message-Id: <6.0.1.1.2.20031228072355.00b44178@cheyenne.wixb.com> Date: Sun, 28 Dec 2003 07:27:09 -0600 To: niraj kumar From: =?iso-8859-1?Q?=22J=2ED=2E_Bronson=AE=22?= In-Reply-To: <20031228132152.56172.qmail@web8310.mail.in.yahoo.com> References: <20031228132152.56172.qmail@web8310.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: ip addressing in freebsd 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: Sun, 28 Dec 2003 13:27:17 -0000 At 07:21 AM 12/28/2003, you wrote: >1. in freebsd we can have two ip address for a single host like 2.0.0.1 & >17.0.0.1 by using ifconfig but why can't we assign two ip like 2.0.0.1 & >2.0.0.2 (i know that both r in same network) >2 so where is the problem in resolving the ip addressing of the host >3 where i can find more about this (links) > >4. where is the code of the ip resolution in >the kernel > niraj > You can do this. You setup aliases in rc.conf: ifconfig_bge0="inet 2.0.0.1 netmask 255.255.255.0" ifconfig_bge0_alias0="inet 2.0.0.2 netmask 255.255.255.255" ( you need a 32bit mask on any aliases especially ones on the same subnet) then, if you do this you will see ARP complaints. To quiet that up add this to your sysctl.conf: net.link.ether.inet.log_arp_wrong_iface=0 Hope this helps!