Creating multiple static IPs

Eddy D. Sanchez Salas eddysan at udabol.edu.bo
Wed Mar 3 11:46:51 PST 2004


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe at freebsd.org"



More information about the freebsd-newbies mailing list