From owner-freebsd-questions@FreeBSD.ORG Thu Apr 8 04:21:31 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 23B5216A4CF for ; Thu, 8 Apr 2004 04:21:31 -0700 (PDT) Received: from tatiana.utanet.at (tatiana.utanet.at [213.90.36.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id D96E343D69 for ; Thu, 8 Apr 2004 04:21:30 -0700 (PDT) (envelope-from josef@daemon.li) Received: from paris.utanet.at ([213.90.36.7]) by tatiana.utanet.at with esmtp (Exim 4.12) id 1BBXb7-0002iG-00 for freebsd-questions@freebsd.org; Thu, 08 Apr 2004 13:21:29 +0200 Received: from dsl-235-106.utaonline.at ([212.152.235.106] helo=jenny.daemon.li) by paris.utanet.at with esmtp (Exim 4.12) id 1BBXb5-0004Nf-00 for freebsd-questions@freebsd.org; Thu, 08 Apr 2004 13:21:27 +0200 Received: by jenny.daemon.li (Postfix, from userid 1005) id 5238E5BA; Thu, 8 Apr 2004 13:21:44 +0200 (CEST) Date: Thu, 8 Apr 2004 13:21:44 +0200 From: Josef El-Rayes To: freebsd-questions@freebsd.org Message-ID: <20040408112144.GA323@jenny.daemon.li> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.9-STABLE Subject: routing weirdness 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: Thu, 08 Apr 2004 11:21:31 -0000 --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hi! i have a notebook connected to a wlan router, which is in turn connected to my gateway to internet notebook <-> wlan <-> gw <-> ... internet ... when i (192.168.1.4) am connected via cable (dc0) to the wlan router(192.16= 8.1.1) everything works fine. but then, when i want to switch to wlan (ath0), i shut down the dc0 interfa= ce (ifconfig dc0 down), enable the wlan card, (ifconfig ath0 inet 192.168.1.3 = ssid daemon & ifconfig ath0 up). then i flush my routing table (route flush) and add default gateway (route = add default 192.168.1.1). now i can ping my wlan router (192.168.1.1) but i do not get outside anymor= e (192.168.0.1) for example, because, as route get 192.168.0.1 reveals, the system still us= es dc0 for getting outside.=20 how can i force the system to do not use the deactivated device anymore? -josef --=20 Josef El-Rayes (__) Email: josef@daemon.li \\\'',)=20 Web: http://daemon.li/ \/ \ ^ FreeBSD: josef@FreeBSD.org .\._/_) --envbJBWh7q8WU6mo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iQEVAwUBQHU1yFnFItmnnbU8AQKXBAgAgVFPQpJ9sWeB7PH/8sTVjPEjid+e24yu o34xs+Yy7YY6+S0zOBKdWhgsnfthxldsBrJx5p5EEbBrdZ1HLTBCPclnnfjfO5fm QxzZCMMuSarM/Rj0+SJrAmDedPkGKZjm/fMsgu9bRGhJK3Bdt0PbGlD1mtx+uYxD EATVK0L0L/EQskAtrQBoKpGLebYyptd2R9F3+cXebofh5E/cwPl0U7c6wDQ3DzC/ UoAP7552D4VdWoCzKNQcBem3Os9DFb73TqeZ9W5wa1w/RRn0UvAwPlC6t1L3rv1V uRcAJO1/I7dxkpBzw/ADDx1Zp0U8G60RsNXoaw31LYj4C0RDTIRnjA== =1iom -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo--