Gentoo. Две сетевухи в разных подсетях. Как их обе добавить в автозагрузку. Чтобы при старте системы поднималось два интерфейса.
zeratul@zeratul ~ $ ifconfig -a
enp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 10.0.2.9 netmask 255.255.0.0 broadcast 10.0.2.255
ether 40:16:7e:67:37:bc txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255
inet6 fe80::250:22ff:fec8:1201 prefixlen 64 scopeid 0x20<link>
ether 00:50:22:c8:12:01 txqueuelen 1000 (Ethernet)
RX packets 6937 bytes 8424366 (8.0 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4799 bytes 437528 (427.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 768 bytes 81364 (79.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 768 bytes 81364 (79.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
zeratul@zeratul ~ $ cat /etc/conf.d/net
config_enp5s0="dhcp"
config_enp3s0="10.0.2.9 netmask 255.255.0.0 brd 10.0.2.255"