- Codice: Seleziona tutto
root@host:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.2 0.0.0.0 UG 100 0 0 enp6s0
0.0.0.0 192.168.1.1 0.0.0.0 UG 600 0 0 wlp3s0
192.168.0.1 0.0.0.0 255.255.255.255 UH 100 0 0 enp6s0
192.168.0.2 0.0.0.0 255.255.255.255 UH 100 0 0 enp6s0
192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp3s0
root@host:~# ifconfig
enp4s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 54:a0:50:e8:bf:cc txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.1 netmask 255.255.255.255 broadcast 192.168.0.1
inet6 fe80::6a35:6cc3:6383:473 prefixlen 64 scopeid 0x20<link>
ether c4:6e:1f:03:db:b0 txqueuelen 1000 (Ethernet)
RX packets 993 bytes 91360 (89.2 KiB)
RX errors 0 dropped 15 overruns 0 frame 0
TX packets 623 bytes 58303 (56.9 KiB)
TX errors 0 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 (Local Loopback)
RX packets 183 bytes 14784 (14.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 183 bytes 14784 (14.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.107 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::16cc:20ff:fe49:2d12 prefixlen 64 scopeid 0x20<link>
ether 14:cc:20:49:2d:12 txqueuelen 1000 (Ethernet)
RX packets 1504 bytes 320306 (312.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 278 bytes 27150 (26.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
intervento di moderazione: incluso tra tag CODE il contenuto sopra riportato per una migliore leggibilità.