· 7 years ago · Sep 05, 2018, 11:06 PM
1root@debian:~# cat /etc/network/interfaces
2# This file describes the network interfaces available on your system
3# and how to activate them. For more information, see interfaces(5).
4
5source /etc/network/interfaces.d/*
6
7# The loopback network interface
8auto lo
9iface lo inet loopback
10
11iface eno1 inet manual
12
13auto vmbr0
14iface vmbr0 inet static
15 address 192.168.1.12
16 netmask 255.255.255.0
17 gateway 192.168.1.0
18 bridge_ports eno1
19 bridge_stp off
20 bridge_fd 0