Re: if_lagg(4) and rc.conf

2007-07-05 Thread Michael W. Lucas
On Tue, Jul 03, 2007 at 03:10:05PM -0400, John Nielsen wrote:
 On Tuesday 03 July 2007 02:35:16 pm Michael W. Lucas wrote:
  I'm trying to configure a lagg(4) interface out of rc.conf.  FreeBSD
  doesn't want to initialize the interface at boot.  I'm obviously
  missing some little thing.  I'm successfully loading if_lagg into the
  kernel, so that's not the problem.
 
  I can configure the interface at the command line if I do a ifconfig
  lagg0 create and then enter the configuration, but there doesn't seem
  to be a rc.conf flag to tell the system to create an interface?
 
  Here's my rc.conf for these interfaces:
 
  ifconfig_em3=up
  ifconfig_em7=up
  ifconfig_lagg0=laggproto lacp laggport em3 laggport em7 10.184.1.19
  netmask 0x
 
 I haven't played with if_lagg yet, but you should be able to use the 
 cloned_interfaces knob in /etc/rc.conf to create the interface. e.g.:
 
 cloned_interfaces=lagg0
 ifconfig_em3=up
 ifconfig_em7=up
 ifconfig_lagg0=laggproto lacp laggport em3 laggport em7 10.184.1.19 \
   netmask 0x
 
 if_lagg(4) mentions this briefly (at the end before the examples)

This last bit, of course, was the key to the whole thing.

I don't know how many times I looked at the man page without seeing
that.  Thanks for pointing it out.

==ml



-- 
Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED]
http://www.BlackHelicopters.org/~mwlucas/
  Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com
On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


if_lagg(4) and rc.conf

2007-07-03 Thread Michael W. Lucas
Hi,

I'm trying to configure a lagg(4) interface out of rc.conf.  FreeBSD
doesn't want to initialize the interface at boot.  I'm obviously
missing some little thing.  I'm successfully loading if_lagg into the
kernel, so that's not the problem.

I can configure the interface at the command line if I do a ifconfig
lagg0 create and then enter the configuration, but there doesn't seem
to be a rc.conf flag to tell the system to create an interface?

Here's my rc.conf for these interfaces:

ifconfig_em3=up
ifconfig_em7=up
ifconfig_lagg0=laggproto lacp laggport em3 laggport em7 10.184.1.19 netmask 
0x

Any suggestions?

Thanks,
==ml

-- 
Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED]
http://www.BlackHelicopters.org/~mwlucas/
  Coming Soon: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com
On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: if_lagg(4) and rc.conf

2007-07-03 Thread John Nielsen
On Tuesday 03 July 2007 02:35:16 pm Michael W. Lucas wrote:
 I'm trying to configure a lagg(4) interface out of rc.conf.  FreeBSD
 doesn't want to initialize the interface at boot.  I'm obviously
 missing some little thing.  I'm successfully loading if_lagg into the
 kernel, so that's not the problem.

 I can configure the interface at the command line if I do a ifconfig
 lagg0 create and then enter the configuration, but there doesn't seem
 to be a rc.conf flag to tell the system to create an interface?

 Here's my rc.conf for these interfaces:

 ifconfig_em3=up
 ifconfig_em7=up
 ifconfig_lagg0=laggproto lacp laggport em3 laggport em7 10.184.1.19
 netmask 0x

I haven't played with if_lagg yet, but you should be able to use the 
cloned_interfaces knob in /etc/rc.conf to create the interface. e.g.:

cloned_interfaces=lagg0
ifconfig_em3=up
ifconfig_em7=up
ifconfig_lagg0=laggproto lacp laggport em3 laggport em7 10.184.1.19 \
netmask 0x

if_lagg(4) mentions this briefly (at the end before the examples), and 
if_bridge(4) has a pretty good example (you'd substitute lagg for bridge, of 
course).

JN
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]