/l3/users/eb/2009/linux11/root :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 :42 :43 :44 :45 :46 :47 :48 :49 :50 :51 :52 :53 :54 :55 :56 :57 :58 :59 :60 :61 :62 :63 :64 :65 :66 :67 :68 :69 :70 :71 :72 :73 |
|
#ping 10.0.35.100
PING 10.0.35.100 (10.0.35.100) 56(84) bytes of data. ^C --- 10.0.35.100 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. ^C --- 10.0.35.1 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms |
#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 --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms |
#ssh 192.168.105.1
Enter passphrase for key '/root/.ssh/id_dsa': Linux linux9 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Jun 4 09:52:28 2009 from 192.168.106.2 l3-agent is already running: pid=17118; pidfile=/root/.lilalo/l3-agent.pid |
#ssh 192.168.105.1
Enter passphrase for key '/root/.ssh/id_dsa': Linux linux9 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Jun 4 09:52:28 2009 from 192.168.106.2 l3-agent is already running: pid=17118; pidfile=/root/.lilalo/l3-agent.pid |
#ip route show
172.16.1.6 dev tun0 proto kernel scope link src 172.16.1.5 192.168.215.0/24 dev eth0.215 proto kernel scope link src 192.168.215.2 192.168.205.0/24 dev eth0.205 proto kernel scope link src 192.168.205.2 192.168.105.0/24 dev eth0.105 proto kernel scope link src 192.168.105.1 192.168.106.0/24 via 172.16.1.6 dev tun0 default via 192.168.205.1 dev eth0.205 |
#ip route show
172.16.1.6 dev tun0 proto kernel scope link src 172.16.1.5 192.168.215.0/24 dev eth0.215 proto kernel scope link src 192.168.215.2 192.168.205.0/24 dev eth0.205 proto kernel scope link src 192.168.205.2 192.168.105.0/24 dev eth0.105 proto kernel scope link src 192.168.105.1 192.168.106.0/24 via 172.16.1.6 dev tun0 default via 192.168.205.1 dev eth0.205 |
#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_seq=1 ttl=63 time=0.231 ms ^C --- 10.0.35.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.231/0.231/0.231/0.000 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_seq=1 ttl=63 time=0.231 ms ^C --- 10.0.35.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.231/0.231/0.231/0.000 ms |
#ping 192.168.206.2
PING 192.168.206.2 (192.168.206.2) 56(84) bytes of data. 64 bytes from 192.168.206.2: icmp_seq=1 ttl=64 time=0.271 ms 64 bytes from 192.168.206.2: icmp_seq=2 ttl=64 time=0.322 ms 64 bytes from 192.168.206.2: icmp_seq=3 ttl=64 time=0.335 ms ^C --- 192.168.206.2 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.271/0.309/0.335/0.031 ms |
#ping 192.168.206.2
PING 192.168.206.2 (192.168.206.2) 56(84) bytes of data. 64 bytes from 192.168.206.2: icmp_seq=1 ttl=64 time=0.271 ms 64 bytes from 192.168.206.2: icmp_seq=2 ttl=64 time=0.322 ms 64 bytes from 192.168.206.2: icmp_seq=3 ttl=64 time=0.335 ms ^C --- 192.168.206.2 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.271/0.309/0.335/0.031 ms |
#ping 192.168.206.2
PING 192.168.206.2 (192.168.206.2) 56(84) bytes of data. 64 bytes from 192.168.206.2: icmp_seq=1 ttl=64 time=0.239 ms 64 bytes from 192.168.206.2: icmp_seq=2 ttl=64 time=0.267 ms ^C --- 192.168.206.2 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.239/0.253/0.267/0.014 ms |
#ping 192.168.206.2
PING 192.168.206.2 (192.168.206.2) 56(84) bytes of data. 64 bytes from 192.168.206.2: icmp_seq=1 ttl=64 time=0.239 ms 64 bytes from 192.168.206.2: icmp_seq=2 ttl=64 time=0.267 ms ^C --- 192.168.206.2 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.239/0.253/0.267/0.014 ms |
#ping 192.168.205.2
PING 192.168.205.2 (192.168.205.2) 56(84) bytes of data. ^C --- 192.168.205.2 ping statistics --- 7 packets transmitted, 0 received, 100% packet loss, time 6048ms |
#ping 192.168.205.2
PING 192.168.205.2 (192.168.205.2) 56(84) bytes of data. ^C --- 192.168.205.2 ping statistics --- 7 packets transmitted, 0 received, 100% packet loss, time 6048ms |
#traceroute 192.168.205.2
traceroute to 192.168.205.2 (192.168.205.2), 30 hops max, 60 byte packets 1 (192.168.106.1) 0.222 ms 0.205 ms 0.196 ms^C |
#traceroute 192.168.205.2
traceroute to 192.168.205.2 (192.168.205.2), 30 hops max, 60 byte packets 1 (192.168.106.1) 0.222 ms 0.205 ms 0.196 ms^C |
#traceroute -d 192.168.205.2
traceroute to 192.168.205.2 (192.168.205.2), 30 hops max, 60 byte packets 1 (192.168.106.1) 0.221 ms 0.203 ms 0.194 ms 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * *^C |
#traceroute -d 192.168.205.2
traceroute to 192.168.205.2 (192.168.205.2), 30 hops max, 60 byte packets 1 (192.168.106.1) 0.221 ms 0.203 ms 0.194 ms 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * *^C |
#traceroute -d 192.168.205.2
traceroute to 192.168.205.2 (192.168.205.2), 30 hops max, 60 byte packets ^C |
#traceroute -d 192.168.205.2
traceroute to 192.168.205.2 (192.168.205.2), 30 hops max, 60 byte packets ^C |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. ^C --- 192.168.105.2 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2015ms |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. ^C --- 192.168.105.2 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2015ms |
#traceroute 192.168.105.2
traceroute to 192.168.105.2 (192.168.105.2), 30 hops max, 60 byte packets 1 (192.168.106.1) 0.230 ms 0.210 ms 0.201 ms 2 (172.16.1.5) 0.510 ms 0.913 ms 1.519 ms 3 (172.16.1.5) 3004.263 ms !H 3004.659 ms !H 3004.652 ms !H |
#traceroute 192.168.105.2
traceroute to 192.168.105.2 (192.168.105.2), 30 hops max, 60 byte packets 1 (192.168.106.1) 0.230 ms 0.210 ms 0.201 ms 2 (172.16.1.5) 0.510 ms 0.913 ms 1.519 ms 3 (172.16.1.5) 3004.263 ms !H 3004.659 ms !H 3004.652 ms !H |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. ^C --- 192.168.105.2 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 999ms |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. ^C --- 192.168.105.2 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 999ms |
#ip route show
172.16.1.6 dev tun0 proto kernel scope link src 172.16.1.5 192.168.215.0/24 dev eth0.215 proto kernel scope link src 192.168.215.2 192.168.205.0/24 dev eth0.205 proto kernel scope link src 192.168.205.2 192.168.105.0/24 dev eth0.105 proto kernel scope link src 192.168.105.1 192.168.106.0/24 via 172.16.1.6 dev tun0 default via 192.168.205.1 dev eth0.205 |
#ip route show
172.16.1.6 dev tun0 proto kernel scope link src 172.16.1.5 192.168.215.0/24 dev eth0.215 proto kernel scope link src 192.168.215.2 192.168.205.0/24 dev eth0.205 proto kernel scope link src 192.168.205.2 192.168.105.0/24 dev eth0.105 proto kernel scope link src 192.168.105.1 192.168.106.0/24 via 172.16.1.6 dev tun0 default via 192.168.205.1 dev eth0.205 |
#ping 192.168.105.1
PING 192.168.105.1 (192.168.105.1) 56(84) bytes of data. 64 bytes from 192.168.105.1: icmp_seq=1 ttl=64 time=0.027 ms 64 bytes from 192.168.105.1: icmp_seq=2 ttl=64 time=0.039 ms ^C --- 192.168.105.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.027/0.033/0.039/0.006 ms |
#ping 192.168.105.1
PING 192.168.105.1 (192.168.105.1) 56(84) bytes of data. 64 bytes from 192.168.105.1: icmp_seq=1 ttl=64 time=0.027 ms 64 bytes from 192.168.105.1: icmp_seq=2 ttl=64 time=0.039 ms ^C --- 192.168.105.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.027/0.033/0.039/0.006 ms |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. ^C --- 192.168.105.2 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. ^C --- 192.168.105.2 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. ^C --- 192.168.105.2 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1008ms |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. ^C --- 192.168.105.2 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1008ms |
#traceroute 192.168.105.2
traceroute to 192.168.105.2 (192.168.105.2), 30 hops max, 60 byte packets^C |
#traceroute 192.168.105.2
traceroute to 192.168.105.2 (192.168.105.2), 30 hops max, 60 byte packets^C |
#ip route sh
172.16.1.6 dev tun0 proto kernel scope link src 172.16.1.5 192.168.215.0/24 dev eth0.215 proto kernel scope link src 192.168.215.2 192.168.205.0/24 dev eth0.205 proto kernel scope link src 192.168.205.2 192.168.105.0/24 dev eth0.105 proto kernel scope link src 192.168.105.1 192.168.106.0/24 via 172.16.1.6 dev tun0 default via 192.168.205.1 dev eth0.205 |
#ip route sh
172.16.1.6 dev tun0 proto kernel scope link src 172.16.1.5 192.168.215.0/24 dev eth0.215 proto kernel scope link src 192.168.215.2 192.168.205.0/24 dev eth0.205 proto kernel scope link src 192.168.205.2 192.168.105.0/24 dev eth0.105 proto kernel scope link src 192.168.105.1 192.168.106.0/24 via 172.16.1.6 dev tun0 default via 192.168.205.1 dev eth0.205 |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1e:8c:64:2c:4a inet6 addr: fe80::21e:8cff:fe64:2c4a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:168256 errors:0 dropped:0 overruns:0 frame:0 TX packets:157867 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:60650774 (57.8 MiB) TX bytes:28943744 (27.6 MiB) eth0.105 Link encap:Ethernet HWaddr 00:1e:8c:64:2c:4a inet addr:192.168.105.1 Bcast:192.168.105.255 Mask:255.255.255.0 inet6 addr: fe80::21e:8cff:fe64:2c4a/64 Scope:Link ... TX packets:8466 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:441095 (430.7 KiB) TX bytes:441095 (430.7 KiB) tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:172.16.1.5 P-t-P:172.16.1.6 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:3438 errors:0 dropped:0 overruns:0 frame:0 TX packets:1665 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:336741 (328.8 KiB) TX bytes:647087 (631.9 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1e:8c:64:2c:4a inet6 addr: fe80::21e:8cff:fe64:2c4a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:168256 errors:0 dropped:0 overruns:0 frame:0 TX packets:157867 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:60650774 (57.8 MiB) TX bytes:28943744 (27.6 MiB) eth0.105 Link encap:Ethernet HWaddr 00:1e:8c:64:2c:4a inet addr:192.168.105.1 Bcast:192.168.105.255 Mask:255.255.255.0 inet6 addr: fe80::21e:8cff:fe64:2c4a/64 Scope:Link ... TX packets:8466 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:441095 (430.7 KiB) TX bytes:441095 (430.7 KiB) tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:172.16.1.5 P-t-P:172.16.1.6 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:3438 errors:0 dropped:0 overruns:0 frame:0 TX packets:1665 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:336741 (328.8 KiB) TX bytes:647087 (631.9 KiB) |
#ping 192.168.105.1
PING 192.168.105.1 (192.168.105.1) 56(84) bytes of data. 64 bytes from 192.168.105.1: icmp_seq=1 ttl=64 time=0.024 ms ^C --- 192.168.105.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.024/0.024/0.024/0.000 ms |
#ping 192.168.105.1
PING 192.168.105.1 (192.168.105.1) 56(84) bytes of data. 64 bytes from 192.168.105.1: icmp_seq=1 ttl=64 time=0.024 ms ^C --- 192.168.105.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.024/0.024/0.024/0.000 ms |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. ^C --- 192.168.105.2 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. ^C --- 192.168.105.2 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. ^C --- 192.168.105.2 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2014ms |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. ^C --- 192.168.105.2 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2014ms |
#ping 192.168.105.1
PING 192.168.105.1 (192.168.105.1) 56(84) bytes of data. 64 bytes from 192.168.105.1: icmp_seq=1 ttl=64 time=0.025 ms ^C --- 192.168.105.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.025/0.025/0.025/0.000 ms |
#ping 192.168.105.1
PING 192.168.105.1 (192.168.105.1) 56(84) bytes of data. 64 bytes from 192.168.105.1: icmp_seq=1 ttl=64 time=0.025 ms ^C --- 192.168.105.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.025/0.025/0.025/0.000 ms |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. From 192.168.105.1 icmp_seq=1 Destination Host Unreachable From 192.168.105.1 icmp_seq=2 Destination Host Unreachable From 192.168.105.1 icmp_seq=3 Destination Host Unreachable ^C --- 192.168.105.2 ping statistics --- 6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5031ms , pipe 3 |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. From 192.168.105.1 icmp_seq=1 Destination Host Unreachable From 192.168.105.1 icmp_seq=2 Destination Host Unreachable From 192.168.105.1 icmp_seq=3 Destination Host Unreachable ^C --- 192.168.105.2 ping statistics --- 6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5031ms , pipe 3 |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f5 inet addr:192.168.105.1 Bcast:192.168.105.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6100 errors:0 dropped:0 overruns:0 frame:0 TX packets:10682 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:1680555 (1.6 MiB) TX bytes:1273361 (1.2 MiB) 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:93 errors:0 dropped:0 overruns:0 frame:0 TX packets:93 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:7073 (6.9 KiB) TX bytes:7073 (6.9 KiB) |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:7d:bc:f5 inet addr:192.168.105.1 Bcast:192.168.105.255 Mask:255.255.255.0 inet6 addr: fe80::21b:fcff:fe7d:bcf5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6100 errors:0 dropped:0 overruns:0 frame:0 TX packets:10682 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:1680555 (1.6 MiB) TX bytes:1273361 (1.2 MiB) 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:93 errors:0 dropped:0 overruns:0 frame:0 TX packets:93 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:7073 (6.9 KiB) TX bytes:7073 (6.9 KiB) |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. From 192.168.105.1 icmp_seq=1 Destination Host Unreachable From 192.168.105.1 icmp_seq=2 Destination Host Unreachable From 192.168.105.1 icmp_seq=3 Destination Host Unreachable From 192.168.105.1 icmp_seq=4 Destination Host Unreachable From 192.168.105.1 icmp_seq=5 Destination Host Unreachable From 192.168.105.1 icmp_seq=6 Destination Host Unreachable From 192.168.105.1 icmp_seq=7 Destination Host Unreachable From 192.168.105.1 icmp_seq=8 Destination Host Unreachable From 192.168.105.1 icmp_seq=9 Destination Host Unreachable From 192.168.105.1 icmp_seq=10 Destination Host Unreachable From 192.168.105.1 icmp_seq=11 Destination Host Unreachable From 192.168.105.1 icmp_seq=12 Destination Host Unreachable ^C --- 192.168.105.2 ping statistics --- 15 packets transmitted, 0 received, +12 errors, 100% packet loss, time 14079ms , pipe 3 |
#ping 192.168.105.2
PING 192.168.105.2 (192.168.105.2) 56(84) bytes of data. From 192.168.105.1 icmp_seq=1 Destination Host Unreachable From 192.168.105.1 icmp_seq=2 Destination Host Unreachable From 192.168.105.1 icmp_seq=3 Destination Host Unreachable From 192.168.105.1 icmp_seq=4 Destination Host Unreachable From 192.168.105.1 icmp_seq=5 Destination Host Unreachable From 192.168.105.1 icmp_seq=6 Destination Host Unreachable From 192.168.105.1 icmp_seq=7 Destination Host Unreachable From 192.168.105.1 icmp_seq=8 Destination Host Unreachable From 192.168.105.1 icmp_seq=9 Destination Host Unreachable From 192.168.105.1 icmp_seq=10 Destination Host Unreachable From 192.168.105.1 icmp_seq=11 Destination Host Unreachable From 192.168.105.1 icmp_seq=12 Destination Host Unreachable ^C --- 192.168.105.2 ping statistics --- 15 packets transmitted, 0 received, +12 errors, 100% packet loss, time 14079ms , pipe 3 |
#ping 192.168.15.10
PING 192.168.15.10 (192.168.15.10) 56(84) bytes of data. From 192.168.15.11 icmp_seq=1 Destination Host Unreachable From 192.168.15.11 icmp_seq=2 Destination Host Unreachable From 192.168.15.11 icmp_seq=3 Destination Host Unreachable From 192.168.15.11 icmp_seq=4 Destination Host Unreachable From 192.168.15.11 icmp_seq=5 Destination Host Unreachable From 192.168.15.11 icmp_seq=6 Destination Host Unreachable From 192.168.15.11 icmp_seq=7 Destination Host Unreachable From 192.168.15.11 icmp_seq=8 Destination Host Unreachable From 192.168.15.11 icmp_seq=9 Destination Host Unreachable From 192.168.15.11 icmp_seq=10 Destination Host Unreachable From 192.168.15.11 icmp_seq=11 Destination Host Unreachable From 192.168.15.11 icmp_seq=12 Destination Host Unreachable ^C --- 192.168.15.10 ping statistics --- 14 packets transmitted, 0 received, +12 errors, 100% packet loss, time 13071ms , pipe 3 |
#ping 192.168.15.10
PING 192.168.15.10 (192.168.15.10) 56(84) bytes of data. From 192.168.15.11 icmp_seq=1 Destination Host Unreachable From 192.168.15.11 icmp_seq=2 Destination Host Unreachable From 192.168.15.11 icmp_seq=3 Destination Host Unreachable From 192.168.15.11 icmp_seq=4 Destination Host Unreachable From 192.168.15.11 icmp_seq=5 Destination Host Unreachable From 192.168.15.11 icmp_seq=6 Destination Host Unreachable From 192.168.15.11 icmp_seq=7 Destination Host Unreachable From 192.168.15.11 icmp_seq=8 Destination Host Unreachable From 192.168.15.11 icmp_seq=9 Destination Host Unreachable From 192.168.15.11 icmp_seq=10 Destination Host Unreachable From 192.168.15.11 icmp_seq=11 Destination Host Unreachable From 192.168.15.11 icmp_seq=12 Destination Host Unreachable ^C --- 192.168.15.10 ping statistics --- 14 packets transmitted, 0 received, +12 errors, 100% packet loss, time 13071ms , pipe 3 |
#netstat -rn
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 |
#netstat -rn
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 |
#ping 192.168.15.10
PING 192.168.15.10 (192.168.15.10) 56(84) bytes of data. From 192.168.15.11 icmp_seq=1 Destination Host Unreachable From 192.168.15.11 icmp_seq=2 Destination Host Unreachable From 192.168.15.11 icmp_seq=3 Destination Host Unreachable ^C --- 192.168.15.10 ping statistics --- 5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4022ms , pipe 3 |
#ping 192.168.15.10
PING 192.168.15.10 (192.168.15.10) 56(84) bytes of data. From 192.168.15.11 icmp_seq=1 Destination Host Unreachable From 192.168.15.11 icmp_seq=2 Destination Host Unreachable From 192.168.15.11 icmp_seq=3 Destination Host Unreachable ^C --- 192.168.15.10 ping statistics --- 5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4022ms , pipe 3 |
#ping 192.168.15.10
PING 192.168.15.10 (192.168.15.10) 56(84) bytes of data. From 192.168.15.11 icmp_seq=2 Destination Host Unreachable From 192.168.15.11 icmp_seq=3 Destination Host Unreachable From 192.168.15.11 icmp_seq=4 Destination Host Unreachable ^C --- 192.168.15.10 ping statistics --- 6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5009ms , pipe 3 |
#ping 192.168.15.10
PING 192.168.15.10 (192.168.15.10) 56(84) bytes of data. From 192.168.15.11 icmp_seq=2 Destination Host Unreachable From 192.168.15.11 icmp_seq=3 Destination Host Unreachable From 192.168.15.11 icmp_seq=4 Destination Host Unreachable ^C --- 192.168.15.10 ping statistics --- 6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5009ms , pipe 3 |
#cat /etc/default/openvpn
# This is the configuration file for /etc/init.d/openvpn # # Start only these VPNs automatically via init script. # Allowed values are "all", "none" or space separated list of # names of the VPNs. If empty, "all" is assumed. # #AUTOSTART="all" #AUTOSTART="none" #AUTOSTART="home office" # # Refresh interval (in seconds) of default status files # located in /var/run/openvpn.$NAME.status # Defaults to 10, 0 disables status file generation # #STATUSREFRESH=10 #STATUSREFRESH=0 # Optional arguments to openvpn's command line OPTARGS="" |
#cat /etc/default/openvpn
# This is the configuration file for /etc/init.d/openvpn # # Start only these VPNs automatically via init script. # Allowed values are "all", "none" or space separated list of # names of the VPNs. If empty, "all" is assumed. # #AUTOSTART="all" #AUTOSTART="none" #AUTOSTART="home office" # # Refresh interval (in seconds) of default status files # located in /var/run/openvpn.$NAME.status # Defaults to 10, 0 disables status file generation # #STATUSREFRESH=10 #STATUSREFRESH=0 # Optional arguments to openvpn's command line OPTARGS="" |
#ssh 10.0.35.100
root@10.0.35.100's password: Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Jun 4 10:38:46 2009 from linux15.unix.nt l3-agent is already running: pid=4804; pidfile=/root/.lilalo/l3-agent.pid |
#ssh 10.0.35.100
root@10.0.35.100's password: Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Jun 4 10:38:46 2009 from linux15.unix.nt l3-agent is already running: pid=4804; pidfile=/root/.lilalo/l3-agent.pid |
#ping 192.168.15.10
PING 192.168.15.10 (192.168.15.10) 56(84) bytes of data. 64 bytes from 192.168.15.10: icmp_seq=1 ttl=64 time=4.95 ms 64 bytes from 192.168.15.10: icmp_seq=2 ttl=64 time=0.228 ms ^C --- 192.168.15.10 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 0.228/2.592/4.957/2.365 ms |
#ping 192.168.15.10
PING 192.168.15.10 (192.168.15.10) 56(84) bytes of data. 64 bytes from 192.168.15.10: icmp_seq=1 ttl=64 time=4.95 ms 64 bytes from 192.168.15.10: icmp_seq=2 ttl=64 time=0.228 ms ^C --- 192.168.15.10 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 0.228/2.592/4.957/2.365 ms |
# This is the configuration file for /etc/init.d/openvpn # # Start only these VPNs automatically via init script. # Allowed values are "all", "none" or space separated list of # names of the VPNs. If empty, "all" is assumed. # #AUTOSTART="all" #AUTOSTART="none" #AUTOSTART="home office" # # Refresh interval (in seconds) of default status files # located in /var/run/openvpn.$NAME.status # Defaults to 10, 0 disables status file generation # #STATUSREFRESH=10 #STATUSREFRESH=0 # Optional arguments to openvpn's command line OPTARGS=""
nameserver 10.0.35.1 domain unix.nt
Время первой команды журнала | 09:55:27 2009- 6- 4 | |||||||||||||||||||||||||||
Время последней команды журнала | 10:36:13 2009- 6- 4 | |||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 44.55 | |||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.68 | |||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.48 | |||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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