Office_Networks/OPP/interfaces.OPP
2018-05-08 03:01:03 +02:00

56 lines
1.2 KiB
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
#-----------------------------
# eth2 - WAN
#-----------------------------
auto eth2
iface eth2 inet static
address 172.16.62.1
network 172.16.62.0
netmask 255.255.255.0
gateway 172.16.62.254
#post-up vconfig add eth2 7
#post-down vconfig rem eth2.7
#-----------------------------
# eth1 - LAN
#-----------------------------
auto eth1
iface eth1 inet static
address 192.168.62.254
network 192.168.62.0
netmask 255.255.255.0
broadcast 192.168.62.255
auto eth1:0
iface eth1:0 inet static
address 192.168.62.53
network 192.168.62.0
netmask 255.255.255.0
broadcast 192.168.62.255
auto eth1:rescue
iface eth1:rescue inet static
address 172.16.1.1
network 172.16.1.0
netmask 255.255.255.0
broadcast 172.16.1.255
#-----------------------------
# ppp0 - NOT IN USE
#-----------------------------
#auto dsl-provider
# iface dsl-provider inet ppp
# pre-up /sbin/ifconfig eth2.7 up # line maintained by pppoeconf
# provider dsl-provider