On 11/08/2019 23.39, James Knott wrote:
On 2019-08-11 05:13 PM, Carlos E. R. wrote:
Well, most of the devices I configure are routers, that may explain why most of those I get come with a fixed address. But also some other devices. Switches, perhaps?
That depends on the switch. Consumer grade managed switches generally use DHCP. Industrial grade, from Cisco, Adtran, etc. don't even come with IP enabled. You have to use the serial console, to enable IP, assign addresses, etc. But then you know that from your CCNA.
There are some middle range switches, which are those I manage, which use a management IP instead. I have seen Cisco routers with a serial console, yes. But none in "real life". Smaller sites.
Also, I use firewall/router software called pfSense. While it uses link local addresses, it does not use MAC based addresses. Instead, it's link local address on my LAN is fe80::1:1. I also have a test LAN with the address fe80::1:1. How is that possible? Well, on link local, the full address includes the interface. So, my LAN is actually fe80::1:1%bge0 and test LAN, fe80::1:1%em0. So, you don't always know what the link local address will be, until you power things up.
-- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)