Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2004 17:31:11 +0100
From:      Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
To:        Erik Sliman <p500.2004@openstandards.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Multiple static IPs
Message-ID:  <54297371.20040303173111@buz.ch>
In-Reply-To: <404604FC.1020506@openstandards.net>
References:  <404604FC.1020506@openstandards.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Erik,

Wednesday, March 3, 2004, 5:17:00 PM, you wrote:

> How do you give a computer multiple static IPs?

> I've tried many things, including the ifaliases setting in rc.conf:

>     ifconfig_vr0="inet 192.168.1.3 netmask 255.255.255.0"
>     ifaliases_vr0="192.168.1.36 255.255.255.0"

> but none seem to work. 


Wrong list but anyhow:


ifconfig_vr0="inet someip netmask 255.255.255.224"
ifconfig_vr0_alias0="inet someip+1 netmask 255.255.255.255"
ifconfig_vr0_alias1="inet someip+2 netmask 255.255.255.255"
ifconfig_vr0_alias1="inet otherip netmask 255.255.255.128"

Or RTFM.

Best regards,
 Gabriel



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