From owner-freebsd-hackers Fri Nov 17 3: 5:10 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from memogw1.sbb.ch (memogw1.sbb.ch [147.78.29.212]) by hub.freebsd.org (Postfix) with ESMTP id 7B8A137B479 for ; Fri, 17 Nov 2000 03:05:07 -0800 (PST) Received: from aeschbacher.com (I28405.sbb.ch [147.78.31.196]) by memogw1.sbb.ch (2.5 Build 2640 (Berkeley 8.8.6)/8.8.4) with ESMTP id MAA09729 for ; Fri, 17 Nov 2000 12:04:53 +0100 Message-ID: <3A151190.BDA43C48@aeschbacher.com> Date: Fri, 17 Nov 2000 12:08:00 +0100 From: Stefan Aeschbacher X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: 2 interfaces on one machine References: <200011171006.NAA15426@ns.klondike.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi the problem is, that you have the same subnet (indicated by the netmask) on two interfaces. The best solution to the problem is taking two different subnets, e.g. 192.168.0.0 netmask 255.255.255.0 on lo0 and 192.168.1.0 netmask 255.255.255.0 on fxp0. It is also possible to use the 192.168.0 net for both interfaces but the you have to set up something like this: 192.168.0.0 netmask 255.255.255.128 on lo0 and 192.168.0.128 netmask 255.255.255.128 on fxp0 (so you have ip 192.168.0.0-127 on lo0 and 192.168.128-255 on fxp0) Stefan Kaltashkin Eugene wrote: > > Hello. > > i have 2 interface netcard on one computer. > This card have ip numbers from one net , eq 192.168.0.1 and 192.168.0.2 > i see in log files message > arp 192.168.0.2 is on lo0 but got reply from xx:xx:xx:xx on fxp0 ? > > what is it ? > > Best Regards. > Zhecka. > -- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message