Multiple Network Cards

Joan Picanyol lists-freebsd-stable at biaix.org
Wed Dec 1 10:11:51 PST 2004


* Josh Paetzel <josh at tcbug.org> [20041201 18:55]:
> On Wednesday 01 December 2004 11:50, Joan Picanyol wrote:
> > * munn <munn at umd.edu> [20041201 12:10]:
> > > I want to add a second network card to a FreeBSD 4.10p4 box.  The
> > > first card has an address 192.168.123.99 (xl0).  The second card
> > > has the address 192.168.123.98 (fpx0).  When I reboot the machine
> > > and do an ifconfig -a, I see fpx0 with the address 
> > > 192.168.123.98 but xl0 now has  options=1(RXCSUM) where the ip
> > > address 192.168.123.99 would normally be.
> > >
> > > What am I doing wrong?
> >
> > Nothing?
> >
> > xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >         options=9<RXCSUM,VLAN_MTU>
> >         inet 192.168.124.9 netmask 0xffffff00 broadcast
> > 192.168.124.255 ether 00:e0:81:27:cb:3b
> >         media: Ethernet autoselect (100baseTX <full-duplex>)
> >         status: active
> >
> > Or do you actually have a problem?
> >
> > qvb
> 
> Maybe this is (or should be) a FAQ:  I don't think you can put two 
> NICs on the same subnet with FreeBSD.  Please correct me if I'm 
> wrong, especially if you can post a inconfig backing you up. ::D

Something like this?

de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.124.6 netmask 0xffffff00 broadcast 192.168.124.255
        inet 192.168.124.53 netmask 0xffffffff broadcast 192.168.124.53
        inet 192.168.124.80 netmask 0xffffffff broadcast 192.168.124.80
        ether 00:00:f8:22:be:04
        media: Ethernet autoselect (10baseT/UTP)
        status: active

qvb
-- 
pica


More information about the freebsd-stable mailing list