Журнал лабораторных работ

Содержание

Журнал

Пятница (07/31/09)

/dev/ttyp6
17:54:24
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
17:54:39
#ee /etc/sysctl.conf
17:54:39
#ee /etc/sysctl.conf
17:54:39
#ee /etc/sysctl.conf
17:55:30
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
17:55:30
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
17:55:30
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
17:55:32
#ee /etc/sysctl.conf
--- /tmp/l3-saved-3329.15649.30360	2009-07-31 18:55:42.000000000 +0300
+++ /etc/sysctl.conf	2009-07-31 18:56:15.000000000 +0300
@@ -8,3 +8,5 @@
 # are being run under another UID.
 #security.bsd.see_other_uids=0
 net.inet6.ip6.v6only=0
+net.inet.ip.forwarding=1
+
17:55:32
#ee /etc/sysctl.conf
--- /tmp/l3-saved-3329.15649.30360	2009-07-31 18:55:42.000000000 +0300
+++ /etc/sysctl.conf	2009-07-31 18:56:15.000000000 +0300
@@ -8,3 +8,5 @@
 # are being run under another UID.
 #security.bsd.see_other_uids=0
 net.inet6.ip6.v6only=0
+net.inet.ip.forwarding=1
+
17:55:32
#ee /etc/sysctl.conf
--- /tmp/l3-saved-3329.15649.30360	2009-07-31 18:55:42.000000000 +0300
+++ /etc/sysctl.conf	2009-07-31 18:56:15.000000000 +0300
@@ -8,3 +8,5 @@
 # are being run under another UID.
 #security.bsd.see_other_uids=0
 net.inet6.ip6.v6only=0
