On 1/9/07, John Brahy <[EMAIL PROTECTED]> wrote:
How would I translate this into  /etc/hostname.trunk0?

ifconfig em0 up
ifconfig em1 up
ifconfig trunk0 trunkport em0 trunkport em1 xx.xx.xx.xx netmask 255.255.255.0

should it just be
!/sbin/ifconfig em0 up
!/sbin/ifconfig em1 up
!/sbin/ifconfig trunk0 trunkport em0 trunkport em1 xx.xx.xx.xx netmask
255.255.255.0

or is there a more syntactically correct way to to it?


ok, I figured it out:
$ cat /etc/hostname.trunk0
trunkproto loadbalance trunkport em0 trunkport em1 xx.xx.xx.xx 255.255.255.0

and it works perfectly! OpenBSD rocks!

is this the way that it always is for configuring /etc/hostname.if
files? basically take the ifconfig command and put everything after
the interface name into the /etc/hostname.if file?

Reply via email to