Date: Fri, 26 Aug 2011 15:06:01 +0300 From: Zeus V Panchenko <zeus@ibs.dn.ua> To: freebsd-net@freebsd.org Cc: freebsd-rc@freebsd.org Subject: lagg(4) and alises Message-ID: <20110826120601.GA18070@relay.ibs.dn.ua> In-Reply-To: <20110121125917.GA48950@relay.ibs.dn.ua> References: <AANLkTinNydUwkyC9zb21P4DPbvBkEDKpNXbp3Nap%2BRvT@mail.gmail.com> <20101112070759.GA36248@relay.ibs.dn.ua> <20101112230000.GD22460@michelle.cdnetworks.com> <20110121125917.GA48950@relay.ibs.dn.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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@gnu.org.ua GMT+2 (EET)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110826120601.GA18070>