+net.inet.ip.forwarding=1
+
17:56:15
#ee /etc/sysctl.conf
17:56:15
#ee /etc/sysctl.conf
17:56:15
#ee /etc/sysctl.conf
17:56:23
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
17:56:23
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
17:56:23
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
17:56:28
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.54.129     UGS         0       69    re1
127.0.0.1          127.0.0.1          UH          0        5    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.26      00:16:4e:00:00:06  UHLW        1      740    lo0
192.168.16.202     00:14:c2:05:40:a4  UHLW        1     2339    re0    928
192.168.16.254     00:04:75:75:46:b1  UHLW        1       10    re0   1161
192.168.54.128/27  link#2             UC          0        0    re1
192.168.54.129     00:16:4e:00:01:05  UHLW        2        0    re1    804
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
17:56:28
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.54.129     UGS         0       69    re1
127.0.0.1          127.0.0.1          UH          0        5    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.26      00:16:4e:00:00:06  UHLW        1      740    lo0
192.168.16.202     00:14:c2:05:40:a4  UHLW        1     2339    re0    928
192.168.16.254     00:04:75:75:46:b1  UHLW        1       10    re0   1161
192.168.54.128/27  link#2             UC          0        0    re1
192.168.54.129     00:16:4e:00:01:05  UHLW        2        0    re1    804
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
17:56:28
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.54.129     UGS         0       69    re1
127.0.0.1          127.0.0.1          UH          0        5    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.26      00:16:4e:00:00:06  UHLW        1      740    lo0
192.168.16.202     00:14:c2:05:40:a4  UHLW        1     2339    re0    928
192.168.16.254     00:04:75:75:46:b1  UHLW        1       10    re0   1161
192.168.54.128/27  link#2             UC          0        0    re1
192.168.54.129     00:16:4e:00:01:05  UHLW        2        0    re1    804
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
17:57:40
#/etc/netstart restart
devd already running? (pid=703).
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.26 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:06
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.54.158 netmask 0xffffffe0 broadcast 192.168.54.159
        ether 00:16:4e:00:01:06
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
add net default: gateway 192.168.54.129
Additional routing options:.
17:57:40
#/etc/netstart restart
devd already running? (pid=703).
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.26 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:06
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.54.158 netmask 0xffffffe0 broadcast 192.168.54.159
        ether 00:16:4e:00:01:06
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
add net default: gateway 192.168.54.129
Additional routing options:.
17:57:40
#/etc/netstart restart
devd already running? (pid=703).
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.26 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:06
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.54.158 netmask 0xffffffe0 broadcast 192.168.54.159
        ether 00:16:4e:00:01:06
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
add net default: gateway 192.168.54.129
Additional routing options:.
17:58:59
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
17:58:59
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
17:58:59
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
17:59:16
#sysctl net.inet.ip.forwarding=1
net.inet.ip.forwarding: 0 -> 1
17:59:16
#sysctl net.inet.ip.forwarding=1
net.inet.ip.forwarding: 0 -> 1
17:59:16
#sysctl net.inet.ip.forwarding=1
net.inet.ip.forwarding: 0 -> 1
/dev/ttyp8
17:59:44
#ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.26 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:06
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
17:59:44
#ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.26 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:06
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
17:59:44
#ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.26 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:06
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
17:59:49
#ifconfig re1
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.54.158 netmask 0xffffffe0 broadcast 192.168.54.159
        ether 00:16:4e:00:01:06
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
17:59:49
#ifconfig re1
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.54.158 netmask 0xffffffe0 broadcast 192.168.54.159
        ether 00:16:4e:00:01:06
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
17:59:49
#ifconfig re1
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.54.158 netmask 0xffffffe0 broadcast 192.168.54.159
        ether 00:16:4e:00:01:06
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
17:59:53
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.54.129     UGS         0       35    re1
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1       57    re0   1175
192.168.16.26      00:16:4e:00:00:06  UHLW        1      176    lo0
192.168.16.202     00:14:c2:05:40:a4  UHLW        1      395    re0   1133
192.168.16.254     00:04:75:75:46:b1  UHLW        1       13    re0   1183
192.168.54.128/27  link#2             UC          0        0    re1
192.168.54.129     00:16:4e:00:01:05  UHLW        2        0    re1   1134
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
17:59:53
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.54.129     UGS         0       35    re1
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1       57    re0   1175
192.168.16.26      00:16:4e:00:00:06  UHLW        1      176    lo0
192.168.16.202     00:14:c2:05:40:a4  UHLW        1      395    re0   1133
192.168.16.254     00:04:75:75:46:b1  UHLW        1       13    re0   1183
192.168.54.128/27  link#2             UC          0        0    re1
192.168.54.129     00:16:4e:00:01:05  UHLW        2        0    re1   1134
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
17:59:53
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.54.129     UGS         0       35    re1
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1       57    re0   1175
192.168.16.26      00:16:4e:00:00:06  UHLW        1      176    lo0
192.168.16.202     00:14:c2:05:40:a4  UHLW        1      395    re0   1133
192.168.16.254     00:04:75:75:46:b1  UHLW        1       13    re0   1183
192.168.54.128/27  link#2             UC          0        0    re1
192.168.54.129     00:16:4e:00:01:05  UHLW        2        0    re1   1134
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
/dev/ttyp6
17:59:59
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 1
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
17:59:59
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 1
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
17:59:59
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 1
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
18:00:02
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.54.129     UGS         0       38    re1
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1       59    re0   1168
192.168.16.26      00:16:4e:00:00:06  UHLW        1      197    lo0
192.168.16.202     00:14:c2:05:40:a4  UHLW        1      415    re0   1126
192.168.16.254     00:04:75:75:46:b1  UHLW        1       16    re0   1198
192.168.54.128/27  link#2             UC          0        0    re1
192.168.54.129     00:16:4e:00:01:05  UHLW        2        0    re1   1127
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
18:00:02
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.54.129     UGS         0       38    re1
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1       59    re0   1168
192.168.16.26      00:16:4e:00:00:06  UHLW        1      197    lo0
192.168.16.202     00:14:c2:05:40:a4  UHLW        1      415    re0   1126
192.168.16.254     00:04:75:75:46:b1  UHLW        1       16    re0   1198
192.168.54.128/27  link#2             UC          0        0    re1
192.168.54.129     00:16:4e:00:01:05  UHLW        2        0    re1   1127
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
18:00:02
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.54.129     UGS         0       38    re1
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1       59    re0   1168
192.168.16.26      00:16:4e:00:00:06  UHLW        1      197    lo0
192.168.16.202     00:14:c2:05:40:a4  UHLW        1      415    re0   1126
192.168.16.254     00:04:75:75:46:b1  UHLW        1       16    re0   1198
192.168.54.128/27  link#2             UC          0        0    re1
192.168.54.129     00:16:4e:00:01:05  UHLW        2        0    re1   1127
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
/dev/ttyp8
18:00:07
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 58d1   0 0000  40  01 c831 192.168.54.158  77.88.21.8
^C
--- ya.ru ping statistics ---
7 packets transmitted, 0 packets received, 100% packet loss
õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root
18:00:07
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 58d1   0 0000  40  01 c831 192.168.54.158  77.88.21.8
^C
--- ya.ru ping statistics ---
7 packets transmitted, 0 packets received, 100% packet loss
õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root
18:00:07
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 58d1   0 0000  40  01 c831 192.168.54.158  77.88.21.8
^C
--- ya.ru ping statistics ---
7 packets transmitted, 0 packets received, 100% packet loss
õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root
/dev/ttyp6
18:00:14
#ping ya.ru
PING ya.ru (93.158.134.8): 56 data bytes
^C
--- ya.ru ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
18:00:14
#ping ya.ru
PING ya.ru (93.158.134.8): 56 data bytes
^C
--- ya.ru ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
18:00:14
#ping ya.ru
PING ya.ru (93.158.134.8): 56 data bytes
^C
--- ya.ru ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
/dev/ttyp8
18:00:45
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes
^C
--- ya.ru ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
18:00:45
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes
^C
--- ya.ru ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
18:00:45
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes
^C
--- ya.ru ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
18:00:51
#traceroute -n ya.ru
traceroute: Warning: ya.ru has multiple addresses; using 77.88.21.8
traceroute to ya.ru (77.88.21.8), 64 hops max, 40 byte packets
 1  192.168.54.129  1.534 ms  2.634 ms  0.872 ms
 2  192.168.54.97  2.583 ms  1.813 ms  1.702 ms
 3  192.168.54.65  2.923 ms  1.497 ms  1.114 ms
 4  192.168.54.33  2.492 ms  1.976 ms  1.626 ms
 5  192.168.54.1  2.928 ms  2.220 ms  1.908 ms
 6  * *^C
