in the file /etc/network/interfaces i changed the adapter from the usual
auto enp0s3
iface enp0s3 inet dhcp
to
auto enp0s8
iface enp0s8 inet static
address 172.16.9.2
netmask 255.255.255.0
network 172.16.9.0
gateway 172.16.9.1
broadcast 172.16.9.255
dns-namedservers 8.8.8.8 8.8.4.4
so this should auto change enp0s3 to enp0s8 with the proper internal configurations for the network. instead, i get this when i ip a
2 enp0s3:<the usual broadcast multimask......>
link/ether <mac that ive changed so many times now> brd ffff:ff:ff:ff:ff
ive rebooted multiple times, nothing.
added in a file called /etc/udev/rules.d/10-rename-network.rules
with this one line SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="<whatever ive changed the mac addr to>", NAME="enp0s8"
for my other vms, adding that file and one line worked and changed enp0s3 to enp0s8 and allowed me to talk across my internal network properly. this time it isnt. any suggestions on what i can do?