From owner-freebsd-questions@FreeBSD.ORG Tue Oct 26 17:32:32 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B007016A4E0 for ; Tue, 26 Oct 2004 17:32:32 +0000 (GMT) Received: from web53605.mail.yahoo.com (web53605.mail.yahoo.com [206.190.37.38]) by mx1.FreeBSD.org (Postfix) with SMTP id 5250443D39 for ; Tue, 26 Oct 2004 17:32:32 +0000 (GMT) (envelope-from flexble2547@yahoo.com) Message-ID: <20041026173231.13841.qmail@web53605.mail.yahoo.com> Received: from [68.100.162.26] by web53605.mail.yahoo.com via HTTP; Tue, 26 Oct 2004 10:32:31 PDT Date: Tue, 26 Oct 2004 10:32:31 -0700 (PDT) From: scott renna To: "Daan Vreeken [PA4DAN]" In-Reply-To: <200410261820.49470.Danovitsch@Vitsch.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: FreeBSD-Questions@FreeBSD.org Subject: Re: Dlink-g520 Wireless and WEP more X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2004 17:32:32 -0000 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]" 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