18:00:51
#traceroute -n ya.ru
traceroute: Warning: ya.ru has multiple addresses; using 77.88.21.8
traceroute to ya.ru (77.88.21.8), 64 hops max, 40 byte packets
 1  192.168.54.129  1.534 ms  2.634 ms  0.872 ms
 2  192.168.54.97  2.583 ms  1.813 ms  1.702 ms
 3  192.168.54.65  2.923 ms  1.497 ms  1.114 ms
 4  192.168.54.33  2.492 ms  1.976 ms  1.626 ms
 5  192.168.54.1  2.928 ms  2.220 ms  1.908 ms
 6  * *^C
18:00:51
#traceroute -n ya.ru
traceroute: Warning: ya.ru has multiple addresses; using 77.88.21.8
traceroute to ya.ru (77.88.21.8), 64 hops max, 40 byte packets
 1  192.168.54.129  1.534 ms  2.634 ms  0.872 ms
 2  192.168.54.97  2.583 ms  1.813 ms  1.702 ms
 3  192.168.54.65  2.923 ms  1.497 ms  1.114 ms
 4  192.168.54.33  2.492 ms  1.976 ms  1.626 ms
 5  192.168.54.1  2.928 ms  2.220 ms  1.908 ms
 6  * *^C
/dev/ttyp6
18:03:20
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes
^C
--- ya.ru ping statistics ---
38 packets transmitted, 0 packets received, 100% packet loss
18:03:20
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes
^C
--- ya.ru ping statistics ---
38 packets transmitted, 0 packets received, 100% packet loss
18:03:20
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes
^C
--- ya.ru ping statistics ---
38 packets transmitted, 0 packets received, 100% packet loss
18:05:05
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.54.129     UGS         0      263    re1
127.0.0.1          127.0.0.1          UH          0       24    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1      380    re0    874
192.168.16.26      00:16:4e:00:00:06  UHLW        1      258    lo0
192.168.16.202     00:14:c2:05:40:a4  UHLW        1     8355    re0    997
192.168.16.254     00:04:75:75:46:b1  UHLW        1       49    re0   1195
192.168.54.128/27  link#2             UC          0        0    re1
192.168.54.129     00:16:4e:00:01:05  UHLW        2        0    re1    957
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
18:05:05
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.54.129     UGS         0      263    re1
127.0.0.1          127.0.0.1          UH          0       24    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1      380    re0    874
192.168.16.26      00:16:4e:00:00:06  UHLW        1      258    lo0
192.168.16.202     00:14:c2:05:40:a4  UHLW        1     8355    re0    997
192.168.16.254     00:04:75:75:46:b1  UHLW        1       49    re0   1195
192.168.54.128/27  link#2             UC          0        0    re1
192.168.54.129     00:16:4e:00:01:05  UHLW        2        0    re1    957
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
18:05:05
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.54.129     UGS         0      263    re1
127.0.0.1          127.0.0.1          UH          0       24    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1      380    re0    874
192.168.16.26      00:16:4e:00:00:06  UHLW        1      258    lo0
192.168.16.202     00:14:c2:05:40:a4  UHLW        1     8355    re0    997
192.168.16.254     00:04:75:75:46:b1  UHLW        1       49    re0   1195
192.168.54.128/27  link#2             UC          0        0    re1
192.168.54.129     00:16:4e:00:01:05  UHLW        2        0    re1    957
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
18:05:08
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1): 56 data bytes
64 bytes from 10.0.35.1: icmp_seq=51 ttl=58 time=2.115 ms
64 bytes from 10.0.35.1: icmp_seq=52 ttl=58 time=2.327 ms
64 bytes from 10.0.35.1: icmp_seq=53 ttl=58 time=2.371 ms
64 bytes from 10.0.35.1: icmp_seq=54 ttl=58 time=1.747 ms
64 bytes from 10.0.35.1: icmp_seq=55 ttl=58 time=2.203 ms
64 bytes from 10.0.35.1: icmp_seq=56 ttl=58 time=2.138 ms
64 bytes from 10.0.35.1: icmp_seq=57 ttl=58 time=2.411 ms
^C
--- 10.0.35.1 ping statistics ---
58 packets transmitted, 7 packets received, 87% packet loss
round-trip min/avg/max/stddev = 1.747/2.187/2.411/0.209 ms
18:05:08
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1): 56 data bytes
64 bytes from 10.0.35.1: icmp_seq=51 ttl=58 time=2.115 ms
64 bytes from 10.0.35.1: icmp_seq=52 ttl=58 time=2.327 ms
64 bytes from 10.0.35.1: icmp_seq=53 ttl=58 time=2.371 ms
64 bytes from 10.0.35.1: icmp_seq=54 ttl=58 time=1.747 ms
64 bytes from 10.0.35.1: icmp_seq=55 ttl=58 time=2.203 ms
64 bytes from 10.0.35.1: icmp_seq=56 ttl=58 time=2.138 ms
64 bytes from 10.0.35.1: icmp_seq=57 ttl=58 time=2.411 ms
^C
--- 10.0.35.1 ping statistics ---
58 packets transmitted, 7 packets received, 87% packet loss
round-trip min/avg/max/stddev = 1.747/2.187/2.411/0.209 ms
18:05:08
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1): 56 data bytes
64 bytes from 10.0.35.1: icmp_seq=51 ttl=58 time=2.115 ms
64 bytes from 10.0.35.1: icmp_seq=52 ttl=58 time=2.327 ms
64 bytes from 10.0.35.1: icmp_seq=53 ttl=58 time=2.371 ms
64 bytes from 10.0.35.1: icmp_seq=54 ttl=58 time=1.747 ms
64 bytes from 10.0.35.1: icmp_seq=55 ttl=58 time=2.203 ms
64 bytes from 10.0.35.1: icmp_seq=56 ttl=58 time=2.138 ms
64 bytes from 10.0.35.1: icmp_seq=57 ttl=58 time=2.411 ms
^C
--- 10.0.35.1 ping statistics ---
58 packets transmitted, 7 packets received, 87% packet loss
round-trip min/avg/max/stddev = 1.747/2.187/2.411/0.209 ms
18:07:18
#ping ya.ru
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b507   0 0000  3c  01 eeb4 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b50c   0 0000  3c  01 eeaf 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b517   0 0000  3c  01 eea4 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
...
 4  5  00 5400 b607   0 0000  3c  01 edb4 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b611   0 0000  3c  01 edaa 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b614   0 0000  3c  01 eda7 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b620   0 0000  3c  01 ed9b 192.168.54.158  93.158.134.8
