Date: Fri, 17 Nov 2000 12:08:00 +0100 From: Stefan Aeschbacher <stefan@aeschbacher.com> To: freebsd-hackers@freebsd.org Subject: Re: 2 interfaces on one machine Message-ID: <3A151190.BDA43C48@aeschbacher.com> References: <200011171006.NAA15426@ns.klondike.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A151190.BDA43C48>