multiple IP pools in mpd5
Alexander Motin
mav at FreeBSD.org
Mon Oct 27 08:24:25 UTC 2008
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
More information about the freebsd-net
mailing list