Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2005 18:19:22 -0400
From:      John Barbieri <tenpin784@metrocast.net>
To:        Glenn Dawson <glenn@antimatter.net>
Cc:        "albi@scii.nl" <albi@scii.nl>, freebsd-questions@freebsd.org, Carstea Catalin <carstea.catalin@gmail.com>
Subject:   Re: interface alias at start-up
Message-ID:  <4310E6EA.3070503@metrocast.net>
In-Reply-To: <6.2.3.4.2.20050827150200.038c08a0@cobalt.antimatter.net>
References:  <dc6701ba05082714265623d18f@mail.gmail.com> <20050827234044.221a929e.albi@scii.nl> <4310E0FC.2050108@metrocast.net> <6.2.3.4.2.20050827150200.038c08a0@cobalt.antimatter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
ifconfig_xl0="inet xxx.xxx.xxx.xxx  netmask 255.255.255.128"
ifconfig_xl0_alias="inet 172.16.2.138 netmask 255.255.255.0"



yea they are in different networks. i will try the 255.255.255.255 thing
when i get back to work. that seems odd that you have to put a host
netmask on there :/

Glenn Dawson wrote:

> At 02:54 PM 8/27/2005, John Barbieri wrote:
>
>> FWIW:
>>
>> That doesnt work for me :(
>
>
> One other thing.  If the aliases you're trying to create are on a
> different network, the subnet mask of the first one has to be the
> "real" mask, and any further aliases in that same network have to use
> a mask of 255.255.255.255.
>
> Example:
>
> ifconfig_fxp0="inet 10.0.0.1 netmask 255.255.255.0"
> ifconfig_fxp0_alias0="inet 10.0.0.2 netmask 255.255.255.255"
> ifconfig_fxp0_alias1="inet 10.1.1.1 netmask 255.255.255.0"
> ifconfig_fxp0_alias2="inet 10.1.1.2 netmask 255.255.255.255"
>
> -Glenn
>
>
>> any other way?
>>
>> albi@scii.nl wrote:
>>
>> >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"
>> >
>> >_______________________________________________
>> >freebsd-questions@freebsd.org mailing list
>> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> >To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe@freebsd.org"
>> >
>> >
>> >
>> >
>>
>>
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe@freebsd.org"
>
>
>
>





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