Date: Mon, 04 Sep 2006 17:42:34 +0800 From: "Eric L. Chen" <d9364104@mail.nchu.edu.tw> To: freebsd-stable@freebsd.org Subject: Routing metric in DHCP. Message-ID: <1157362954.1449.16.camel@lihong-nb.local>
next in thread | raw e-mail | index | archive | help
Hi Does any one knows how to set routing metric in DHCP interface? My laptop has one ethernet and one wireless. Both of them are not always connected. In office, ethernet and wireless both connected. Or only wireless connected if I moved to meeting room. In home, only wireless is connected. When both ethernet and wireless are connected, the default gateway changes its Netif frequently. Both ath0 and bfe0 run DHCP client. Can I add routing metric in DHCP interface? My Settings: ~> cat /etc/rc.conf ifconfig_bfe0="DHCP" ifconfig_ath0="wme burst WPA DHCP" ... ~> netstat -rn -f inet Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 10.8.0.254 UGS 0 95112 ath0 ... ===== Later ===== ~> netstat -rn -f inet Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 10.8.0.254 UGS 0 95112 bfe0 ... /Eric
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1157362954.1449.16.camel>
