From owner-freebsd-questions Sat Jan 23 14:08:49 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA22833 for freebsd-questions-outgoing; Sat, 23 Jan 1999 14:08:49 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from implode.root.com (root.com [208.221.12.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA22826 for ; Sat, 23 Jan 1999 14:08:48 -0800 (PST) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id OAA10817; Sat, 23 Jan 1999 14:03:16 -0800 (PST) Message-Id: <199901232203.OAA10817@implode.root.com> To: Toby Swanson cc: questions@FreeBSD.ORG Subject: Re: 2 NICs in 1 FBSD host on same subnet In-reply-to: Your message of "Sat, 23 Jan 1999 13:59:08 EST." From: David Greenman Reply-To: dg@root.com Date: Sat, 23 Jan 1999 14:03:16 -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I want to put 2 Intel EtherExpress Pro 100 network interface cards (NICs) >in my FreeBSD host, which acts as a gateway for a small LAN to the >internet via user ppp. One NIC will be wired to a 10/100 half duplex (HD) >hub to service other hosts on the LAN. The other NIC will be wired via a >crossover cable to another host on the same subnet, thus providing a full >duplex (FD), 100Mbps connection, without the expense of a switch. I have >seen numerous writeups of doing this as a bridge to another subnet, but >none to a host on the same subnet. > >Desired configuration: > > __ 100Mbs/FD __ 100Mbs/HD __ 10 or 100Mbs/HD >| |----------| |---------| |---------------> >|__| fxp0|__|fxp1 |__|---------------> >W95 host FreeBSD host Hub Other hosts > > >I have attempted a similar setup with an Intel EtherExpress and an NE 2000 >compatable NIC. > > __ 100Mbs/FD __ 10Mbs/HD __ 10 or 100Mbs/HD >| |----------| |---------| |---------------> >|__| fxp0|__|ed0 |__|---------------> >W95 host FreeBSD host Hub Other hosts > >This met with limited success. The problem was only the first NIC to be >ifconfig'ed could be used. An attempt to ping the second NIC from the >FreeBSD host resulted in the message, "arpresolv: can't allocate llinfo >for www.xxx.yyy.zzz". I could ping whichever NIC was ifconfig'ed first, >but not the second. An attempt to ping the second NIC from another host >would hang. > >I have a basic understanding of networks, how to use the route and >ifconfig commands, subnetting and such, but lack the detailed knowledge >(obviously) to make this work, if it is possible. I would buy a different >NIC if the kernel will not support 2 NICs of the same type. Can someone >help me or direct me to a source of info? I'll gladly provide any info >you need about my network and hosts. The network interfaces must be put in different subnets, otherwise FreeBSD won't know how which interface to use when it wants to get to other hosts on the subnet. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message