Ubuntu Pastebin

Paste from ubuntu at Mon, 10 Jul 2017 18:09:56 +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
$ ./go.sh addr
mode=addr DHCP_ADDR=172.31.31.71/20 ADDR=172.31.31.71/20 IFACE=eth0
exroute=169.254.169.254/32 dev eth0
$ ifdown eth0
Killed old client process
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/06:85:a8:ac:84:b5
Sending on   LPF/eth0/06:85:a8:ac:84:b5
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 172.31.16.1 port 67 (xid=0x47230f30)
$ ip addr add 172.31.31.71/20 dev eth0
$ ip link set dev eth0 up
$ ip route add 169.254.169.254/32 dev eth0
$ wget http://169.254.169.254/ --timeout=2 -O - --tries=2
--2017-07-10 18:09:30--  http://169.254.169.254/
Connecting to 169.254.169.254:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 197 [text/plain]
Saving to: ‘STDOUT’
1.0
2007-01-19
2007-03-01
2007-08-29
2007-10-10
2007-12-15
2008-02-01
2008-09-01
2009-04-04
2011-01-01
2011-05-01
2012-01-12
2014-02-25
2014-11-05
2015-10-20
2016-04-19
2016-06-30
2016-09-02
latest
     0K                                                       100% 27.3M=0s

2017-07-10 18:09:30 (27.3 MB/s) - written to stdout [197/197]

$ ip route del 169.254.169.254/32 dev eth0
$ ip addr flush dev eth0
$ ip link set dev eth0 down
$ ifup eth0
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/06:85:a8:ac:84:b5
Sending on   LPF/eth0/06:85:a8:ac:84:b5
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x2ee3aa4f)
DHCPREQUEST of 172.31.31.71 on eth0 to 255.255.255.255 port 67 (xid=0x4faae32e)
DHCPOFFER of 172.31.31.71 from 172.31.16.1
DHCPACK of 172.31.31.71 from 172.31.16.1
bound to 172.31.31.71 -- renewal in 1528 seconds.
Download as text