Tuesday, November 26, 2019

Cisco/Arista config for a fix ip depending on the nic

Hi everyone,

I'm using Aristas 7010T and 7060CX swiches (but I could use any cisco able to do what I need) and I maintain a dhcp server service running in a host. As the IPs i'm using are always the same (as I deploy the same configuration in different boxes), I would like to know if there's any way to get rid of the dhcp server and make the switches assign an ip based on the port.

That way, doesn't matter what I plug in Gi1/0/1, the device connected there will be configured as 192.168.1.1. If a device is plugged in Gi1/0/2, it will configured as 192.168.1.2. etc etc.

Is this even possible?



No comments:

Post a Comment