All pastes #974216 Raw Edit

Someone

public text v1 · immutable
·published 2008-04-06 17:30 UTC
rendered paste body
# 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

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
        address 192.168.16.3
        netmask 255.255.255.0
        network 192.168.16.0
        broadcast 192.168.16.255
        gateway 192.168.16.2
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 192.168.16.2
        dns-search bsg.local

# The secondry network interface
allow-hotplug eth1
iface eth1 inet static
        address 81.2.65.234
        netmask 255.255.255.248
        network 81.187.65.232
        broadcast 81.187.65.239
        up /sbin/ip -4 route add 194.145.191.93/32 via 81.187.50.65 dev eth1 || true
        down /sbin/ip -4 route del 194.145.191.93/32 via 81.187.50.65 dev eth1 || true

allow-hotplug eth1:1
iface eth1:1 inet static
        address 81.2.65.235
        netmask 255.255.255.248
        network 81.187.65.232
        broadcast 81.187.65.239

allow-hotplug eth1:2
iface eth1:2 inet static
        address 81.2.65.236
        netmask 255.255.255.248
        network 81.187.65.232
        broadcast 81.187.65.239