Skip to content

Instantly share code, notes, and snippets.

@mnathani
Created September 22, 2024 05:16
Show Gist options
  • Select an option

  • Save mnathani/7df902652ec1360234ce748c29e1871f to your computer and use it in GitHub Desktop.

Select an option

Save mnathani/7df902652ec1360234ce748c29e1871f to your computer and use it in GitHub Desktop.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
#auto lo
#iface lo inet loopback
# The primary network interface
#allow-hotplug enp4s0
#iface enp4s0 inet static
# address 192.168.2.36/24
# gateway 192.168.2.32
# dns-* options are implemented by the resolvconf package, if installed
# dns-nameservers 1.1.1.1
# dns-search mastername.net
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto br0
iface br0 inet static
address 192.168.2.36
netmask 255.255.255.0
gateway 192.168.2.32
dns-nameservers 1.1.1.1 8.8.8.8
bridge_ports enp4s0
bridge_stp off
bridge_maxwait 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment