11.02.2011 15:25, Guillermo Fernando Cotone wrote:
> On 02/11/2011 09:55 AM, Vladislav V. Prodan wrote:
>> And this construction work?
>>
>>       ipv4_addrs_ed0="192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28"
>>   
> It would work only if all the IPs were on the same subnet. If you want
> to use different subnets you need to implement vlans on that interface
> first.
> 

man rc.conf
...
        One can configure more than one IPv4 address with the
        ipv4_addrs_<interface> variable.  One or more IP addresses
        must be provided in Classless Inter-Domain Routing (CIDR)
        address notation, whose last byte can be a range like
        192.0.2.5-23/24.  In this case the address 192.0.2.5 will be
        configured with the netmask /24 and the addresses 192.0.2.6
        to 192.0.2.23 with the non-conflicting netmask /32 as
        explained in the ifconfig(8) alias section.  With the inter-
        face in question being ed0, an example could look like:

        ipv4_addrs_ed0="192.0.2.129/27 192.0.2.1-5/28"
...

-- 
Vladislav V. Prodan
VVP24-UANIC
+38[067]4584408
+38[099]4060508
[email protected]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to