gsb2024/roles/post/files/interfaces.s-nxc
2023-12-18 23:20:30 +01:00

25 lines
556 B
Plaintext

#This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# cote N-adm
allow-hotplug enp0s3
iface enp0s3 inet static
address 192.168.99.7
netmask 255.255.255.0
gateway 192.168.99.99
# cote N-infra
allow-hotplug enp0s8
iface enp0s8 inet static
address 172.16.0.7
netmask 255.255.255.0
post-up route add -net 172.16.64.0/24 gw 172.16.0.254
post-up route add -net 172.16.65.0/24 gw 172.16.0.254