18:07:18
#ping ya.ru
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b507   0 0000  3c  01 eeb4 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b50c   0 0000  3c  01 eeaf 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b517   0 0000  3c  01 eea4 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
...
 4  5  00 5400 b607   0 0000  3c  01 edb4 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b611   0 0000  3c  01 edaa 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b614   0 0000  3c  01 eda7 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b620   0 0000  3c  01 ed9b 192.168.54.158  93.158.134.8
18:07:18
#ping ya.ru
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b507   0 0000  3c  01 eeb4 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b50c   0 0000  3c  01 eeaf 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b517   0 0000  3c  01 eea4 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
...
 4  5  00 5400 b607   0 0000  3c  01 edb4 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b611   0 0000  3c  01 edaa 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b614   0 0000  3c  01 eda7 192.168.54.158  93.158.134.8
92 bytes from 192.168.54.33: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 b620   0 0000  3c  01 ed9b 192.168.54.158  93.158.134.8
прошло 19 минут
18:26:44
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes
^C
--- ya.ru ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
18:26:44
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes
^C
--- ya.ru ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
18:26:44
#ping ya.ru
PING ya.ru (77.88.21.8): 56 data bytes
^C
--- ya.ru ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
18:26:51
#traceroute -n ya.ru
traceroute: Warning: ya.ru has multiple addresses; using 213.180.204.8
traceroute to ya.ru (213.180.204.8), 64 hops max, 40 byte packets
 1  192.168.54.129  0.500 ms  0.646 ms  0.619 ms
 2  192.168.54.97  1.012 ms  1.017 ms  0.910 ms
 3  192.168.54.65  4.916 ms  1.348 ms  1.083 ms
 4  192.168.54.33  1.428 ms  1.482 ms  1.417 ms
 5  * * *
 6  * *^C
