Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2001 03:15:02 +0200
From:      Walter Hop <walter@binity.com>
To:        "31067596419" <31067596419@home.com>
Cc:        questions@freebsd.org
Subject:   Re: ADDING MORE IPS on a Diff subnets
Message-ID:  <1104306332.20010411031502@binity.com>
In-Reply-To: <001601c0c21f$f1360d40$c5477318@crdva1.bc.wave.home.com>
References:  <001601c0c21f$f1360d40$c5477318@crdva1.bc.wave.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[in reply to 31067596419@home.com, 11-04-2001]

> Im trying to add more ips to my FreeBSD box. The ips are on a diff
> subnets how do i do that ?

Just make sure that one (only one!) of the aliases in each different
subnet has a broadcast for that subnet; set the others to 0xffffffff.
For example in /etc/rc.conf:

ifconfig_xl0="inet x.y.236.10  netmask 0xffffff00"
ifconfig_xl0_alias0="inet x.y.236.1  netmask 0xffffffff"
ifconfig_xl0_alias1="inet x.y.236.2  netmask 0xffffffff"
ifconfig_xl0_alias2="inet x.y.236.3  netmask 0xffffffff"
ifconfig_xl0_alias3="inet x.y.243.161  netmask 0xffffff00"
ifconfig_xl0_alias4="inet x.y.243.162  netmask 0xffffffff"
ifconfig_xl0_alias5="inet x.y.243.163  netmask 0xffffffff"

--
 Walter Hop <walter@binity.com> | +31 6 24290808 | PGP key ID: 0x84813998



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




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