Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2008 10:24:22 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Ganbold <ganbold@micom.mng.net>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: multiple IP pools in mpd5
Message-ID:  <49057AB6.7040701@FreeBSD.org>
In-Reply-To: <49053DC1.8060101@micom.mng.net>
References:  <49053DC1.8060101@micom.mng.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.

Ganbold wrote:
> Is it possible to specify multiple IP pools in mpd5?

Yes. It supports both multiple pools and multiple subnets in a pool.

> Something like:
> 
>        set ippool add pool1 102.179.16.20 102.179.17.254
>        set ippool add pool1 102.179.17.1 102.179.17.254
> 
>        set ipcp ranges 102.179.16.13/32 ippool pool1
> 
> Or:
> 
>        set ippool add pool1 102.179.16.20 102.179.17.254
>        set ippool add pool2 102.179.17.1 102.179.17.254
> 
>        set ipcp ranges 102.179.16.13/32 ippool pool1 pool2
> 
> Which one is correct syntax?

First one. But you have made mistake in address ranges as they are
overlapping. Probably you have meant:

        set ippool add pool1 102.179.16.20 102.179.16.254
        set ippool add pool1 102.179.17.1 102.179.17.254

        set ipcp ranges 102.179.16.13/32 ippool pool1

-- 
Alexander Motin



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