ifconfig_foo0 syntax
Dag-Erling Smørgrav
des at des.no
Fri Oct 28 09:40:30 PDT 2005
I've been having trouble with a bridge interface. It seemed logical
to me to do
cloned_interfaces="bridge0"
ifconfig_bridge0="addm foo0 addm bar0 inet 10.0.0.1/24"
but ifconfig(8) does not accept "inet" after "addm".
(perhaps I should have put the inet bit at the front?)
In any case, I came up with a patch that allows me to do
ifconfig_bridge0="addm foo0; addm bar0; inet 10.0.0.1/24"
which translates into three different ifconfig invocations.
there's probably a better / cleaner way to do this...
DES
--
Dag-Erling Smørgrav - des at des.no
-------------- next part --------------
A non-text attachment was scrubbed...
Name: network_subr.diff
Type: text/x-patch
Size: 636 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20051028/7a8c8423/network_subr.bin
More information about the freebsd-rc
mailing list