From owner-freebsd-questions@FreeBSD.ORG Sat Jan 3 21:33:52 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 BF5C01065675 for ; Sat, 3 Jan 2009 21:33:52 +0000 (UTC) (envelope-from maddaemon@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id 43C358FC2A for ; Sat, 3 Jan 2009 21:33:52 +0000 (UTC) (envelope-from maddaemon@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so4738304fkk.11 for ; Sat, 03 Jan 2009 13:33:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=+rBC/F6qxfO4aHTBTFHuamF+sptNF7lNvfAIhcGggOU=; b=Yq6EwUC4Ifso+64hLud74dX4ST/fRgi3u4mPYtTDOfUH8naqvZyQfv6ymPHvoqQYIP RH/wXeYYelT3wUReVEeNfBWJ+cOMZvxEm9n35ZPIMSO2jwtTbTN+wldp6tEu8YTg9rfm HQBwEvuoEL9rIyA5JgtI2bwGoJxep+/Otas5o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=GGiA0Pho6lXEdWJg6VHm5wc7jG0WR5Siof4pcB5r8UYOZQIo22TXj1OC0F+saLzUEU IxQsPQ4wOuwF2LmzDYdCaZyBk+qC9C5txFrL0kC5h5Keb0uXoz96Gas1aV4XLG8/ADia 6Hwz2YsoQAJRrSWT+ChLXf1SUhz7xZeFQtYlo= Received: by 10.103.172.9 with SMTP id z9mr6831309muo.39.1231018430964; Sat, 03 Jan 2009 13:33:50 -0800 (PST) Received: by 10.103.238.3 with HTTP; Sat, 3 Jan 2009 13:33:50 -0800 (PST) Message-ID: <6c1774c50901031333t118c88dbqa2c7846dba730689@mail.gmail.com> Date: Sat, 3 Jan 2009 16:33:50 -0500 From: "maddaemon@gmail.com" To: "Stefan Miklosovic" , freebsd-questions@freebsd.org In-Reply-To: <6.0.0.22.2.20090103142240.0260e638@mail.computinginnovations.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6.0.0.22.2.20090103142240.0260e638@mail.computinginnovations.com> Cc: Subject: Re: two ethernet cards 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: Sat, 03 Jan 2009 21:33:53 -0000 On Sat, Jan 3, 2009 at 3:24 PM, Derek Ragona wrote: > At 06:21 PM 1/2/2009, Stefan Miklosovic wrote: >> >> hi >> >> i have two ethernet cards on my box >> >> uname -a >> FreeBSD dexter 7.0-RELEASE Freebsd 7.0-RELEASE #5: Fri Jan 2 21:25:21 >> CET >> 2009 root@dexter:/usr/obj/usr/src/sys/DEXTER i386 >> >> ifconfig >> rl0: flags=8843 metric 0 mtu 1500 >> options=8 >> ether XX:XX:XX:XX:XX:XX >> inet 192.168.0.177 netmask 0xffffff00 broadcast 192.168.0.255 >> media: Ethernet 100baseTX >> status: active >> sk0: flags=8843 metric 0 mtu 1500 >> options=b >> ether XX:XX:XX:XX:XX:XX >> inet 192.168.0.176 netmask 0xffffff00 broadcast 192.168.0.255 >> media: Ethernet 100baseTX (100baseTX ) >> status: active >> lo0: flags=8049 metric 0 mtu 16384 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 >> inet6 ::1 prefixlen 128 >> inet 127.0.0.1 netmask 0xff000000 >> >> when I want to ping sk0 from eth0 on linux box, ping is ok, but this >> message >> appears to me in freebsd console >> >> Jan 3 01:07:39 dexter kernel: arp: 192.168.0.2 is on rl0 but got reply >> from >> XX:XX:XX:XX:XX:XX on sk0 >> >> linux command >> ping -I eth0 192.168.0.176 >> >> linux ifconfig >> >> eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX >> inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 >> inet6 addr: fe80::20a:e4ff:fef3:abb6/64 Scope:Link >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:3 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:88 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:180 (180.0 B) TX bytes:11542 (11.2 KB) >> Interrupt:22 Base address:0x3000 >> >> lo Link encap:Local Loopback >> inet addr:127.0.0.1 Mask:255.0.0.0 >> inet6 addr: ::1/128 Scope:Host >> UP LOOPBACK RUNNING MTU:16436 Metric:1 >> RX packets:416 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:416 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:0 >> RX bytes:25130 (24.5 KB) TX bytes:25130 (24.5 KB) >> >> wlan0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX >> inet addr:192.168.0.173 Bcast:192.168.0.255 Mask:255.255.255.0 >> inet6 addr: fe80::214:a4ff:fe79:3cbc/64 Scope:Link >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:30030 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:25399 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:32882410 (31.3 MB) TX bytes:3522346 (3.3 MB) >> >> mac adres from eth0 on linux machine is same as from the error output on >> bsd >> >> >> >> thank you a lot >> >> stewe > > With two NIC's in the same system they need to be on separate and discrete > subnets. If these are put into a dumb switch, you will still get arp > errors. You need to connect each NIC to a separate network or VLAN. > > -Derek I disagree. I have numerous boxen with dual NICs that are on the same subnet/VLAN. OOC, why do you state they "need" to be on different subnets?