cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
749
Views
0
Helpful
2
Replies

Create new DHCP on router with ansible

DAVID
Level 3
Level 3

I want to add an additional DHCP pool to a router with the ansible ios_l3_interfaces module but I can't find any example to follow.

2 Replies 2

Always good examples in this repo https://github.com/ansible-collections/cisco.ios/blob/main/docs/cisco.ios.ios_l3_interfaces_module.rst

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

abhijitbakale
Level 1
Level 1

Hi David.

The Module ios_l3_interfaces don't have provisions to configure DHCP pools. It will only allow you to allow your interface fetch an IP address using DHCP or Statically.

Hope that helps.

Best Wishes,

Abhijit