From owner-freebsd-questions@FreeBSD.ORG Tue Jan 13 11:10:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC1141065673 for ; Tue, 13 Jan 2009 11:10:48 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 32F3B8FC14 for ; Tue, 13 Jan 2009 11:10:47 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n0DB7wjv012310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Jan 2009 18:07:58 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.2/8.12.11) id n0DBAifE093409; Tue, 13 Jan 2009 18:10:44 +0700 (ICT) Date: Tue, 13 Jan 2009 18:10:44 +0700 (ICT) Message-Id: <200901131110.n0DBAifE093409@banyan.cs.ait.ac.th> From: Olivier Nicole To: Pieter.Donche@ua.ac.be In-reply-to: (message from Pieter Donche on Tue, 13 Jan 2009 12:03:17 +0100 (CET)) References: X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: 2 networkcards in 1 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 11:10:49 -0000 Hi, > and selected em1 and gave it its IP parameters > (I used the same hostname macos.cmi.ua.ac.be, in the DNS servers here > macos.cmi.ua.ac.be is assigned to two IP addresses) First I doubt that this will work. You can assign several names to a single IP address in DNS, but you cannot assign several IP to the same name. > (After rebooting, em1 appears in the boot messages with the correct > Mac- and IP address.. ) > > But I get many messages: > Jan 13 11:05:25 macos kernel: arp: 143.129.XX.YY is on em0 but got reply > from 00:1b:21:UU:VV:WW on em1 > Jan 13 11:54.25 macos kernel: arp: 143.129.XX.YY is on em0 but got reply > from 03:ba:14:UU:VV:WW on em1 Let me guess, both NIC are connected to the same network? If so you cannot predict what interface will reply first, so you can send a packet through one interface and get a reply from the other interface. In standard operation, you don't want to have your two NICs connected to the same LAN with and IP in the same subnet. > Or do I need to 'deconfigure' em1? How can I do that? Edit /etc/rc.conf and remove all the lines that start with: ifconfig_em1 Olivier