HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //proc/1233/root/usr/share/doc/ifupdown/examples/pattern-matching
# Match all interfaces starting with "eth". This will bring up eth0 and eth1
# at boot time, if those interfaces exist.

auto /eth*
iface eth0 inet dhcp
iface eth1 inet static
	address 93.184.216.34

# Match all interfaces starting with "eth", and bring them up using the same
# stanza.

auto /eth*/=foo
iface foo inet dhcp

# Match an interface by MAC address, and use the configuration from logical
# interface foo to bring it up.

auto mac/01:23:45:67:89:ad/=foo
iface foo inet6 dhcp

# Match the first Ethernet interface on Linux. These contain the value "1" in
# the sysfs file "type".

auto type/1/1=bar
iface bar inet dhcp

# Match the second wireless interface on Linux. These have a directory called
# "wireless" in their sysfs directory. The pattern * matches if this exists.

auto wireless/*/2=baz
iface baz inet6 dhcp