Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Mar 2004 15:30:22 +0000
From:      "Eddy D. Sanchez Salas" <eddysan@udabol.edu.bo>
To:        Erik Sliman <p500.2004@openstandards.net>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: Creating multiple static IPs
Message-ID:  <1078327822.6412.5.camel@sheccid.udabol.edu.bo>
In-Reply-To: <40460642.2030001@openstandards.net>
References:  <40460642.2030001@openstandards.net>

next in thread | previous in thread | raw e-mail | index | archive | help
You are configuring two network cards, you must add an alias IP to one
tarjet

ifconfig_vr0="inet 192.168.1.3 netmask 255.255.255.0"

your IP address for your NIC

ifconfig_vr0_alias0="inet 192.168.1.36 netmask 255.255.255.0"

ifconfig_vr0_alias1="inet 192.168.1.37 netmask 255.255.255.0"

Your aliases

note that you're working with one NIC but multiple IPs.

On Wed, 2004-03-03 at 16:22, Erik Sliman 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. 
> _______________________________________________
> freebsd-newbies@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"



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