summaryrefslogtreecommitdiff
path: root/sto-tug-kvm2.swamid.se/overlay/etc/network/interfaces
blob: 4b289afcbb0b12712a93ee5591963a3b7557e62b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# ###################################################
# # # This file is maintained in
# # #
# # #    ####    ####    ####   #    #   ####    ####
# # #   #    #  #    #  #       ##  ##  #    #  #
# # #   #       #    #   ####   # ## #  #    #   ####
# # #   #       #    #       #  #    #  #    #       #
# # #   #    #  #    #  #    #  #    #  #    #  #    #
# # #    ####    ####    ####   #    #   ####    ####
# # #
# # # ... so you can't just change it locally.
# # #
# # ###################################################

# 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
auto em1
iface em1 inet static
    address 192.36.125.9
    netmask 255.255.255.0
    network 192.36.125.0
    broadcast 192.36.125.255
    gateway 192.36.125.1
    # dns-* options are implemented by the resolvconf package, if installed
    dns-nameservers 130.242.80.14 130.242.80.99
    dns-search swamid.se

iface em1 inet6 static
    address 2001:6b0:7::9/64
    gateway 2001:6b0:7::1
    dns-nameservers 2001:6b0:1e:14 2001:6b0:1e:99

auto em1:0
iface em1:0 inet static
    address 192.36.125.10
    netmask 255.255.255.0
    network 192.36.125.0
    broadcast 192.36.125.255
    gateway 192.36.125.1
    # dns-* options are implemented by the resolvconf package, if installed
    dns-nameservers 130.242.80.14 130.242.80.99
    dns-search sunet.se
    up ip addr add 2001:6b0:7::10/64 dev em1:0
    down ip addr del 2001:6b0:7::10/64 dev em1:0