how to configure DHCP on trunk interfaces ?

2012-06-27 Thread Илья Шипицин
Hello!

it works for em0, if I put DHCP in hostname.em0
is it possible to do with trunk0 ?

can anybody give working example ?


Cheers,
Ilya Shipitsin



Re: how to configure DHCP on trunk interfaces ?

2012-06-27 Thread David Diggles
Here is an example from my netbook.

# cat hostname.re0
up
# cat hostname.urtwn0
nwid myAP \
wpakey myPassword
up
# cat hostname.trunk0
trunkproto failover trunkport re0 trunkport urtwn0
dhcp

On Wed, Jun 27, 2012 at 05:04:26PM +0600,  ??? wrote:
 Hello!
 
 it works for em0, if I put DHCP in hostname.em0
 is it possible to do with trunk0 ?
 
 can anybody give working example ?
 
 
 Cheers,
 Ilya Shipitsin



Re: how to configure DHCP on trunk interfaces ?

2012-06-27 Thread Ryan McBride
$ cat /etc/hostname.trunk0 
dhcp trunkport em0 trunkport iwn0 trunkproto failover

Only annoyance is the iwn0 device doesn't attach to the trunk properly
if I boot with the wifi hardware switch turned off.

iwn0: radio is disabled by hardware switch


On Wed, Jun 27, 2012 at 05:04:26PM +0600, �?л�?�? Шипи�?ин wrote:
 it works for em0, if I put DHCP in hostname.em0
 is it possible to do with trunk0 ?
 
 can anybody give working example ?