problems with ifconfig alias via rc.conf
Maciej Milewski
milu at dat.pl
Wed Jul 16 10:59:37 UTC 2014
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
More information about the freebsd-net
mailing list