Ubuntu Pastebin

Paste from interfaces at Mon, 28 Sep 2015 10:36:50 +0000

Download as text
 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
51
52
53
54
55
56
57
58
59
60
61
# For the table names in config below, those need to be added to /etc/iproute2/rt_tables

# The loopback network interface
auto lo
iface lo inet loopback

# Network Interfaces
auto eth0
iface eth0 inet static
        address 141.255.187.242
        netmask 255.255.255.248
        gateway 141.255.187.241
	post-up /sbin/ip route add 141.255.187.240/29 dev eth0 src 141.255.187.242 table eth0
	post-up /sbin/ip route add default via 141.255.187.241 dev eth0 table eth0
	post-down /sbin/ip rule del from 141.255.187.242 table eth0
	dns-nameservers 8.8.8.8 8.8.4.4
iface eth0 inet6 static
        address 2a00:16d8:2:407::2
        netmask 64
        gateway 2a00:16d8:2:407::1
        pre-up modprobe ipv6
	dns-nameservers 2001:4860:4860::8888 2001:4860:4860::8844

auto eth1
iface eth1 inet static
        address 141.255.187.243
        netmask 255.255.255.248
	post-up /sbin/ip route add 141.255.187.240/29 dev eth1 src 141.255.187.243 table eth1
	post-up /sbin ip route add default via 141.255.187.241 dev eth1 table eth1
	post-up /sbin ip rule add from 141.255.187.243 table eth1
	post-down /sbin/ip rule del from 141.255.187.243 table eth1
iface eth1 inet6 static
        address 2a00:16d8:2:407::3
        netmask 64
        pre-up modprobe ipv6

auto eth4
iface eth4 inet static
        address 141.255.187.244
        netmask 255.255.255.248
	post-up /sbin/ip route add 141.255.187.240/29 dev eth4 src 141.255.187.243 table eth4
	post-up /sbin/ip route add default via 141.255.187.241 dev eth4 table eth4
	post-up /sbin/ip rule add from 141.255.187.244 table eth4
	post-down /sbin/ip rule del from 141.255.187.244 table eth4
iface eth4 inet6 static
        address 2a00:16d8:2:407::4
        netmask 64
        pre-up modprobe ipv6

auto eth3
iface eth3 inet static
        address 141.255.187.245
        netmask 255.255.255.248
	post-up /sbin/ip route add 141.255.187.240/29 dev eth3 src 141.255.187.245 table eth3
	post-up /sbin/ip route add default via 141.255.187.241 dev eth3 table eth3
	post-up /sbin/ip rule add from 141.255.187.245 table eth3
	post-down /sbin/ip rule del from 141.255.187.245 eth3
iface eth3 inet6 static
        address 2a00:16d8:2:407::5
        netmask 64
        pre-up modprobe ipv6
Download as text