Routing metric in DHCP.
Eric L. Chen
d9364104 at mail.nchu.edu.tw
Mon Sep 4 02:42:41 PDT 2006
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
More information about the freebsd-stable
mailing list