Maybe I have some fundamental misunderstanding about subnets, but someone at my company is telling me what I want to achieve is not possible or at least not reliable.
Currently, we have multiple computers with a static IP on the ethernet port used for connecting to directly without being part of a wider LAN on a 10.x.x.x address.
I would like to also be able to use this port for things such as offloading data or downloading updates and thought I could simply add dhcp to the config as such:
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: yes
dhcp6: no
addresses:
- 10.1.2.15/24
And the networks it would be connecting to would be on a 192.168.x.x subnet.
Seemed to work fine with the above config but I'm being told there's some vague reliability issues.
Would this actually cause unintended and erratic behavior? One thing that is of concern is that multiple computers will have this exact same config, but since you can only connect to one at a time directly, and none of the networks with DHCP have the same IP.
Would this cause issues? Should the static IP be made the secondary IP? Do I need to do something special to the routing? Or is this just not possible to make work?