Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 2004 10:32:31 -0700 (PDT)
From:      scott renna <flexble2547@yahoo.com>
To:        "Daan Vreeken [PA4DAN]" <Danovitsch@Vitsch.net>
Cc:        FreeBSD-Questions@FreeBSD.org
Subject:   Re: Dlink-g520 Wireless and WEP more
Message-ID:  <20041026173231.13841.qmail@web53605.mail.yahoo.com>
In-Reply-To: <200410261820.49470.Danovitsch@Vitsch.net>

next in thread | previous in thread | raw e-mail | index | archive | help
oh man...ok that's what i was afraid of.  i've always
wondered why you can't have two nics on the same
subnet in freebsd, maybe i'm just missing something or
is that by design?

I guess i'll drop the wired line and switch to
wireless tonight and give it a shot.

would aliasing one card to the next work, or is there
any particular reason why you can't have two ips from
the same subnet on a bsd box?
--- "Daan Vreeken [PA4DAN]" <Danovitsch@Vitsch.net>
wrote:

> On Tuesday 26 October 2004 17:38, scott renna wrote:
> > ok, well this system has a 3com, xl0 holding an ip
> of
> > 192.168.2.150
> > Does this mean that I need to have each interface
> > having an IP on a different subnet?
> > maybe I could change the mask on the xl0 to
> > 255.255.248.0 and it might work?
> Nope, that won't help.
> 
> > I wanted to have the wireless card on the same
> subnet
> > as the rest of the LAN and keep the wired card up
> and
> > running just for testing before permanently
> migrating
> > to this wireless card(i'm using encrypted
> protocols
> > locally so wep weaknesses should not be an issue).
> >
> > is there a way to have both cards be on the same
> > subnet and have the same subnet mask?
> Nope.
> If you would do that, FreeBSD wouldn't know on what
> interface it should send 
> packets destined for a PC on that subnet. (That's
> why ifconfig refuses to set 
> the ip address).
> 
> If you want to be able to switch between LAN and
> WLAN, you'll have to turn off 
> one of the interfaces...
> If you want to run over WLAN, type :
> ifconfig xl0 down
> ifconfig ath0 192.168.2.150 etc etc etc...
> 
> If you want to switch back to LAN, type :
> ifconfig ath0 down
> ifconfig xl0 up
> 
> You can assign the same ip address to multiple
> interfaces, but you can only 
> have one of the "up" at a time.
> 
> good luck,
> Daan
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041026173231.13841.qmail>