Ask Your Question
1

How to Exclude Public IP for Floating IP [closed]

asked 2015-05-21 22:23:56 -0500

senyapsudah gravatar image

hi guys,

again, looking for some advise. i got a /27 segment IP address from our ISP. let say the ip is 192.168.19.96/27. and they have using 192.168.19.98-99 as their router physical ip and .97 as our gateway. so it is possible for us to exclude 99 and 98 from floating ip assignment? please advise.

thanks senyapsudah

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by mpetason
close date 2015-06-25 11:40:27.766980

1 answer

Sort by ยป oldest newest most voted
4

answered 2015-05-21 22:58:08 -0500

larsks gravatar image

updated 2015-05-21 22:58:30 -0500

When you create a subnet in Neutron, you can specify an "allocation pool" that is smaller than the subnet. For your example, you might do something like:

neutron subnet-create \
  --allocation-pool  start=192.168.19.100,end=192.168.19.126 \
  public 192.168.19.96/27

Assuming that "public" is the name of your floating ip network.

edit flag offensive delete link more

Comments

Hi larsks,

thank your for remind me that. how silly am i. almost forgot about the range start and end. cause got confuse with the dhcp options. once again, thanks, for your help. it should be solved now.

senyapsudah gravatar imagesenyapsudah ( 2015-05-22 07:03:03 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-05-21 22:23:56 -0500

Seen: 189 times

Last updated: May 21 '15