Please read : http://openbsd.org/faq/faq6.html and trunk(4) before asking more questions. Marius -- GPG KeyID: 601CB35E GPG Fingerprint: 17C7 BB76 DF3C 0E54 472E 6154 8AC9 FC1B 601C B35E
On 1/9/07, John Brahy <[EMAIL PROTECTED]> wrote:
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?