Last active
April 30, 2018 17:20
-
-
Save anddam/e819cae9dcb9f472fc2a456df18e68c7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ip a show usben0 | |
7: usben0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 | |
link/ether 00:e0:4c:53:44:58 brd ff:ff:ff:ff:ff:ff | |
inet 192.168.1.16/24 brd 192.168.1.255 scope global usben0 | |
valid_lft forever preferred_lft forever | |
inet6 fe80::2e0:4cff:fe53:4458/64 scope link | |
valid_lft forever preferred_lft forever | |
$ ip route | |
default via 192.168.2.254 dev wlp1s0 proto static metric 600 | |
192.168.1.0/24 dev usben0 proto kernel scope link src 192.168.1.16 metric 100 | |
192.168.2.0/24 dev wlp1s0 proto kernel scope link src 192.168.2.72 metric 600 | |
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown | |
$ ip neigh | |
192.168.2.254 dev wlp1s0 lladdr 10:13:31:53:9e:7e REACHABLE | |
192.168.1.1 dev usben0 FAILED | |
fe80::1213:31ff:fe53:9e7e dev wlp1s0 lladdr 10:13:31:53:9e:7e router REACHABLE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ssh 192.168.1.1 | |
ssh: connect to host 192.168.1.1 port 22: No route to host | |
$ ping -c 3 192.168.1.1 | |
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. | |
From 192.168.1.16 icmp_seq=1 Destination Host Unreachable | |
From 192.168.1.16 icmp_seq=2 Destination Host Unreachable | |
From 192.168.1.16 icmp_seq=3 Destination Host Unreachable | |
--- 192.168.1.1 ping statistics --- | |
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2055ms | |
pipe 3 | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment