Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Participant

Static IP ipassignment.conf. How not to assign the static set ones to other people.

If I use $FWDIR/conf/ipassignment.conf  to assign a static ip how do I get it to not assign it to someone else? I set my static ip as

*      addr    172.16.1.10  TESTUSER

 

But I went to sign in the next day and it couldn’t assign me the ip because someone had it already. The entire 172.16.1.0 subnet is assigned to the VPN office mode VPN _group. I’d like to assign about 20 clients Static IP’s.

Would I control it all via ipassignment and just assign any a range excluding the 20 I need and assig?


*           range     172.16.1.21-172.16.1.254/24               VPN_GROUP

*            addr      172.16.1.10                                  TESTUSER

*            addr      172.16.1.2                                    user2

*            addr      172.16.1.3                                   user3

 

 

Also if I have mutliptle groups say VPN_GROUP and VPN_GROUP2 that grab from the same IP range can I just do multiple lines to that range.

EG:
*            range      172.16.1.21-172.16.1.254/24               VPN_GROUP

*            range    172.16.1.21-172.16.1.254/24               VPN_GROUP2

 

 

0 Kudos
2 Replies
Highlighted
Admin
Admin

What you describe sounds correct.
If you want to be sure no one else is assigned a static IP then it cannot be part of a pool.
Multiple groups can use the same pool.
Highlighted
Participant

Thanks for the confirmation! 

1 more question. If I where to assign USER1 a static IP but that use is also apart of VPN_GROUP. is there an order of operation? Like put Static IP users first in the list? 

 

 

0 Kudos