18:26:51
#traceroute -n ya.ru
traceroute: Warning: ya.ru has multiple addresses; using 213.180.204.8
traceroute to ya.ru (213.180.204.8), 64 hops max, 40 byte packets
 1  192.168.54.129  0.500 ms  0.646 ms  0.619 ms
 2  192.168.54.97  1.012 ms  1.017 ms  0.910 ms
 3  192.168.54.65  4.916 ms  1.348 ms  1.083 ms
 4  192.168.54.33  1.428 ms  1.482 ms  1.417 ms
 5  * * *
 6  * *^C
18:26:51
#traceroute -n ya.ru
traceroute: Warning: ya.ru has multiple addresses; using 213.180.204.8
traceroute to ya.ru (213.180.204.8), 64 hops max, 40 byte packets
 1  192.168.54.129  0.500 ms  0.646 ms  0.619 ms
 2  192.168.54.97  1.012 ms  1.017 ms  0.910 ms
 3  192.168.54.65  4.916 ms  1.348 ms  1.083 ms
 4  192.168.54.33  1.428 ms  1.482 ms  1.417 ms
 5  * * *
 6  * *^C
18:27:53
#ping ya.ru
PING ya.ru (93.158.134.8): 56 data bytes
^C
--- ya.ru ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss
18:27:53
#ping ya.ru
PING ya.ru (93.158.134.8): 56 data bytes
^C
--- ya.ru ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss
18:27:53
#ping ya.ru
PING ya.ru (93.158.134.8): 56 data bytes
^C
--- ya.ru ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss
18:28:04
#traceroute -n ya.ru
traceroute: Warning: ya.ru has multiple addresses; using 77.88.21.8
traceroute to ya.ru (77.88.21.8), 64 hops max, 40 byte packets
 1  192.168.54.129  0.564 ms  0.499 ms  0.624 ms
 2  192.168.54.97  0.919 ms  1.316 ms  0.913 ms
 3  192.168.54.65  1.222 ms  0.987 ms  1.356 ms
 4  192.168.54.33  1.650 ms  1.474 ms  1.311 ms
 5  *^C
18:28:04
#traceroute -n ya.ru
traceroute: Warning: ya.ru has multiple addresses; using 77.88.21.8
traceroute to ya.ru (77.88.21.8), 64 hops max, 40 byte packets
 1  192.168.54.129  0.564 ms  0.499 ms  0.624 ms
 2  192.168.54.97  0.919 ms  1.316 ms  0.913 ms
 3  192.168.54.65  1.222 ms  0.987 ms  1.356 ms
 4  192.168.54.33  1.650 ms  1.474 ms  1.311 ms
 5  *^C
