Re: route add default "netif"?

From: Simon 'corecode' Schubert <corecode(at)fs.ei.tum.de>
Date: Tue, 31 Jul 2007 18:56:19 +0200

Benjamin Thelen wrote:
> root(at)beastie# ifconfig
> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> options=8<VLAN_MTU>
> inet 192.168.2.189 netmask 0xffffff00 broadcast 192.168.2.255
               ^^^^^^^^^

> ether 00:00:e2:81:09:5f
> media: Ethernet autoselect (none)
> status: no carrier
> ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> inet 192.168.2.133 netmask 0xffffff00 broadcast 192.168.2.255
               ^^^^^^^^^

wie geht das denn? Macht FreeBSD jetzt magisches routing mit wuerfeln oder so?

> Andererseits müßte doch spätestens nach einem
> "ifconfig fxp0 down"
> "route delete default"
> "dhclient ath0"
> doch auch die Route über ath0 stehen und _nicht_ wieder über fxp0!?

Allerdings. Versuch doch mal statt ifconfig fxp0 down ein

ifconfig fxp0 inet 192.168.2.189 -alias

oder so, bin mir nicht ganz sicher wie man so eine IP loescht.

gruesse
  simon

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 31 Jul 2007 - 18:57:14 CEST

search this site