multiple interfaces

Brooks Davis brooks at one-eyed-alien.net
Thu Aug 18 19:50:36 GMT 2005


[Please don't top pos it loses context.  Also, please find a mailer that
doens't mangle output.  This is really hard to read].

On Thu, Aug 18, 2005 at 12:40:31PM -0700, 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: <Digital 21140A Fast Ethernet> 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: <MII bus> 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: <MII bus> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
> 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
> <full-duplex>)
>         status: active
> xl0:
> flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
> 1500
>         options=9<RXCSUM,VLAN_MTU>
>         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
> <full-duplex>)
>         status: active
> xl1:
> flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
> 1500
>         options=9<RXCSUM,VLAN_MTU>
>         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
> <full-duplex>)
>         status: active
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu
> 16384
>         inet 127.0.0.1 netmask 0xff000000
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
> >

What version of FreeBSD are you running?  You shouldn't even be able to
do this in recent versions (if you have multiple addresses on the same
network, all but one of them should have a netmask of 255.255.255.255).
This isn't the way to accomplish what you seem to want anyway.  The best
way would probably be to use if_bridge in 6.0.  Alternativly, you may be
able to assign an address to one and bridge the two of them together.

-- Brooks

> --- Brooks Davis <brooks at one-eyed-alien.net> 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
> > > two of them work.  For even though all the rest
> > appear
> > > up as well, I cant ping neither them nor their
> > peers
> > > (Im using crossover cables).
> > 
> > The software limit is 2^16-1.  It sounds like you
> > are having hardware
> > issues.  I'd tend to guess interrupt routing issues.
> >  I'd suggest
> > posting details to freebsd-questions or possibly
> > freebsd-stable.
> > 
> > -- Brooks
> > 
> > -- 
> > Any statement of the form "X is the one, true Y" is
> > FALSE.
> > PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E
> > 8BE9 F238 1AD4
> > 
> 
> 
> 
> 		
> ____________________________________________________
> Start your day with Yahoo! - make it your home page 
> http://www.yahoo.com/r/hs 
>  
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20050818/1e49b4ce/attachment.bin


More information about the freebsd-net mailing list