18:28:04
#traceroute -n ya.ru
traceroute: Warning: ya.ru has multiple addresses; using 77.88.21.8
traceroute to ya.ru (77.88.21.8), 64 hops max, 40 byte packets
 1  192.168.54.129  0.564 ms  0.499 ms  0.624 ms
 2  192.168.54.97  0.919 ms  1.316 ms  0.913 ms
 3  192.168.54.65  1.222 ms  0.987 ms  1.356 ms
 4  192.168.54.33  1.650 ms  1.474 ms  1.311 ms
 5  *^C
18:28:28
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes
^C
--- ya.ru ping statistics ---
21 packets transmitted, 0 packets received, 100% packet loss
18:28:28
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes
^C
--- ya.ru ping statistics ---
21 packets transmitted, 0 packets received, 100% packet loss
18:28:28
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes
^C
--- ya.ru ping statistics ---
21 packets transmitted, 0 packets received, 100% packet loss
18:29:07
#ping 192.168.54.33
PING 192.168.54.33 (192.168.54.33): 56 data bytes
64 bytes from 192.168.54.33: icmp_seq=0 ttl=61 time=1.473 ms
64 bytes from 192.168.54.33: icmp_seq=1 ttl=61 time=1.336 ms
64 bytes from 192.168.54.33: icmp_seq=2 ttl=61 time=1.277 ms
^C
--- 192.168.54.33 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.277/1.362/1.473/0.082 ms
18:29:07
#ping 192.168.54.33
PING 192.168.54.33 (192.168.54.33): 56 data bytes
64 bytes from 192.168.54.33: icmp_seq=0 ttl=61 time=1.473 ms
64 bytes from 192.168.54.33: icmp_seq=1 ttl=61 time=1.336 ms
64 bytes from 192.168.54.33: icmp_seq=2 ttl=61 time=1.277 ms
^C
--- 192.168.54.33 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.277/1.362/1.473/0.082 ms
18:29:07
#ping 192.168.54.33
PING 192.168.54.33 (192.168.54.33): 56 data bytes
64 bytes from 192.168.54.33: icmp_seq=0 ttl=61 time=1.473 ms
64 bytes from 192.168.54.33: icmp_seq=1 ttl=61 time=1.336 ms
64 bytes from 192.168.54.33: icmp_seq=2 ttl=61 time=1.277 ms
^C
--- 192.168.54.33 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.277/1.362/1.473/0.082 ms
18:29:21
#ping ya.ru
PING ya.ru (93.158.134.8): 56 data bytes
^C
--- ya.ru ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
18:29:21
#ping ya.ru
PING ya.ru (93.158.134.8): 56 data bytes
^C
--- ya.ru ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
18:29:21
#ping ya.ru
PING ya.ru (93.158.134.8): 56 data bytes
^C
--- ya.ru ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
18:29:32
#traceroute -n ya.ru

18:29:32
#traceroute -n ya.ru

18:29:32
#traceroute -n ya.ru

