From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 18 17:36:06 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CDF916A4CE for ; Fri, 18 Mar 2005 17:36:06 +0000 (GMT) Received: from kuldipmanak.chamkila.org (node-40240ed2.sjc.onnet.us.uu.net [64.36.14.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2527143D4C for ; Fri, 18 Mar 2005 17:36:06 +0000 (GMT) (envelope-from aman@chamkila.org) Received: from mail.chamkila.org (localhost.localdomain [127.0.0.1]) j2IHYPBg025615; Fri, 18 Mar 2005 09:34:27 -0800 Received: from 69.36.228.194 (proxying for 192.168.96.214) (SquirrelMail authenticated user aman); by mail.chamkila.org with HTTP; Fri, 18 Mar 2005 09:34:27 -0800 (PST) Message-ID: <41763.69.36.228.194.1111167267.squirrel@69.36.228.194> In-Reply-To: <200503181647.26346.doconnor@gsoft.com.au> References: <44497.69.36.228.194.1110474073.squirrel@69.36.228.194> <20050316221046.GA75292@unixpages.org> <53000.69.36.228.194.1111090664.squirrel@69.36.228.194> <200503181647.26346.doconnor@gsoft.com.au> Date: Fri, 18 Mar 2005 09:34:27 -0800 (PST) From: "Amandeep Pannu" To: "Daniel O'Connor" User-Agent: SquirrelMail/1.5.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal cc: freebsd-hackers@freebsd.org cc: Amandeep Pannu Subject: Re: Freebsd 5.0 NICs issue X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2005 17:36:06 -0000 Hi daniel, Josseph in this mailing list responded that I can do ifconfig em1 alias inet 205.229.165.8 netmask 255.255.255.255 Can I? I need the other NIC for some internal operations. > On Fri, 18 Mar 2005 06:47, Amandeep Pannu wrote: >> Now the em0 nic is up with 205.229.165.4 netmask 255.255.255.0 >> ifconfig em1 inet 205.229.165.8 netmask 255.255.255.0 up > > You can't have 2 NIC's on the same subnet (you can't have 2 IPs on any NIC > in > the same subnet). > > Why do you want to do this? If you want an alias you only need 1 NIC and > you > do.. > > ifconfig em0 inet 205.229.165.4 netmask 255.255.255.0 > ifconfig em0 alias inet 205.229.165.8 netmask 255.255.255.255 > > What is the second NIC going to be used for? > > -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > -- Amandeep.S aman@chamkila.org http://aman.chamkila.org