Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2014 12:52:01 +0200
From:      Maciej Milewski <milu@dat.pl>
To:        Jean Paul Galea <jp@galea.se>, freebsd-net@freebsd.org
Subject:   Re: problems with ifconfig alias via rc.conf
Message-ID:  <53C65951.3070000@dat.pl>
In-Reply-To: <954bff7d9b34af15cff55470670ac70c@smtp.hushmail.com>
References:  <954bff7d9b34af15cff55470670ac70c@smtp.hushmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16.07.2014 11:22, Jean Paul Galea wrote:
> ifconfig_lagg0="laggproto failover laggport igb0 laggport igb1
> 94.247.171.197/32 netmask 255.255.255.240 broadcast 94.247.171.207"
> #ifconfig_lagg0_alias0="inet 94.247.171.195 netmask 255.255.255.255"
Double mask definition?
You are trying to define 94.247.171.197 with mask 32 and then with mask 28.
Remove the /32 from this line and use simple 94.247.171.197 netmask
255.255.255.240 broadcast 94.247.171.207
Alias is defined correctly.

> ifconfig_lagg1="laggproto failover laggport igb2 laggport igb3
> 10.0.0.53/32 netmask 255.255.255.0"
The same as above.
Better use 10.0.0.53/24 or 10.0.0.53 netmask 255.255.255.0


-- 
Pozdrawiam,
Maciej Milewski




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53C65951.3070000>