18:29:41
#ping 192.168.54.30
PING 192.168.54.30 (192.168.54.30): 56 data bytes
64 bytes from 192.168.54.30: icmp_seq=0 ttl=61 time=1.475 ms
64 bytes from 192.168.54.30: icmp_seq=1 ttl=61 time=1.246 ms
64 bytes from 192.168.54.30: icmp_seq=2 ttl=61 time=1.365 ms
64 bytes from 192.168.54.30: icmp_seq=3 ttl=61 time=1.199 ms
64 bytes from 192.168.54.30: icmp_seq=4 ttl=61 time=1.070 ms
64 bytes from 192.168.54.30: icmp_seq=5 ttl=61 time=1.385 ms
^C
--- 192.168.54.30 ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.070/1.290/1.475/0.134 ms
18:29:41
#ping 192.168.54.30
PING 192.168.54.30 (192.168.54.30): 56 data bytes
64 bytes from 192.168.54.30: icmp_seq=0 ttl=61 time=1.475 ms
64 bytes from 192.168.54.30: icmp_seq=1 ttl=61 time=1.246 ms
64 bytes from 192.168.54.30: icmp_seq=2 ttl=61 time=1.365 ms
64 bytes from 192.168.54.30: icmp_seq=3 ttl=61 time=1.199 ms
64 bytes from 192.168.54.30: icmp_seq=4 ttl=61 time=1.070 ms
64 bytes from 192.168.54.30: icmp_seq=5 ttl=61 time=1.385 ms
^C
--- 192.168.54.30 ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.070/1.290/1.475/0.134 ms
18:29:41
#ping 192.168.54.30
PING 192.168.54.30 (192.168.54.30): 56 data bytes
64 bytes from 192.168.54.30: icmp_seq=0 ttl=61 time=1.475 ms
64 bytes from 192.168.54.30: icmp_seq=1 ttl=61 time=1.246 ms
64 bytes from 192.168.54.30: icmp_seq=2 ttl=61 time=1.365 ms
64 bytes from 192.168.54.30: icmp_seq=3 ttl=61 time=1.199 ms
64 bytes from 192.168.54.30: icmp_seq=4 ttl=61 time=1.070 ms
64 bytes from 192.168.54.30: icmp_seq=5 ttl=61 time=1.385 ms
^C
--- 192.168.54.30 ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.070/1.290/1.475/0.134 ms
18:29:55
#ping 192.168.54.30
PING 192.168.54.30 (192.168.54.30): 56 data bytes
64 bytes from 192.168.54.30: icmp_seq=0 ttl=61 time=1.589 ms
64 bytes from 192.168.54.30: icmp_seq=1 ttl=61 time=1.390 ms
64 bytes from 192.168.54.30: icmp_seq=2 ttl=61 time=1.251 ms
64 bytes from 192.168.54.30: icmp_seq=3 ttl=61 time=1.298 ms
64 bytes from 192.168.54.30: icmp_seq=4 ttl=61 time=1.102 ms
64 bytes from 192.168.54.30: icmp_seq=5 ttl=61 time=1.337 ms
64 bytes from 192.168.54.30: icmp_seq=6 ttl=61 time=1.513 ms
64 bytes from 192.168.54.30: icmp_seq=7 ttl=61 time=1.138 ms
64 bytes from 192.168.54.30: icmp_seq=8 ttl=61 time=1.306 ms
64 bytes from 192.168.54.30: icmp_seq=9 ttl=61 time=1.229 ms
64 bytes from 192.168.54.30: icmp_seq=10 ttl=61 time=1.378 ms
64 bytes from 192.168.54.30: icmp_seq=11 ttl=61 time=1.287 ms
^C
--- 192.168.54.30 ping statistics ---
12 packets transmitted, 12 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.102/1.318/1.589/0.133 ms
18:29:55
#ping 192.168.54.30
PING 192.168.54.30 (192.168.54.30): 56 data bytes
64 bytes from 192.168.54.30: icmp_seq=0 ttl=61 time=1.589 ms
64 bytes from 192.168.54.30: icmp_seq=1 ttl=61 time=1.390 ms
64 bytes from 192.168.54.30: icmp_seq=2 ttl=61 time=1.251 ms
64 bytes from 192.168.54.30: icmp_seq=3 ttl=61 time=1.298 ms
64 bytes from 192.168.54.30: icmp_seq=4 ttl=61 time=1.102 ms
64 bytes from 192.168.54.30: icmp_seq=5 ttl=61 time=1.337 ms
64 bytes from 192.168.54.30: icmp_seq=6 ttl=61 time=1.513 ms
64 bytes from 192.168.54.30: icmp_seq=7 ttl=61 time=1.138 ms
64 bytes from 192.168.54.30: icmp_seq=8 ttl=61 time=1.306 ms
64 bytes from 192.168.54.30: icmp_seq=9 ttl=61 time=1.229 ms
64 bytes from 192.168.54.30: icmp_seq=10 ttl=61 time=1.378 ms
64 bytes from 192.168.54.30: icmp_seq=11 ttl=61 time=1.287 ms
^C
--- 192.168.54.30 ping statistics ---
12 packets transmitted, 12 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.102/1.318/1.589/0.133 ms
18:29:55
#ping 192.168.54.30
PING 192.168.54.30 (192.168.54.30): 56 data bytes
64 bytes from 192.168.54.30: icmp_seq=0 ttl=61 time=1.589 ms
64 bytes from 192.168.54.30: icmp_seq=1 ttl=61 time=1.390 ms
64 bytes from 192.168.54.30: icmp_seq=2 ttl=61 time=1.251 ms
64 bytes from 192.168.54.30: icmp_seq=3 ttl=61 time=1.298 ms
64 bytes from 192.168.54.30: icmp_seq=4 ttl=61 time=1.102 ms
64 bytes from 192.168.54.30: icmp_seq=5 ttl=61 time=1.337 ms
64 bytes from 192.168.54.30: icmp_seq=6 ttl=61 time=1.513 ms
64 bytes from 192.168.54.30: icmp_seq=7 ttl=61 time=1.138 ms
64 bytes from 192.168.54.30: icmp_seq=8 ttl=61 time=1.306 ms
64 bytes from 192.168.54.30: icmp_seq=9 ttl=61 time=1.229 ms
64 bytes from 192.168.54.30: icmp_seq=10 ttl=61 time=1.378 ms
64 bytes from 192.168.54.30: icmp_seq=11 ttl=61 time=1.287 ms
^C
--- 192.168.54.30 ping statistics ---
12 packets transmitted, 12 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.102/1.318/1.589/0.133 ms
18:30:17
#ping ya.ru
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 d98d   0 0000  40  01 4775 192.168.54.158  77.88.21.8
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 d991   0 0000  40  01 4771 192.168.54.158  77.88.21.8
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 d995   0 0000  40  01 476d 192.168.54.158  77.88.21.8
36 bytes from 192.168.54.129: Destination Host Unreachable
...
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 da2f   0 0000  40  01 46d3 192.168.54.158  77.88.21.8
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 da59   0 0000  40  01 46a9 192.168.54.158  77.88.21.8
^C
--- ya.ru ping statistics ---
564 packets transmitted, 483 packets received, 14% packet loss
round-trip min/avg/max/stddev = 50.735/55.489/93.193/4.532 ms
18:30:17
#ping ya.ru
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 d98d   0 0000  40  01 4775 192.168.54.158  77.88.21.8
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 d991   0 0000  40  01 4771 192.168.54.158  77.88.21.8
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 d995   0 0000  40  01 476d 192.168.54.158  77.88.21.8
36 bytes from 192.168.54.129: Destination Host Unreachable
...
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 da2f   0 0000  40  01 46d3 192.168.54.158  77.88.21.8
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 da59   0 0000  40  01 46a9 192.168.54.158  77.88.21.8
^C
--- ya.ru ping statistics ---
564 packets transmitted, 483 packets received, 14% packet loss
round-trip min/avg/max/stddev = 50.735/55.489/93.193/4.532 ms
18:30:17
#ping ya.ru
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 d98d   0 0000  40  01 4775 192.168.54.158  77.88.21.8
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 d991   0 0000  40  01 4771 192.168.54.158  77.88.21.8
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 d995   0 0000  40  01 476d 192.168.54.158  77.88.21.8
36 bytes from 192.168.54.129: Destination Host Unreachable
...
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 da2f   0 0000  40  01 46d3 192.168.54.158  77.88.21.8
36 bytes from 192.168.54.129: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 da59   0 0000  40  01 46a9 192.168.54.158  77.88.21.8
^C
--- ya.ru ping statistics ---
564 packets transmitted, 483 packets received, 14% packet loss
round-trip min/avg/max/stddev = 50.735/55.489/93.193/4.532 ms
прошло 16 минут
18:46:49
#sysctl net.inet.ip.forfarding
sysctl: unknown oid 'net.inet.ip.forfarding'

Статистика

Время первой команды журнала17:54:24 2009- 7-31
Время последней команды журнала18:46:49 2009- 7-31
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %27.72
Процент синтаксически неверно набранных команд, % 0.00
Суммарное время работы с терминалом *, час 0.87
Количество командных строк в единицу времени, команда/мин 1.93
Частота использования команд
ping42|====================================| 36.84%
sysctl17|==============| 14.91%
grep13|===========| 11.40%
netstat12|==========| 10.53%
traceroute12|==========| 10.53%
ee9|=======| 7.89%
ifconfig6|=====| 5.26%
/etc/netstart3|==| 2.63%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ 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
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$