Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2005 23:40:44 +0200
From:      "albi@scii.nl" <albi@scii.nl>
To:        Carstea Catalin <carstea.catalin@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: interface alias at start-up
Message-ID:  <20050827234044.221a929e.albi@scii.nl>
In-Reply-To: <dc6701ba05082714265623d18f@mail.gmail.com>
References:  <dc6701ba05082714265623d18f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 27 Aug 2005 14:26:32 -0700
Carstea Catalin <carstea.catalin@gmail.com> wrote:

> how tu setting-up interface alias at start-up

# example /etc/rc.conf part

defaultrouter="192.168.2.1"

ifconfig_rl0="inet 192.168.2.222  netmask 255.255.255.0"

ifconfig_rl0_alias0="inet 192.168.2.2 netmask 0xffffffff"
ifconfig_rl0_alias1="inet 192.168.2.3 netmask 0xffffffff"
ifconfig_rl0_alias2="inet 192.168.2.4 netmask 0xffffffff"
ifconfig_rl0_alias3="inet 192.168.2.5 netmask 0xffffffff"
ifconfig_rl0_alias4="inet 192.168.2.6 netmask 0xffffffff"




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