HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //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