lagg(4) and alises
Zeus V Panchenko
zeus at ibs.dn.ua
Fri Aug 26 12:22:19 UTC 2011
Hi,
i need advice, please?
while trying to set lagg(4) interface i faced some difficulty ... i
need advice to optimize/correct the configuration ...
mine current configuration is:
igb2 igb3
| |
igb0 +----------+---------+--------+ igb1
x.x.x.x ---+ FreeBSD 8.1-STABLE #4 amd64 +--- y.y.y.y/30
/29 +-------+---------+-----------+
| |
em0 em1
| |
switch00 -+- lagg0 -+- switch01
+ + z.z.z.z/26 + +
| | | |
| +------ trunk 1 -----+ |
+-------- trunk 2 -------+
/etc/rc.conf
...
ifconfig_igb0="inet x.x.x.x/29 media autoselect"
ifconfig_igb1="inet y.y.y.y/30 media autoselect"
ifconfig_em0="UP"
ifconfig_em1="UP"
ifconfig_lagg0="laggproto lacp laggport em0 laggport em1"
ipv4_addrs_lagg0="z.z.z.z/26" # only this forced it work,
# ifconfig_lagg0 assigns
# the address but it doesn't work
...
now i need to set additional three ip addresses on lagg0 ...
and everything i was trying was not working ...
i was trying to add this to /etc/rc.conf:
ifconfig_lagg0_alias0="inet 91.216.196.10/26"
ifconfig_lagg0_alias1="inet 91.216.196.11/26"
ifconfig_lagg0_alias2="inet 91.216.196.12/26"
after reboot addresses are assigned but ifconfig lagg0 shows
status: no carrier
so, here is the question: how is it correct to set aliases on lagg(4)
interface (aggregation protocol `lacp') in /etc/rc.conf file?
--
Zeus V. Panchenko
JID:zeus at gnu.org.ua GMT+2 (EET)
More information about the freebsd-rc
mailing list