deh.santos
(usa Kali)
Enviado em 21/09/2017 - 14:51h
root@-Kali:~# ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }
ip [ -force ] -batch filename
where OBJECT := { link | address | addrlabel | route | rule | neigh | ntable |
tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
netns | l2tp | fou | macsec | tcp_metrics | token | netconf | ila }
OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |
-h[uman-readable] | -iec |
-f[amily] { inet | inet6 | ipx | dnet | mpls | bridge | link } |
-4 | -6 | -I | -D | -B | -0 |
-l[oops] { maximum-addr-flush-attempts } | -br[ief] |
-o[neline] | -t[imestamp] | -ts[hort] | -b[atch] [filename] |
-rc[vbuf] [size] | -n[etns] name | -a[ll] | -c[olor]}
root@-Kali:~# ip route show
default via 192.168.0.1 dev eth0 proto static metric 100
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.9 metric 100
root@Jaynne-Kali:~# ip addr show
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 state UP group default qlen 1000
link/ether 30:f9:ed:a0:85:cf brd ff:ff:ff:ff:ff:ff
inet 192.168.0.9/24 brd 192.168.0.255 scope global dynamic eth0
valid_lft 7034sec preferred_lft 7034sec
inet6 fe80::32f9:edff:fea0:85cf/64 scope link
valid_lft forever preferred_lft forever
root@Jaynne-Kali:~# ip neigh show
192.168.0.1 dev eth0 lladdr 08:10:79:b5:f6:cf REACHABLE
root@Jaynne-Kali:~# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.9 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::32f9:edff:fea0:85cf prefixlen 64 scopeid 0x20<link>
ether 30:f9:ed:a0:85:cf txqueuelen 1000 (Ethernet)
RX packets 8421 bytes 8896259 (8.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5798 bytes 589607 (575.7 KiB)
TX errors 4 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Loopback Local)
RX packets 596 bytes 48284 (47.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 596 bytes 48284 (47.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0