Ubuntu Pastebin

Paste from dimitern at Thu, 18 Aug 2016 13:55:28 +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
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
ubuntu@maas-20-node-2:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br-eth0 state UP group default qlen 1000
    link/ether 52:54:00:e6:b1:45 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::5054:ff:fee6:b145/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br-eth1 state UP group default qlen 1000
    link/ether 52:54:00:dd:09:14 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::5054:ff:fedd:914/64 scope link 
       valid_lft forever preferred_lft forever
4: br-eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 52:54:00:e6:b1:45 brd ff:ff:ff:ff:ff:ff
    inet 10.20.20.252/24 brd 10.20.20.255 scope global br-eth0
       valid_lft forever preferred_lft forever
    inet 10.20.20.253/24 brd 10.20.20.255 scope global secondary br-eth0:1
       valid_lft forever preferred_lft forever
    inet6 fc00:2020::5054:ff:fee6:b145/64 scope global mngtmpaddr dynamic 
       valid_lft 3537sec preferred_lft 3537sec
    inet6 fe80::5054:ff:fee6:b145/64 scope link 
       valid_lft forever preferred_lft forever
5: br-eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 52:54:00:dd:09:14 brd ff:ff:ff:ff:ff:ff
    inet 10.20.20.254/24 brd 10.20.20.255 scope global br-eth1
       valid_lft forever preferred_lft forever
    inet6 fc00:2020::5054:ff:fedd:914/64 scope global mngtmpaddr dynamic 
       valid_lft 3538sec preferred_lft 3538sec
    inet6 fc00:2020::2:1:9a/64 scope global deprecated 
       valid_lft forever preferred_lft 0sec
    inet6 fe80::5054:ff:fedd:914/64 scope link 
       valid_lft forever preferred_lft forever
ubuntu@maas-20-node-2:~$ ip r
default via 10.20.20.2 dev br-eth1 onlink 
10.20.20.0/24 dev br-eth1  proto kernel  scope link  src 10.20.20.254 
10.20.20.0/24 dev br-eth0  proto kernel  scope link  src 10.20.20.252 
ubuntu@maas-20-node-2:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
    dns-nameservers 10.20.20.2
    dns-search maas

auto eth0
iface eth0 inet manual
    mtu 1500
    post-up ifup eth0:1

auto br-eth0
iface br-eth0 inet static
    address 10.20.20.252/24
    post-up ifup eth0:1
    bridge_ports eth0
    dns-nameservers 10.20.20.2

auto br-eth0:1
iface br-eth0:1 inet static
    address 10.20.20.253/24
    dns-nameservers 10.20.20.2

auto eth1
iface eth1 inet manual
    mtu 1500
    post-up ifup eth1:1

auto br-eth1
iface br-eth1 inet static
    gateway 10.20.20.2
    address 10.20.20.254/24
    post-up ifup eth1:1
    bridge_ports eth1
    dns-nameservers 10.20.20.2

auto br-eth1:1
iface br-eth1:1 inet6 static
    gateway fc00:2020::2
    address fc00:2020::2:1:9a/64
    dns-nameservers fc00:2020::2

source /etc/network/inter^C
ubuntu@maas-20-node-2:~$ ip r
default via 10.20.20.2 dev br-eth1 onlink 
10.20.20.0/24 dev br-eth1  proto kernel  scope link  src 10.20.20.254 
10.20.20.0/24 dev br-eth0  proto kernel  scope link  src 10.20.20.252 
ubuntu@maas-20-node-2:~$ ifconfig 
br-eth0   Link encap:Ethernet  HWaddr 52:54:00:e6:b1:45  
          inet addr:10.20.20.252  Bcast:10.20.20.255  Mask:255.255.255.0
          inet6 addr: fc00:2020::5054:ff:fee6:b145/64 Scope:Global
          inet6 addr: fe80::5054:ff:fee6:b145/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:125 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:9459 (9.4 KB)  TX bytes:1086 (1.0 KB)

br-eth0:1 Link encap:Ethernet  HWaddr 52:54:00:e6:b1:45  
          inet addr:10.20.20.253  Bcast:10.20.20.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

br-eth1   Link encap:Ethernet  HWaddr 52:54:00:dd:09:14  
          inet addr:10.20.20.254  Bcast:10.20.20.255  Mask:255.255.255.0
          inet6 addr: fe80::5054:ff:fedd:914/64 Scope:Link
          inet6 addr: fc00:2020::2:1:9a/64 Scope:Global
          inet6 addr: fc00:2020::5054:ff:fedd:914/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:801 errors:0 dropped:0 overruns:0 frame:0
          TX packets:854 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:88240 (88.2 KB)  TX bytes:127017 (127.0 KB)

eth0      Link encap:Ethernet  HWaddr 52:54:00:e6:b1:45  
          inet6 addr: fe80::5054:ff:fee6:b145/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:134 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:12168 (12.1 KB)  TX bytes:1648 (1.6 KB)

eth1      Link encap:Ethernet  HWaddr 52:54:00:dd:09:14  
          inet6 addr: fe80::5054:ff:fedd:914/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:834 errors:0 dropped:0 overruns:0 frame:0
          TX packets:861 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:104214 (104.2 KB)  TX bytes:127563 (127.5 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:212 errors:0 dropped:0 overruns:0 frame:0
          TX packets:212 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:15880 (15.8 KB)  TX bytes:15880 (15.8 KB)
Download as text