From owner-freebsd-net@FreeBSD.ORG Fri Aug 19 19:25:56 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B55D16A41F for ; Fri, 19 Aug 2005 19:25:56 +0000 (GMT) (envelope-from fetrovsky@yahoo.com) Received: from web53913.mail.yahoo.com (web53913.mail.yahoo.com [206.190.38.162]) by mx1.FreeBSD.org (Postfix) with SMTP id E91E743D46 for ; Fri, 19 Aug 2005 19:25:55 +0000 (GMT) (envelope-from fetrovsky@yahoo.com) Received: (qmail 677 invoked by uid 60001); 19 Aug 2005 19:25:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=UXVHaeO7AjdU9wyl4Y8waTxrdU+UyIiAE9p/abIPi/05gdc9D7kx5c2pjkXkWvbLGfMvAzP76B3p6wuKn6IA4kGukdEcT1ZW2cUYyRgnmtR+WgdXo6O++uQ8Pme/CNaDQG9KxcRk5Yp/UUhmOfCBk9OnDpNeFCmxVICB3KyP6Ow= ; Message-ID: <20050819192555.675.qmail@web53913.mail.yahoo.com> Received: from [128.200.38.147] by web53913.mail.yahoo.com via HTTP; Fri, 19 Aug 2005 12:25:55 PDT Date: Fri, 19 Aug 2005 12:25:55 -0700 (PDT) From: Daniel Valencia To: "Özkan" KIRIK , freebsd-net@freebsd.org In-Reply-To: <4305CF84.60409@mersin.edu.tr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: multiple interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2005 19:25:56 -0000 Hi Yes, I tried that, and although I can ping the local interface (10.0.1.2), I cant reach the remote interface (10.0.0.2). Thanks, Daniel --- Özkan KIRIK wrote: > You cannot define same network to more then one > interface! > > As you post below; > xl0: inet 10.0.1.1 netmask 0xffff0000 broadcast > 10.0.255.255 > xl1: inet 10.0.1.2 netmask 0xffff0000 broadcast > 10.0.255.255 > > They are at the same network, so your freebsd > searchs 10.0.1.2 at xl0. > You should define your xl1 as inet 10.0.1.2 netmask > 255.255.255.255 > > With Best Regards, > Ozkan KIRIK > EnderUNIX SDT@Turkey > Software Developer > > Daniel Valencia wrote: > > >Hi > > > >from the boot messages, i can see that the network > >devices are started up properly. Strangely enough, > >the one that doesnt seem to be assigned an IRQ# is > not > >having any problems, but one of the ones that is. > > > >Here are the boot messages > > > >de0: port > 0x4000-0x407f > >mem 0xf4a01000-0xf4a0107f at device 11.0 on pci2 > >de0: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0 > >de0: Ethernet address: 00:00:c0:7f:a1:fd > >de0: if_start running deferred for Giant > >xl0: <3Com 3c905C-TX Fast Etherlink XL> port > >0x4080-0x40ff mem 0xf4a01400-0xf4a0147f irq 10 at > >device 13.0 on pci2 > >miibus0: on xl0 > >xlphy0: <3c905C 10/100 internal PHY> on miibus0 > >xlphy0: 10baseT, 10baseT-FDX, 100baseTX, > >100baseTX-FDX, auto > >xl0: Ethernet address: 00:01:02:c1:ba:82 > >xl1: <3Com 3c905C-TX Fast Etherlink XL> port > >0x4400-0x447f mem 0xf4a01800-0xf4a0187f irq 11 at > >device 15.0 on pci2 > >miibus1: on xl1 > >xlphy1: <3c905C 10/100 internal PHY> on miibus1 > >xlphy1: 10baseT, 10baseT-FDX, 100baseTX, > >100baseTX-FDX, auto > >xl1: Ethernet address: 00:01:02:44:3c:22 > > > >Here goes my ifconfig > > > > > > > >>ifconfig > >> > >> > >de0: > >flags=108843 > >mtu 1500 > > inet 128.200.38.140 netmask 0xffffff00 > >broadcast 128.200.38.255 > > inet6 fe80::200:c0ff:fe7f:a1fd%de0 > prefixlen > >64 scopeid 0x1 > > ether 00:00:c0:7f:a1:fd > > media: Ethernet autoselect (100baseTX > >) > > status: active > >xl0: > >flags=8843 > mtu > >1500 > > options=9 > > inet 10.0.1.1 netmask 0xffff0000 broadcast > >10.0.255.255 > > inet6 fe80::201:2ff:fec1:ba82%xl0 prefixlen > 64 > >scopeid 0x2 > > ether 00:01:02:c1:ba:82 > > media: Ethernet autoselect (100baseTX > >) > > status: active > >xl1: > >flags=8843 > mtu > >1500 > > options=9 > > inet 10.0.1.2 netmask 0xffff0000 broadcast > >10.0.255.255 > > inet6 fe80::201:2ff:fe44:3c22%xl1 prefixlen > 64 > >scopeid 0x3 > > ether 00:01:02:44:3c:22 > > media: Ethernet autoselect (100baseTX > >) > > status: active > >lo0: flags=8049 mtu > >16384 > > inet 127.0.0.1 netmask 0xff000000 > > inet6 ::1 prefixlen 128 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > > > > > > > > > >And, at last, a few ping attempts > > > > > > > >>ping -c 1 128.200.38.140 > >> > >> > >PING 128.200.38.140 (128.200.38.140): 56 data bytes > >64 bytes from 128.200.38.140: icmp_seq=0 ttl=64 > >time=0.130 ms > > > >--- 128.200.38.140 ping statistics --- > >1 packets transmitted, 1 packets received, 0% > packet > >loss > >round-trip min/avg/max/stddev = > >0.130/0.130/0.130/0.000 ms > > > > > >>ping -c 1 10.0.1.1 > >> > >> > >PING 10.0.1.1 (10.0.1.1): 56 data bytes > >64 bytes from 10.0.1.1: icmp_seq=0 ttl=64 > time=0.128 > >ms > > > >--- 10.0.1.1 ping statistics --- > >1 packets transmitted, 1 packets received, 0% > packet > >loss > >round-trip min/avg/max/stddev = > >0.128/0.128/0.128/0.000 ms > > > > > >>ping -c 1 10.0.1.2 > >> > >> > >PING 10.0.1.2 (10.0.1.2): 56 data bytes > > > >--- 10.0.1.2 ping statistics --- > >1 packets transmitted, 0 packets received, 100% > packet > >loss > > > > > >> > >> > >> > > > > > >Thank you very much, > > > >Daniel > > > > > >--- Brooks Davis wrote: > > > > > > > >>On Thu, Aug 18, 2005 at 11:36:55AM -0700, Daniel > >>Valencia wrote: > >> > >> > >>>Hello, everybody > >>> > >>>Is there any limit as of how many interfaces can > >>>freebsd handle? Im trying to build a switch in a > >>> > >>> > >>PC > >> > >> > >>>box, putting multiple NICs and some software... > >>> > >>> > >>The > >> > >> > >>>issue is, even though all of the cards work > >>> > >>> > >>correctly > >> > >> > >>>by themselves, once I put them together, it > doesnt > >>>matter what slots i use, I can never make more > >>> > >>> > >>than > === message truncated === ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs