Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2002 09:06:37 -0500
From:      Steve Peterson <stevep-hv@zpfe.com>
To:        stable@FreeBSD.ORG
Subject:   4.6 & IP aliases / ifconfig
Message-ID:  <5.1.0.14.2.20020711085737.01e32ff0@magpie.zpfe.com>

next in thread | raw e-mail | index | archive | help
Just upgraded my server box from 4.4 to 4.6 via source, and my aliased IP 
addresses didn't come up on system boot.

rc.conf said:

ifconfig_dc0="inet 209.46.51.22  netmask 255.255.255.240"
ifconfig_dc0_alias0="inet 209.46.51.28 netmask 255.255.255.240"

It's alias0 that isn't working.  Tried to add it from the command line and got:

[root@magpie ~]# ifconfig dc0 209.46.51.28 netmask 255.255.255.240 alias
ifconfig: ioctl (SIOCAIFADDR): File exists
[root@magpie ~]#

Getting rid of the netmask spec lets the alias be added:

[root@magpie ~]# ifconfig dc0 209.46.51.28  alias
[root@magpie ~]#

And removing the netmask spec in rc.conf makes it work at next boot time.

Ideas on why I can't have a /28 alias?

S


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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