secgateway/kernel/rootfs_base/etc/network/interfaces

40 lines
825 B
Plaintext

# ifupdown has been replaced by netplan(5) on this system. See
# /etc/netplan for current configuration.
# To re-enable ifupdown on this system, you can run:
# sudo apt install ifupdown
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet manual
pre-up ifconfig $IFACE up
post-down ifconfig $IFACE down
auto eth2
iface eth2 inet manual
up ifconfig $IFACE up
post-down ifconfig $IFACE down
auto eth3
iface eth3 inet manual
up ifconfig $IFACE up
post-down ifconfig $IFACE down
auto eth4
iface eth4 inet manual
up ifconfig $IFACE up
post-down ifconfig $IFACE down
auto wlp1s0
iface wlp1s0 inet static
address 192.168.6.1
network 192.168.6.0
netmask 255.255.255.0
brodcast 192.168.6.255
# up ifconfig $IFACE up
# post-down ifconfig $IFACE down