Date: Thu, 8 Apr 2004 13:21:44 +0200 From: Josef El-Rayes <josef@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: routing weirdness Message-ID: <20040408112144.GA323@jenny.daemon.li>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040408112144.GA323>