Bare metal installation issue when changing network interface name to eth0
Posted: Fri Jan 28, 2022 1:11 pm
Hi Guys,
I'm following the EVEN NG Professional cook book for bare metal installation and having some issues with this step:
I do as instructed and change the interface name from ens1f0 to eth0 (also tried changing to eth1f0) but then lose network connectivity after reboot.
I'm following the EVEN NG Professional cook book for bare metal installation and having some issues with this step:
Code: Select all
Step 25: IMPORTANT: Edit network interface name
nano /etc/netplan/00-installer-config.yaml
change interface name “ensXXX” to “eth0”
To save edited 00-installer-config.yaml use keys
combo:
[Ctrl]+[o] Letter o (oscar)
Enter
[Ctrl]+[x] Letter x (x-ray) for exit
Step 26: Update interface names with single line command:
sed -i -e 's/GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0
noquiet"/' /etc/default/grub
Step 27: Update GRUB
update-grub
Code: Select all
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
dhcp4: true
eno2:
dhcp4: true
eno3:
dhcp4: true
eno4:
dhcp4: true
eno49:
dhcp4: true
eno50:
dhcp4: true
eth1f0:
addresses:
- 10.0.0.25/24
gateway4: 10.0.0.1
nameservers:
addresses:
- 8.8.8.8
- 4.4.4.4
search: []
ens1f1:
dhcp4: true
version: 2