/l3/users/allex/nt-voip/root :1 :2 :3 :4 :5 :6 |
|
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.50.254 0.0.0.0 UG 0 0 0 eth0 192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 |
#ping 192.168.50.2
PING 192.168.50.2 (192.168.50.2) 56(84) bytes of data. ^C --- 192.168.50.2 ping statistics --- 6 packets transmitted, 0 received, 100% packet loss, time 4999ms |
#ping 192.168.50.2
PING 192.168.50.2 (192.168.50.2) 56(84) bytes of data. ^C --- 192.168.50.2 ping statistics --- 6 packets transmitted, 0 received, 100% packet loss, time 4999ms |
#ping 192.168.40.1
PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data. ^C --- 192.168.40.1 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2007ms |
#ping 192.168.40.1
PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data. ^C --- 192.168.40.1 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2007ms |
#ping 192.168.40.254
PING 192.168.40.254 (192.168.40.254) 56(84) bytes of data. ^C --- 192.168.40.254 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2007ms |
#ping 192.168.40.254
PING 192.168.40.254 (192.168.40.254) 56(84) bytes of data. ^C --- 192.168.40.254 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2007ms |
#ping 192.168.30.254
PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. From 192.168.50.1 icmp_seq=2 Destination Host Unreachable From 192.168.50.1 icmp_seq=3 Destination Host Unreachable From 192.168.50.1 icmp_seq=4 Destination Host Unreachable ^C --- 192.168.30.254 ping statistics --- 7 packets transmitted, 0 received, +3 errors, 100% packet loss, time 6017ms pipe 3 |
#ping 192.168.30.254
PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. From 192.168.50.1 icmp_seq=2 Destination Host Unreachable From 192.168.50.1 icmp_seq=3 Destination Host Unreachable From 192.168.50.1 icmp_seq=4 Destination Host Unreachable ^C --- 192.168.30.254 ping statistics --- 7 packets transmitted, 0 received, +3 errors, 100% packet loss, time 6017ms pipe 3 |
#ifconfig
eth0 Link encap:Ethernet HWaddr 2c:27:d7:46:19:88 inet addr:192.168.50.1 Bcast:192.168.255.255 Mask:255.255.0.0 inet6 addr: fe80::2e27:d7ff:fe46:1988/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:239358 errors:0 dropped:95 overruns:0 frame:0 TX packets:21385 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:49087994 (46.8 MiB) TX bytes:1868331 (1.7 MiB) Interrupt:20 Memory:fe400000-fe420000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:301 errors:0 dropped:0 overruns:0 frame:0 TX packets:301 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:26574 (25.9 KiB) TX bytes:26574 (25.9 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 2c:27:d7:46:19:88 inet addr:192.168.50.1 Bcast:192.168.255.255 Mask:255.255.0.0 inet6 addr: fe80::2e27:d7ff:fe46:1988/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:239358 errors:0 dropped:95 overruns:0 frame:0 TX packets:21385 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:49087994 (46.8 MiB) TX bytes:1868331 (1.7 MiB) Interrupt:20 Memory:fe400000-fe420000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:301 errors:0 dropped:0 overruns:0 frame:0 TX packets:301 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:26574 (25.9 KiB) TX bytes:26574 (25.9 KiB) |
#ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 192.168.50.254 icmp_seq=1 Destination Host Unreachable From 192.168.50.254 icmp_seq=2 Destination Host Unreachable From 192.168.50.254 icmp_seq=3 Destination Host Unreachable From 192.168.50.254 icmp_seq=4 Destination Host Unreachable From 192.168.50.254 icmp_seq=5 Destination Host Unreachable ^C --- 8.8.8.8 ping statistics --- 5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 4001ms |
#ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 192.168.50.254 icmp_seq=1 Destination Host Unreachable From 192.168.50.254 icmp_seq=2 Destination Host Unreachable From 192.168.50.254 icmp_seq=3 Destination Host Unreachable From 192.168.50.254 icmp_seq=4 Destination Host Unreachable From 192.168.50.254 icmp_seq=5 Destination Host Unreachable ^C --- 8.8.8.8 ping statistics --- 5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 4001ms |
#ping 192.168.30.254
PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. From 192.168.50.1 icmp_seq=2 Destination Host Unreachable From 192.168.50.1 icmp_seq=3 Destination Host Unreachable From 192.168.50.1 icmp_seq=4 Destination Host Unreachable From 192.168.50.1 icmp_seq=5 Destination Host Unreachable From 192.168.50.1 icmp_seq=6 Destination Host Unreachable From 192.168.50.1 icmp_seq=7 Destination Host Unreachable ^C --- 192.168.30.254 ping statistics --- 8 packets transmitted, 0 received, +6 errors, 100% packet loss, time 7017ms pipe 3 |
#ping 192.168.30.254
PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. From 192.168.50.1 icmp_seq=2 Destination Host Unreachable From 192.168.50.1 icmp_seq=3 Destination Host Unreachable From 192.168.50.1 icmp_seq=4 Destination Host Unreachable From 192.168.50.1 icmp_seq=5 Destination Host Unreachable From 192.168.50.1 icmp_seq=6 Destination Host Unreachable From 192.168.50.1 icmp_seq=7 Destination Host Unreachable ^C --- 192.168.30.254 ping statistics --- 8 packets transmitted, 0 received, +6 errors, 100% packet loss, time 7017ms pipe 3 |
#ping 192.168.30.254
PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. From 192.168.50.1 icmp_seq=1 Destination Host Unreachable From 192.168.50.1 icmp_seq=2 Destination Host Unreachable From 192.168.50.1 icmp_seq=3 Destination Host Unreachable From 192.168.50.1 icmp_seq=4 Destination Host Unreachable From 192.168.50.1 icmp_seq=5 Destination Host Unreachable From 192.168.50.1 icmp_seq=6 Destination Host Unreachable From 192.168.50.1 icmp_seq=7 Destination Host Unreachable From 192.168.50.1 icmp_seq=8 Destination Host Unreachable From 192.168.50.1 icmp_seq=9 Destination Host Unreachable ^C --- 192.168.30.254 ping statistics --- 10 packets transmitted, 0 received, +9 errors, 100% packet loss, time 9047ms pipe 3 |
#ping 192.168.30.254
PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. From 192.168.50.1 icmp_seq=1 Destination Host Unreachable From 192.168.50.1 icmp_seq=2 Destination Host Unreachable From 192.168.50.1 icmp_seq=3 Destination Host Unreachable From 192.168.50.1 icmp_seq=4 Destination Host Unreachable From 192.168.50.1 icmp_seq=5 Destination Host Unreachable From 192.168.50.1 icmp_seq=6 Destination Host Unreachable From 192.168.50.1 icmp_seq=7 Destination Host Unreachable From 192.168.50.1 icmp_seq=8 Destination Host Unreachable From 192.168.50.1 icmp_seq=9 Destination Host Unreachable ^C --- 192.168.30.254 ping statistics --- 10 packets transmitted, 0 received, +9 errors, 100% packet loss, time 9047ms pipe 3 |
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data. ^C --- 10.0.35.1 ping statistics --- 12 packets transmitted, 0 received, 100% packet loss, time 10999ms |
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data. ^C --- 10.0.35.1 ping statistics --- 12 packets transmitted, 0 received, 100% packet loss, time 10999ms |
#ping 192.168.30.254
PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. ^C --- 192.168.30.254 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2008ms |
#ping 192.168.30.254
PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. ^C --- 192.168.30.254 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2008ms |
#ping 192.168.30.254
PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. ^C --- 192.168.30.254 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2008ms |
#ping 192.168.30.254
PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. ^C --- 192.168.30.254 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2008ms |
#ping 192.168.30.1
PING 192.168.30.1 (192.168.30.1) 56(84) bytes of data. ^C --- 192.168.30.1 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1000ms |
#ping 192.168.30.1
PING 192.168.30.1 (192.168.30.1) 56(84) bytes of data. ^C --- 192.168.30.1 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1000ms |
#ping 192.168.40
PING 192.168.40 (192.168.0.40) 56(84) bytes of data. ^C --- 192.168.40 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 999ms |
#ping 192.168.40
PING 192.168.40 (192.168.0.40) 56(84) bytes of data. ^C --- 192.168.40 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 999ms |
#ping 192.168.40.1
PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data. ^C --- 192.168.40.1 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 999ms |
#ping 192.168.40.1
PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data. ^C --- 192.168.40.1 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 999ms |
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data. 64 bytes from 10.0.35.1: icmp_req=1 ttl=63 time=0.518 ms 64 bytes from 10.0.35.1: icmp_req=2 ttl=63 time=0.309 ms ^C --- 10.0.35.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.309/0.413/0.518/0.106 ms |
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data. 64 bytes from 10.0.35.1: icmp_req=1 ttl=63 time=0.518 ms 64 bytes from 10.0.35.1: icmp_req=2 ttl=63 time=0.309 ms ^C --- 10.0.35.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.309/0.413/0.518/0.106 ms |
#ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. ^C --- 8.8.8.8 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2016ms |
#ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. ^C --- 8.8.8.8 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2016ms |
#ping 192.168.40.1
PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data. From 192.168.50.1 icmp_seq=2 Destination Host Unreachable From 192.168.50.1 icmp_seq=3 Destination Host Unreachable From 192.168.50.1 icmp_seq=4 Destination Host Unreachable From 192.168.50.1 icmp_seq=5 Destination Host Unreachable From 192.168.50.1 icmp_seq=6 Destination Host Unreachable From 192.168.50.1 icmp_seq=7 Destination Host Unreachable From 192.168.50.1 icmp_seq=8 Destination Host Unreachable From 192.168.50.1 icmp_seq=9 Destination Host Unreachable From 192.168.50.1 icmp_seq=10 Destination Host Unreachable ... From 192.168.50.1 icmp_seq=71 Destination Host Unreachable From 192.168.50.1 icmp_seq=72 Destination Host Unreachable From 192.168.50.1 icmp_seq=73 Destination Host Unreachable From 192.168.50.1 icmp_seq=74 Destination Host Unreachable From 192.168.50.1 icmp_seq=75 Destination Host Unreachable From 192.168.50.1 icmp_seq=76 Destination Host Unreachable ^[^C --- 192.168.40.1 ping statistics --- 78 packets transmitted, 0 received, +75 errors, 100% packet loss, time 77393ms pipe 3 |
#ping 192.168.40.1
PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data. From 192.168.50.1 icmp_seq=2 Destination Host Unreachable From 192.168.50.1 icmp_seq=3 Destination Host Unreachable From 192.168.50.1 icmp_seq=4 Destination Host Unreachable From 192.168.50.1 icmp_seq=5 Destination Host Unreachable From 192.168.50.1 icmp_seq=6 Destination Host Unreachable From 192.168.50.1 icmp_seq=7 Destination Host Unreachable From 192.168.50.1 icmp_seq=8 Destination Host Unreachable From 192.168.50.1 icmp_seq=9 Destination Host Unreachable From 192.168.50.1 icmp_seq=10 Destination Host Unreachable ... From 192.168.50.1 icmp_seq=71 Destination Host Unreachable From 192.168.50.1 icmp_seq=72 Destination Host Unreachable From 192.168.50.1 icmp_seq=73 Destination Host Unreachable From 192.168.50.1 icmp_seq=74 Destination Host Unreachable From 192.168.50.1 icmp_seq=75 Destination Host Unreachable From 192.168.50.1 icmp_seq=76 Destination Host Unreachable ^[^C --- 192.168.40.1 ping statistics --- 78 packets transmitted, 0 received, +75 errors, 100% packet loss, time 77393ms pipe 3 |
#ping 192.168.40.1
PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data. ^C --- 192.168.40.1 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 999ms |
#ping 192.168.40.1
PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data. ^C --- 192.168.40.1 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 999ms |
#ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_req=1 ttl=49 time=32.1 ms 64 bytes from 8.8.8.8: icmp_req=2 ttl=49 time=32.0 ms 64 bytes from 8.8.8.8: icmp_req=3 ttl=49 time=31.8 ms ^C --- 8.8.8.8 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 31.816/32.002/32.161/0.250 ms |
#ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_req=1 ttl=49 time=32.1 ms 64 bytes from 8.8.8.8: icmp_req=2 ttl=49 time=32.0 ms 64 bytes from 8.8.8.8: icmp_req=3 ttl=49 time=31.8 ms ^C --- 8.8.8.8 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 31.816/32.002/32.161/0.250 ms |
#ping 192.168.40.1
PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data. 64 bytes from 192.168.40.1: icmp_req=1 ttl=63 time=0.644 ms 64 bytes from 192.168.40.1: icmp_req=2 ttl=63 time=0.726 ms 64 bytes from 192.168.40.1: icmp_req=3 ttl=63 time=0.627 ms ^C --- 192.168.40.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.627/0.665/0.726/0.052 ms |
#ping 192.168.40.1
PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data. 64 bytes from 192.168.40.1: icmp_req=1 ttl=63 time=0.644 ms 64 bytes from 192.168.40.1: icmp_req=2 ttl=63 time=0.726 ms 64 bytes from 192.168.40.1: icmp_req=3 ttl=63 time=0.627 ms ^C --- 192.168.40.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.627/0.665/0.726/0.052 ms |
#ping 192.168.40.2
PING 192.168.40.2 (192.168.40.2) 56(84) bytes of data. 64 bytes from 192.168.40.2: icmp_req=1 ttl=127 time=0.602 ms 64 bytes from 192.168.40.2: icmp_req=2 ttl=127 time=0.592 ms 64 bytes from 192.168.40.2: icmp_req=3 ttl=127 time=0.302 ms ^C --- 192.168.40.2 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.302/0.498/0.602/0.141 ms |
#ping 192.168.40.2
PING 192.168.40.2 (192.168.40.2) 56(84) bytes of data. 64 bytes from 192.168.40.2: icmp_req=1 ttl=127 time=0.602 ms 64 bytes from 192.168.40.2: icmp_req=2 ttl=127 time=0.592 ms 64 bytes from 192.168.40.2: icmp_req=3 ttl=127 time=0.302 ms ^C --- 192.168.40.2 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.302/0.498/0.602/0.141 ms |
#ping 192.168.20.1
PING 192.168.20.1 (192.168.20.1) 56(84) bytes of data. ^C --- 192.168.20.1 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1008ms |
#ping 192.168.20.1
PING 192.168.20.1 (192.168.20.1) 56(84) bytes of data. ^C --- 192.168.20.1 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1008ms |
#ping 192.168.20.2
PING 192.168.20.2 (192.168.20.2) 56(84) bytes of data. ^C --- 192.168.20.2 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms |
#ping 192.168.20.2
PING 192.168.20.2 (192.168.20.2) 56(84) bytes of data. ^C --- 192.168.20.2 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms |
#ping 192.168.20.254
PING 192.168.20.254 (192.168.20.254) 56(84) bytes of data. 64 bytes from 192.168.20.254: icmp_req=1 ttl=64 time=0.822 ms 64 bytes from 192.168.20.254: icmp_req=2 ttl=64 time=0.856 ms ^C --- 192.168.20.254 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 0.822/0.839/0.856/0.017 ms |
#ping 192.168.20.254
PING 192.168.20.254 (192.168.20.254) 56(84) bytes of data. 64 bytes from 192.168.20.254: icmp_req=1 ttl=64 time=0.822 ms 64 bytes from 192.168.20.254: icmp_req=2 ttl=64 time=0.856 ms ^C --- 192.168.20.254 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 0.822/0.839/0.856/0.017 ms |
#ping 192.168.60.1
PING 192.168.60.1 (192.168.60.1) 56(84) bytes of data. 64 bytes from 192.168.60.1: icmp_req=1 ttl=63 time=0.676 ms 64 bytes from 192.168.60.1: icmp_req=2 ttl=63 time=0.673 ms 64 bytes from 192.168.60.1: icmp_req=3 ttl=63 time=0.711 ms ^C --- 192.168.60.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.673/0.686/0.711/0.034 ms |
#ping 192.168.60.1
PING 192.168.60.1 (192.168.60.1) 56(84) bytes of data. 64 bytes from 192.168.60.1: icmp_req=1 ttl=63 time=0.676 ms 64 bytes from 192.168.60.1: icmp_req=2 ttl=63 time=0.673 ms 64 bytes from 192.168.60.1: icmp_req=3 ttl=63 time=0.711 ms ^C --- 192.168.60.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.673/0.686/0.711/0.034 ms |
#ping ya.ru
PING ya.ru (87.250.250.3) 56(84) bytes of data. 64 bytes from www.yandex.ru (87.250.250.3): icmp_req=1 ttl=57 time=16.8 ms 64 bytes from www.yandex.ru (87.250.250.3): icmp_req=2 ttl=57 time=18.7 ms 64 bytes from www.yandex.ru (87.250.250.3): icmp_req=3 ttl=57 time=16.9 ms 64 bytes from www.yandex.ru (87.250.250.3): icmp_req=4 ttl=57 time=16.9 ms 64 bytes from www.yandex.ru (87.250.250.3): icmp_req=5 ttl=57 time=17.4 ms ^C --- ya.ru ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 16.894/17.387/18.702/0.687 ms |
#ping ya.ru
PING ya.ru (87.250.250.3) 56(84) bytes of data. 64 bytes from www.yandex.ru (87.250.250.3): icmp_req=1 ttl=57 time=16.8 ms 64 bytes from www.yandex.ru (87.250.250.3): icmp_req=2 ttl=57 time=18.7 ms 64 bytes from www.yandex.ru (87.250.250.3): icmp_req=3 ttl=57 time=16.9 ms 64 bytes from www.yandex.ru (87.250.250.3): icmp_req=4 ttl=57 time=16.9 ms 64 bytes from www.yandex.ru (87.250.250.3): icmp_req=5 ttl=57 time=17.4 ms ^C --- ya.ru ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 16.894/17.387/18.702/0.687 ms |
#rm /etc/rc2.d/
README S17rsyslog S18cron S18rsync S19cpufrequtils S22rmnologin S14portmap S17sudo S18dahdi S18ssh S20gdm3 S22stop-bootlogd S15nfs-common S18acpid S18dbus S19asterisk S20saned S17binfmt-support S18anacron S18exim4 S19avahi-daemon S21bootlogs S17fancontrol S18atd S18loadcpufreq S19bluetooth S22rc.local |
#rm /etc/rc2.d/
README S17rsyslog S18cron S18rsync S19cpufrequtils S22rmnologin S14portmap S17sudo S18dahdi S18ssh S20gdm3 S22stop-bootlogd S15nfs-common S18acpid S18dbus S19asterisk S20saned S17binfmt-support S18anacron S18exim4 S19avahi-daemon S21bootlogs S17fancontrol S18atd S18loadcpufreq S19bluetooth S22rc.local |
#apt-cache search dhcp
ahcpd - the Ad-Hoc Configuration Protocol arpon - versatile anti ARP poisoning daemon autodns-dhcp - Automatic DNS updates for DHCP batctl - B.A.T.M.A.N. advanced control and management tool batman-adv-dkms - DKMS Source for the batman-advanced kernel module batman-adv-source - Source for the batman-advanced kernel module bootp - server for the bootp protocol with DHCP support udhcpc - Provides the busybox DHCP client implementation udhcpd - Provides the busybox DHCP server implementation connman-dev - Development files for connman ... isc-dhcp-client - ISC DHCP client isc-dhcp-client-dbg - ISC DHCP client (debugging symbols) isc-dhcp-common - common files used by all the isc-dhcp* packages isc-dhcp-dev - API for accessing and modifying the DHCP server and client state isc-dhcp-relay - ISC DHCP relay daemon isc-dhcp-relay-dbg - DHCP relay daemon (debugging symbols) isc-dhcp-server - ISC DHCP server for automatic IP address assignment isc-dhcp-server-dbg - ISC DHCP server for automatic IP address assignment (debug) isc-dhcp-server-ldap - DHCP server able to use LDAP as backend busybox - Tiny utilities for small and embedded systems |
#apt-cache search dhcp
ahcpd - the Ad-Hoc Configuration Protocol arpon - versatile anti ARP poisoning daemon autodns-dhcp - Automatic DNS updates for DHCP batctl - B.A.T.M.A.N. advanced control and management tool batman-adv-dkms - DKMS Source for the batman-advanced kernel module batman-adv-source - Source for the batman-advanced kernel module bootp - server for the bootp protocol with DHCP support udhcpc - Provides the busybox DHCP client implementation udhcpd - Provides the busybox DHCP server implementation connman-dev - Development files for connman ... isc-dhcp-client - ISC DHCP client isc-dhcp-client-dbg - ISC DHCP client (debugging symbols) isc-dhcp-common - common files used by all the isc-dhcp* packages isc-dhcp-dev - API for accessing and modifying the DHCP server and client state isc-dhcp-relay - ISC DHCP relay daemon isc-dhcp-relay-dbg - DHCP relay daemon (debugging symbols) isc-dhcp-server - ISC DHCP server for automatic IP address assignment isc-dhcp-server-dbg - ISC DHCP server for automatic IP address assignment (debug) isc-dhcp-server-ldap - DHCP server able to use LDAP as backend busybox - Tiny utilities for small and embedded systems |
#apt-get install isc-dhcp-sever
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово E: Не удалось найти пакет isc-dhcp-sever |
#apt-get install isc-dhcp-sever
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово E: Не удалось найти пакет isc-dhcp-sever |
#apt-get install isc-dhcp-server
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Предлагаемые пакеты: isc-dhcp-server-ldap НОВЫЕ пакеты, которые будут установлены: isc-dhcp-server обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено. Необходимо скачать 378 kБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 889 kB. ... Предварительная настройка пакетов ... Выбор ранее не выбранного пакета isc-dhcp-server. (Чтение базы данных ... на данный момент установлен 116121 файл и каталог.) Распаковывается пакет isc-dhcp-server (из файла .../isc-dhcp-server_4.1.1-P1-15+squeeze8_i386.deb)... Обрабатываются триггеры для man-db ... Настраивается пакет isc-dhcp-server (4.1.1-P1-15+squeeze8) ... Generating /etc/default/isc-dhcp-server... Starting ISC DHCP server: dhcpdcheck syslog for diagnostics. ... failed! failed! invoke-rc.d: initscript isc-dhcp-server, action "start" failed. |
#apt-get install isc-dhcp-server
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Предлагаемые пакеты: isc-dhcp-server-ldap НОВЫЕ пакеты, которые будут установлены: isc-dhcp-server обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено. Необходимо скачать 378 kБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 889 kB. ... Предварительная настройка пакетов ... Выбор ранее не выбранного пакета isc-dhcp-server. (Чтение базы данных ... на данный момент установлен 116121 файл и каталог.) Распаковывается пакет isc-dhcp-server (из файла .../isc-dhcp-server_4.1.1-P1-15+squeeze8_i386.deb)... Обрабатываются триггеры для man-db ... Настраивается пакет isc-dhcp-server (4.1.1-P1-15+squeeze8) ... Generating /etc/default/isc-dhcp-server... Starting ISC DHCP server: dhcpdcheck syslog for diagnostics. ... failed! failed! invoke-rc.d: initscript isc-dhcp-server, action "start" failed. |
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.50.254 0.0.0.0 UG 0 0 0 eth0 192.168.50.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 |
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.50.254 0.0.0.0 UG 0 0 0 eth0 192.168.50.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 |
#ping 192.168.40.1
PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data. 64 bytes from 192.168.40.1: icmp_req=1 ttl=63 time=0.692 ms 64 bytes from 192.168.40.1: icmp_req=2 ttl=63 time=0.552 ms 64 bytes from 192.168.40.1: icmp_req=3 ttl=63 time=0.675 ms 64 bytes from 192.168.40.1: icmp_req=4 ttl=63 time=0.633 ms 64 bytes from 192.168.40.1: icmp_req=5 ttl=63 time=0.671 ms 64 bytes from 192.168.40.1: icmp_req=6 ttl=63 time=0.684 ms 64 bytes from 192.168.40.1: icmp_req=7 ttl=63 time=0.646 ms 64 bytes from 192.168.40.1: icmp_req=8 ttl=63 time=0.572 ms ^C --- 192.168.40.1 ping statistics --- 8 packets transmitted, 8 received, 0% packet loss, time 6996ms rtt min/avg/max/mdev = 0.552/0.640/0.692/0.056 ms |
#ping 192.168.40.1
PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data. 64 bytes from 192.168.40.1: icmp_req=1 ttl=63 time=0.692 ms 64 bytes from 192.168.40.1: icmp_req=2 ttl=63 time=0.552 ms 64 bytes from 192.168.40.1: icmp_req=3 ttl=63 time=0.675 ms 64 bytes from 192.168.40.1: icmp_req=4 ttl=63 time=0.633 ms 64 bytes from 192.168.40.1: icmp_req=5 ttl=63 time=0.671 ms 64 bytes from 192.168.40.1: icmp_req=6 ttl=63 time=0.684 ms 64 bytes from 192.168.40.1: icmp_req=7 ttl=63 time=0.646 ms 64 bytes from 192.168.40.1: icmp_req=8 ttl=63 time=0.572 ms ^C --- 192.168.40.1 ping statistics --- 8 packets transmitted, 8 received, 0% packet loss, time 6996ms rtt min/avg/max/mdev = 0.552/0.640/0.692/0.056 ms |
#dpkg -L isc-dhcp-server
/. /etc /etc/dhcp /etc/dhcp/dhcpd.conf /etc/init.d /etc/init.d/isc-dhcp-server /usr /usr/share /usr/share/man /usr/share/man/man8 ... /usr/share/doc/isc-dhcp-server/NEWS.Debian.gz /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/isc-dhcp-server /usr/sbin /usr/sbin/dhcpd /var /var/run /var/lib /var/lib/dhcp |
#dpkg -L isc-dhcp-server
/. /etc /etc/dhcp /etc/dhcp/dhcpd.conf /etc/init.d /etc/init.d/isc-dhcp-server /usr /usr/share /usr/share/man /usr/share/man/man8 ... /usr/share/doc/isc-dhcp-server/NEWS.Debian.gz /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/isc-dhcp-server /usr/sbin /usr/sbin/dhcpd /var /var/run /var/lib /var/lib/dhcp |
#~
# # Sample configuration file for ISC dhcpd for Debian # # # The ddns-updates-style parameter controls whether or not the server will # attempt to do a DNS update when a lease is confirmed. We default to the # behavior of the version 2 packages ('none', since DHCP v2 didn't # have support for DDNS.) ddns-update-style none; # option definitions common to all supported networks... ... #subnet 10.5.5.0 netmask 255.255.255.224 { # range 10.5.5.26 10.5.5.30; # option domain-name-servers ns1.internal.example.org; # option domain-name "internal.example.org"; # option routers 10.5.5.1; # option broadcast-address 10.5.5.31; # default-lease-time 600; # max-lease-time 7200; #} ${lab:-SET-YOUR-FIRSTLAB-NAME-HERE}# Hosts which require special configuration options can be listed in |
#~
# have to hack syslog.conf to complete the redirection). # option broadcast-address 10.254.239.31; # option routers rtr-239-32-1.example.org; # No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology. # A slightly different configuration for an internal subnet. #subnet 10.152.187.0 netmask 255.255.255.0 { #} range 10.5.5.26 10.5.5.30; # option domain-name-servers ns1.internal.example.org; # This is a very basic subnet declaration.g"; ... #subnet 10.5.5.0 netmask 255.255.255.224 { # range 10.5.5.26 10.5.5.30; # option domain-name-servers ns1.internal.example.org; # option domain-name "internal.example.org"; # option routers 10.5.5.1; # option broadcast-address 10.5.5.31; # default-lease-time 600; # max-lease-time 7200; #} "/etc/dhcp/dhcpd.conf" 109L, 3543C записано |
#/etc/init.d/isc-dhcp-server restart
dhcpd self-test failed. Please fix the config file. The error was: Internet Systems Consortium DHCP Server 4.1.1-P1 Copyright 2004-2010 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ bad range, address 192.168.50.100 not in subnet 192.168.50.0 netmask 255.255.255.224 |
#/etc/init.d/isc-dhcp-server restart
dhcpd self-test failed. Please fix the config file. The error was: Internet Systems Consortium DHCP Server 4.1.1-P1 Copyright 2004-2010 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ bad range, address 192.168.50.100 not in subnet 192.168.50.0 netmask 255.255.255.224 |
#cat /etc/resolv.conf
# Generated by NetworkManager domain unix.nt nameserver 192.168.15.254 search unix.nt |
#host ya.ru
ya.ru has address 213.180.204.3 ya.ru has address 77.88.21.3 ya.ru has address 87.250.250.3 ya.ru has address 87.250.250.203 ya.ru has address 87.250.251.3 ya.ru has address 93.158.134.3 ya.ru has address 93.158.134.203 ya.ru has address 213.180.193.3 ya.ru mail is handled by 10 mx.yandex.ru. |
#~
PING ya.ru (213.180.193.3) 56(84) bytes of data. 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=1 ttl=57 time=18.7 ms 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=2 ttl=57 time=19.0 ms 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=3 ttl=57 time=18.8 ms 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=4 ttl=57 time=18.6 ms 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=5 ttl=57 time=18.7 ms 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=6 ttl=57 time=19.2 ms ^C --- ya.ru ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5008ms rtt min/avg/max/mdev = 18.616/18.865/19.235/0.245 ms |
#~
PING ya.ru (213.180.193.3) 56(84) bytes of data. 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=1 ttl=57 time=18.7 ms 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=2 ttl=57 time=19.0 ms 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=3 ttl=57 time=18.8 ms 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=4 ttl=57 time=18.6 ms 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=5 ttl=57 time=18.7 ms 64 bytes from www.yandex.ru (213.180.193.3): icmp_req=6 ttl=57 time=19.2 ms ^C --- ya.ru ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5008ms rtt min/avg/max/mdev = 18.616/18.865/19.235/0.245 ms |
#tail -f /var/lib/dhcp/dhcpd.leases
lease 192.168.50.100 { starts 2 2012/10/23 07:32:57; ends 2 2012/10/23 07:42:57; cltt 2 2012/10/23 07:32:57; binding state active; next binding state free; hardware ethernet 88:ae:1d:0c:c8:38; uid "\001\210\256\035\014\3108"; client-hostname "allex-PC"; } ... ends 2 2012/10/23 07:48:16; cltt 2 2012/10/23 07:38:16; binding state active; next binding state free; hardware ethernet 00:19:e7:42:72:65; uid "\001\000\031\347Bre"; client-hostname "SEP0019E7427265"; } q ^C |
#tail -f /var/lib/dhcp/dhcpd.leases
lease 192.168.50.100 { starts 2 2012/10/23 07:32:57; ends 2 2012/10/23 07:42:57; cltt 2 2012/10/23 07:32:57; binding state active; next binding state free; hardware ethernet 88:ae:1d:0c:c8:38; uid "\001\210\256\035\014\3108"; client-hostname "allex-PC"; } ... ends 2 2012/10/23 07:48:16; cltt 2 2012/10/23 07:38:16; binding state active; next binding state free; hardware ethernet 00:19:e7:42:72:65; uid "\001\000\031\347Bre"; client-hostname "SEP0019E7427265"; } q ^C |
#ping 192.168.50.101
PING 192.168.50.101 (192.168.50.101) 56(84) bytes of data. 64 bytes from 192.168.50.101: icmp_req=1 ttl=250 time=64.3 ms 64 bytes from 192.168.50.101: icmp_req=2 ttl=250 time=63.4 ms 64 bytes from 192.168.50.101: icmp_req=3 ttl=250 time=62.3 ms 64 bytes from 192.168.50.101: icmp_req=4 ttl=250 time=61.3 ms ^C --- 192.168.50.101 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3004ms rtt min/avg/max/mdev = 61.390/62.875/64.324/1.107 ms |
#ping 192.168.50.101
PING 192.168.50.101 (192.168.50.101) 56(84) bytes of data. 64 bytes from 192.168.50.101: icmp_req=1 ttl=250 time=64.3 ms 64 bytes from 192.168.50.101: icmp_req=2 ttl=250 time=63.4 ms 64 bytes from 192.168.50.101: icmp_req=3 ttl=250 time=62.3 ms 64 bytes from 192.168.50.101: icmp_req=4 ttl=250 time=61.3 ms ^C --- 192.168.50.101 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3004ms rtt min/avg/max/mdev = 61.390/62.875/64.324/1.107 ms |
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-2214.7994.21849 2012-10-23 11:16:06.000000000 +0300 +++ /etc/asterisk/sip.conf 2012-10-23 11:17:47.000000000 +0300 @@ -10,3 +10,14 @@ type=friend secret=1234 host=dynamic + +[1502] +type=friend +secret=1234 +host=dynamic + +[1503] +type=friend +secret=1234 +host=dynamic + |
# Generated by NetworkManager domain unix.nt nameserver 192.168.15.254 search unix.nt
Время первой команды журнала | 16:50:49 2012-10-22 | ||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 10:15:46 2012-10-23 | ||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 45.54 | ||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 1.98 | ||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.96 | ||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.76 | ||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008