Commit 61412b20 authored by Thomas Gambier's avatar Thomas Gambier

Douai: update network interface name for newest Linux kernel

parent aad4d772
...@@ -87,12 +87,20 @@ allow-hotplug eno1 ...@@ -87,12 +87,20 @@ allow-hotplug eno1
iface eno1 inet static iface eno1 inet static
address 192.168.46.$(( 50 + $i ))/24 address 192.168.46.$(( 50 + $i ))/24
# name for older Linux kernel
allow-hotplug enp193s0f1 allow-hotplug enp193s0f1
iface enp193s0f1 inet static iface enp193s0f1 inet static
address 195.90.118.$(( 194 + $i ))/27 address 195.90.118.$(( 194 + $i ))/27
gateway 195.90.118.193 gateway 195.90.118.193
dns-nameservers 1.1.1.1 8.8.8.8 dns-nameservers 1.1.1.1 8.8.8.8
# name for newest Linux kernel (>= 5.10)
allow-hotplug enp193s0f1np1
iface enp193s0f1np1 inet static
address 195.90.118.$(( 194 + $i ))/27
gateway 195.90.118.193
dns-nameservers 1.1.1.1 8.8.8.8
#allow-hotplug enp193s0f0 #allow-hotplug enp193s0f0
#iface enp193s0f0 inet dhcp #iface enp193s0f0 inet dhcp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment