On Tue, Jan 09, 2007 at 12:12:07PM -0800, John Brahy 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?
hostname.if(5)
--
Christopher Linn <celinn at mtu.edu> | By no means shall either the CEC
System Administrator II | or MTU be held in any way liable
Center for Experimental Computation | for any opinions or conjecture I
Michigan Technological University | hold to or imply to hold herein.