Ubuntu Pastebin

Paste from ubuntu at Mon, 10 Jul 2017 18:10:58 +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
$ ./go.sh link-local
mode=link-local DHCP_ADDR=172.31.31.71/20 ADDR=169.254.169.10/24 IFACE=eth0
exroute=
$ 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=0x638c9d80)
$ ip addr add 169.254.169.10/24 dev eth0
$ ip link set dev eth0 up
$ wget http://169.254.169.254/ --timeout=2 -O - --tries=2
--2017-07-10 18:10:36--  http://169.254.169.254/
Connecting to 169.254.169.254:80... failed: Connection timed out.
Retrying.

--2017-07-10 18:10:39--  (try: 2)  http://169.254.169.254/
Connecting to 169.254.169.254:80... failed: Connection timed out.
Giving up.

$ 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=0xdac5d91d)
DHCPREQUEST of 172.31.31.71 on eth0 to 255.255.255.255 port 67 (xid=0x1dd9c5da)
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 1791 seconds.
Download as text