Desired behaviour of "ifconfig -alias"

Joerg Pernfuss jp at bsdgroup.de
Tue Feb 13 02:01:34 UTC 2007


On Mon, 12 Feb 2007 19:18:54 -0300
JoaoBR <joao at matik.com.br> wrote:

> I believe the problem here is that
> 
> ifconfig_nic="inet IP"
> ifconfig_nic="ether MAC"
> 
> does not work on one line and does not work on two either, the latter 
> overrides and or you get an IP address with original MAC or you get a
> new MAC without IP.

Yes, you have to put 'ifconfig nic ether MAC' in /etc/start_if.nic
for this to work afair. Same approach you need to set WEP etc on a
wireless nic if you have ifconfig_nic="DHCP" in your rc.conf.

	Joerg
-- 
| SPECIAL ADVERTISMENT |    NEW KEY AS OF 02/01/2007 - GET IT     |
+----------------------+------------------------------------------+
| /"\   ASCII ribbon   |  GnuPG Key ID | 6902 3fc0 64c3 a56e a8b4 |
| \ / campaign against |    0xab439348 | c8de d555 c2cd ab43 9348 |
|  X    HTML in email  |        .the next sentence is true.       |
| / \     and news     |     .the previous sentence was a lie.    |


More information about the freebsd-stable mailing list