From owner-freebsd-questions@FreeBSD.ORG Tue Oct 26 16:30:02 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 4384A16A4CE for ; Tue, 26 Oct 2004 16:30:02 +0000 (GMT) Received: from amsfep12-int.chello.nl (nl-ams-slo-l4-01-pip-3.chellonetwork.com [213.46.243.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B9F643D49 for ; Tue, 26 Oct 2004 16:30:01 +0000 (GMT) (envelope-from Danovitsch@Vitsch.net) Received: from Vitsch.net ([212.187.78.35]) by amsfep12-int.chello.nl (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20041026162053.GHBN16455.amsfep12-int.chello.nl@Vitsch.net>; Tue, 26 Oct 2004 18:20:53 +0200 Received: from 192.168.2.8 (cp402377-c.venlo1.lb.home.nl [217.122.93.195]) by Vitsch.net (8.12.3p2/8.11.3) with ESMTP id i9QGKlun049852; Tue, 26 Oct 2004 18:20:48 +0200 (CEST) (envelope-from Danovitsch@Vitsch.net) From: "Daan Vreeken [PA4DAN]" To: scott renna Date: Tue, 26 Oct 2004 18:20:49 +0200 User-Agent: KMail/1.5.2 References: <20041026153838.32374.qmail@web53609.mail.yahoo.com> In-Reply-To: <20041026153838.32374.qmail@web53609.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410261820.49470.Danovitsch@Vitsch.net> 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 16:30:02 -0000 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