I set this up in /etc/network/interfaces:
Code: Select all
#Production interface
auto eno1
iface eno1 inet static
address 192.168.1.95
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1
Code: Select all
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether c4:34:6b:21:2d:44 brd ff:ff:ff:ff:ff:ff
altname enp3s0f0
Code: Select all
#Production interface
auto enp3s0f0
iface enp3s0f0 inet static
address 192.168.1.95
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1
Code: Select all
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::c634:6bff:fe21:2d44 prefixlen 64 scopeid 0x20<link>
ether c4:34:6b:21:2d:44 txqueuelen 1000 (Ethernet)
RX packets 6021587 bytes 3732398704 (3.4 GiB)
RX errors 0 dropped 42 overruns 0 frame 0
TX packets 7675170 bytes 7311021949 (6.8 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17
enp3s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.95 netmask 255.255.255.0 broadcast 192.168.1.255
ether c4:34:6b:21:2d:44 txqueuelen 1000 (Ethernet)
device interrupt 17
This is Bookworm, if it matters.