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

Содержание

Журнал

Понедельник (08/10/09)

/dev/ttyp1
14:38:57
$ifconfig -u
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
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
14:38:57
$ifconfig -u
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
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
14:38:57
$ifconfig -u
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
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
/dev/ttyp3
14:41:30
$ssh 192.168.16.1
The authenticity of host '192.168.16.1 (192.168.16.1)' can't be established.
DSA key fingerprint is 85:66:04:0d:64:83:45:f3:35:58:eb:35:cc:e5:92:50.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.16.1' (DSA) to the list of known hosts.
user@192.168.16.1's password:
Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 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: Mon Aug 10 14:18:28 2009 from fbsd21.net.nt
l3-agent is already running: pid=1631; pidfile=/home/user/.lilalo/l3-agent.pid
14:41:30
$ssh 192.168.16.1
The authenticity of host '192.168.16.1 (192.168.16.1)' can't be established.
DSA key fingerprint is 85:66:04:0d:64:83:45:f3:35:58:eb:35:cc:e5:92:50.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.16.1' (DSA) to the list of known hosts.
user@192.168.16.1's password:
Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 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: Mon Aug 10 14:18:28 2009 from fbsd21.net.nt
l3-agent is already running: pid=1631; pidfile=/home/user/.lilalo/l3-agent.pid
14:41:30
$ssh 192.168.16.1
The authenticity of host '192.168.16.1 (192.168.16.1)' can't be established.
DSA key fingerprint is 85:66:04:0d:64:83:45:f3:35:58:eb:35:cc:e5:92:50.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.16.1' (DSA) to the list of known hosts.
user@192.168.16.1's password:
Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 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: Mon Aug 10 14:18:28 2009 from fbsd21.net.nt
l3-agent is already running: pid=1631; pidfile=/home/user/.lilalo/l3-agent.pid
прошло 30 минут
/dev/ttyp1
15:12:16
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:16:4e:00:01:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
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
15:12:16
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:16:4e:00:01:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
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
15:12:16
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:16:4e:00:01:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
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
15:12:19
$sudo ifconfig re1 192.168.18.129 255.255.255.224

15:12:19
$sudo ifconfig re1 192.168.18.129 255.255.255.224

15:12:19
$sudo ifconfig re1 192.168.18.129 255.255.255.224

15:16:45
$sudo ifconfig re1 192.168.18.129 netmask 5.2
Password:
15:16:45
$sudo ifconfig re1 192.168.18.129 netmask 5.2
Password:
15:16:45
$sudo ifconfig re1 192.168.18.129 netmask 5.2
Password:
15:17:17
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        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.18.129 netmask 0xffffff02 broadcast 192.168.18.253
        ether 00:16:4e:00:01:02
...
re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
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
15:17:17
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        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.18.129 netmask 0xffffff02 broadcast 192.168.18.253
        ether 00:16:4e:00:01:02
...
re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
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
15:17:17
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        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.18.129 netmask 0xffffff02 broadcast 192.168.18.253
        ether 00:16:4e:00:01:02
...
re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
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
15:17:21
$sudo ifconfig re2 192.168.18.126 netmask 255.255.255.224

15:17:21
$sudo ifconfig re2 192.168.18.126 netmask 255.255.255.224

15:17:21
$sudo ifconfig re2 192.168.18.126 netmask 255.255.255.224

15:18:16
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        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.18.129 netmask 0xffffff02 broadcast 192.168.18.253
        ether 00:16:4e:00:01:02
...
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
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
15:18:16
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        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.18.129 netmask 0xffffff02 broadcast 192.168.18.253
        ether 00:16:4e:00:01:02
...
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
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
15:18:16
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        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.18.129 netmask 0xffffff02 broadcast 192.168.18.253
        ether 00:16:4e:00:01:02
...
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
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
15:18:18
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        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.18.129 netmask 0xffffff02 broadcast 192.168.18.253
        ether 00:16:4e:00:01:02
...
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
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
15:18:18
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        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.18.129 netmask 0xffffff02 broadcast 192.168.18.253
        ether 00:16:4e:00:01:02
...
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
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
15:18:18
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        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.18.129 netmask 0xffffff02 broadcast 192.168.18.253
        ether 00:16:4e:00:01:02
...
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
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
15:18:21
$ping 192.168.18.97
PING 192.168.18.97 (192.168.18.97): 56 data bytes
64 bytes from 192.168.18.97: icmp_seq=0 ttl=64 time=14.566 ms
64 bytes from 192.168.18.97: icmp_seq=1 ttl=64 time=9.494 ms
64 bytes from 192.168.18.97: icmp_seq=2 ttl=64 time=6.298 ms
64 bytes from 192.168.18.97: icmp_seq=3 ttl=64 time=8.375 ms
64 bytes from 192.168.18.97: icmp_seq=4 ttl=64 time=11.445 ms
64 bytes from 192.168.18.97: icmp_seq=5 ttl=64 time=5.942 ms
64 bytes from 192.168.18.97: icmp_seq=6 ttl=64 time=6.103 ms
64 bytes from 192.168.18.97: icmp_seq=7 ttl=64 time=8.685 ms
^C
--- 192.168.18.97 ping statistics ---
8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max/stddev = 5.942/8.864/14.566/2.797 ms
15:18:21
$ping 192.168.18.97
PING 192.168.18.97 (192.168.18.97): 56 data bytes
64 bytes from 192.168.18.97: icmp_seq=0 ttl=64 time=14.566 ms
64 bytes from 192.168.18.97: icmp_seq=1 ttl=64 time=9.494 ms
64 bytes from 192.168.18.97: icmp_seq=2 ttl=64 time=6.298 ms
64 bytes from 192.168.18.97: icmp_seq=3 ttl=64 time=8.375 ms
64 bytes from 192.168.18.97: icmp_seq=4 ttl=64 time=11.445 ms
64 bytes from 192.168.18.97: icmp_seq=5 ttl=64 time=5.942 ms
64 bytes from 192.168.18.97: icmp_seq=6 ttl=64 time=6.103 ms
64 bytes from 192.168.18.97: icmp_seq=7 ttl=64 time=8.685 ms
^C
--- 192.168.18.97 ping statistics ---
8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max/stddev = 5.942/8.864/14.566/2.797 ms
15:18:21
$ping 192.168.18.97
PING 192.168.18.97 (192.168.18.97): 56 data bytes
64 bytes from 192.168.18.97: icmp_seq=0 ttl=64 time=14.566 ms
64 bytes from 192.168.18.97: icmp_seq=1 ttl=64 time=9.494 ms
64 bytes from 192.168.18.97: icmp_seq=2 ttl=64 time=6.298 ms
64 bytes from 192.168.18.97: icmp_seq=3 ttl=64 time=8.375 ms
64 bytes from 192.168.18.97: icmp_seq=4 ttl=64 time=11.445 ms
64 bytes from 192.168.18.97: icmp_seq=5 ttl=64 time=5.942 ms
64 bytes from 192.168.18.97: icmp_seq=6 ttl=64 time=6.103 ms
64 bytes from 192.168.18.97: icmp_seq=7 ttl=64 time=8.685 ms
^C
--- 192.168.18.97 ping statistics ---
8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max/stddev = 5.942/8.864/14.566/2.797 ms
15:18:52
$ifconfig -u
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        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.18.129 netmask 0xffffff02 broadcast 192.168.18.253
        ether 00:16:4e:00:01:02
...
re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
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
15:18:52
$ifconfig -u
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        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.18.129 netmask 0xffffff02 broadcast 192.168.18.253
        ether 00:16:4e:00:01:02
...
re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
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
15:18:52
$ifconfig -u
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:02
        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.18.129 netmask 0xffffff02 broadcast 192.168.18.253
        ether 00:16:4e:00:01:02
...
re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127
        ether 00:16:4e:00:02:02
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
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
15:19:39
$ping 192.168.18.97
PING 192.168.18.97 (192.168.18.97): 56 data bytes
64 bytes from 192.168.18.97: icmp_seq=0 ttl=64 time=14.980 ms
64 bytes from 192.168.18.97: icmp_seq=1 ttl=64 time=3.993 ms
64 bytes from 192.168.18.97: icmp_seq=2 ttl=64 time=9.381 ms
^C
--- 192.168.18.97 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 3.993/9.451/14.980/4.486 ms
15:19:39
$ping 192.168.18.97
PING 192.168.18.97 (192.168.18.97): 56 data bytes
64 bytes from 192.168.18.97: icmp_seq=0 ttl=64 time=14.980 ms
64 bytes from 192.168.18.97: icmp_seq=1 ttl=64 time=3.993 ms
64 bytes from 192.168.18.97: icmp_seq=2 ttl=64 time=9.381 ms
^C
--- 192.168.18.97 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 3.993/9.451/14.980/4.486 ms
15:19:39
$ping 192.168.18.97
PING 192.168.18.97 (192.168.18.97): 56 data bytes
64 bytes from 192.168.18.97: icmp_seq=0 ttl=64 time=14.980 ms
64 bytes from 192.168.18.97: icmp_seq=1 ttl=64 time=3.993 ms
64 bytes from 192.168.18.97: icmp_seq=2 ttl=64 time=9.381 ms
^C
--- 192.168.18.97 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 3.993/9.451/14.980/4.486 ms
15:22:40
$route
route    route6d  routed
15:22:40
$route
usage: route [-dnqtv] command [[modifiers] args]
15:22:40
$route
route    route6d  routed
15:22:40
$route
usage: route [-dnqtv] command [[modifiers] args]
15:22:40
$route
route    route6d  routed
15:22:40
$route
usage: route [-dnqtv] command [[modifiers] args]
15:25:27
$netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0      148    re0
127.0.0.1          127.0.0.1          UH          0      785    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.1       00:16:3e:00:00:01  UHLW        1      288    re0    491
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    14403    re0    258
192.168.16.254     00:04:75:75:46:b1  UHLW        2      252    re0   1042
192.168.18&0xffffff02 link#2             UC          0        0    re1
192.168.18.96/27   link#3             UC          0        0    re2
192.168.18.97      00:16:3e:00:02:09  UHLW        1       15    re2   1013
192.168.18.157     00:16:4e:00:01:01  UHLW        1        6    re1    962
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
15:25:27
$netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0      148    re0
127.0.0.1          127.0.0.1          UH          0      785    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.1       00:16:3e:00:00:01  UHLW        1      288    re0    491
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    14403    re0    258
192.168.16.254     00:04:75:75:46:b1  UHLW        2      252    re0   1042
192.168.18&0xffffff02 link#2             UC          0        0    re1
192.168.18.96/27   link#3             UC          0        0    re2
192.168.18.97      00:16:3e:00:02:09  UHLW        1       15    re2   1013
192.168.18.157     00:16:4e:00:01:01  UHLW        1        6    re1    962
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
15:25:27
$netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0      148    re0
127.0.0.1          127.0.0.1          UH          0      785    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.1       00:16:3e:00:00:01  UHLW        1      288    re0    491
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    14403    re0    258
192.168.16.254     00:04:75:75:46:b1  UHLW        2      252    re0   1042
192.168.18&0xffffff02 link#2             UC          0        0    re1
192.168.18.96/27   link#3             UC          0        0    re2
192.168.18.97      00:16:3e:00:02:09  UHLW        1       15    re2   1013
192.168.18.157     00:16:4e:00:01:01  UHLW        1        6    re1    962
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
15:25:42
$sudo route delete default
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
sudo: pam_authenticate: conversation failure
15:25:42
$sudo route delete default
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
sudo: pam_authenticate: conversation failure
15:25:42
$sudo route delete default
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
sudo: pam_authenticate: conversation failure
15:26:41
$route delete default
route: must be root to alter routing table
15:26:41
$route delete default
route: must be root to alter routing table
15:26:41
$route delete default
route: must be root to alter routing table
15:26:47
$su0
bash: su0: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ
15:26:47
$su0
bash: su0: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ
15:26:47
$su0
bash: su0: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ
15:26:56
$su -
Password:
Removing stale pidfile
15:26:56
$su -
Password:
Removing stale pidfile
15:26:56
$su -
Password:
Removing stale pidfile
15:27:09
#route
route    route6d  routed
15:27:09
#route delete default
delete net default
15:27:09
#route
route    route6d  routed
15:27:09
#route delete default
delete net default
15:27:09
#route
route    route6d  routed
15:27:09
#route delete default
delete net default
15:27:35
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
127.0.0.1          127.0.0.1          UH          0      785    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.1       00:16:3e:00:00:01  UHLW        1      288    re0    366
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    14809    re0    133
192.168.16.254     00:04:75:75:46:b1  UHLW        1      255    re0   1186
192.168.18&0xffffff02 link#2             UC          0        0    re1
192.168.18.96/27   link#3             UC          0        0    re2
192.168.18.97      00:16:3e:00:02:09  UHLW        1       15    re2    888
192.168.18.157     00:16:4e:00:01:01  UHLW        1        6    re1    837
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
15:27:35
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
127.0.0.1          127.0.0.1          UH          0      785    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.1       00:16:3e:00:00:01  UHLW        1      288    re0    366
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    14809    re0    133
192.168.16.254     00:04:75:75:46:b1  UHLW        1      255    re0   1186
192.168.18&0xffffff02 link#2             UC          0        0    re1
192.168.18.96/27   link#3             UC          0        0    re2
192.168.18.97      00:16:3e:00:02:09  UHLW        1       15    re2    888
192.168.18.157     00:16:4e:00:01:01  UHLW        1        6    re1    837
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
15:27:35
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
127.0.0.1          127.0.0.1          UH          0      785    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.1       00:16:3e:00:00:01  UHLW        1      288    re0    366
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    14809    re0    133
192.168.16.254     00:04:75:75:46:b1  UHLW        1      255    re0   1186
192.168.18&0xffffff02 link#2             UC          0        0    re1
192.168.18.96/27   link#3             UC          0        0    re2
192.168.18.97      00:16:3e:00:02:09  UHLW        1       15    re2    888
192.168.18.157     00:16:4e:00:01:01  UHLW        1        6    re1    837
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
15:27:47
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
127.0.0.1          127.0.0.1          UH          0      785    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.1       00:16:3e:00:00:01  UHLW        1      288    re0    264
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    14909    re0     31
192.168.16.254     00:04:75:75:46:b1  UHLW        1      260    re0   1193
192.168.18&0xffffff02 link#2             UC          0        0    re1
192.168.18.96/27   link#3             UC          0        0    re2
192.168.18.97      00:16:3e:00:02:09  UHLW        1       18    re2   1165
192.168.18.157     00:16:4e:00:01:01  UHLW        1        6    re1    735
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
15:27:47
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
127.0.0.1          127.0.0.1          UH          0      785    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.1       00:16:3e:00:00:01  UHLW        1      288    re0    264
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    14909    re0     31
192.168.16.254     00:04:75:75:46:b1  UHLW        1      260    re0   1193
192.168.18&0xffffff02 link#2             UC          0        0    re1
192.168.18.96/27   link#3             UC          0        0    re2
192.168.18.97      00:16:3e:00:02:09  UHLW        1       18    re2   1165
192.168.18.157     00:16:4e:00:01:01  UHLW        1        6    re1    735
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
15:27:47
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
127.0.0.1          127.0.0.1          UH          0      785    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.1       00:16:3e:00:00:01  UHLW        1      288    re0    264
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    14909    re0     31
192.168.16.254     00:04:75:75:46:b1  UHLW        1      260    re0   1193
192.168.18&0xffffff02 link#2             UC          0        0    re1
192.168.18.96/27   link#3             UC          0        0    re2
192.168.18.97      00:16:3e:00:02:09  UHLW        1       18    re2   1165
192.168.18.157     00:16:4e:00:01:01  UHLW        1        6    re1    735
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
15:29:29
#exit

15:29:29
#exit

15:29:29
#exit

15:33:11
$su -
Password:
Removing stale pidfile
15:33:11
$su -
Password:
Removing stale pidfile
15:33:11
$su -
Password:
Removing stale pidfile
15:37:24
#route add default 192.168.18.97
add net default: gateway 192.168.18.97
15:37:24
#route add default 192.168.18.97
add net default: gateway 192.168.18.97
15:37:24
#route add default 192.168.18.97
add net default: gateway 192.168.18.97
15:37:56
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.18.97      UGS         0        2    re1
127.0.0.1          127.0.0.1          UH          0      809    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    15356    re0    716
192.168.16.254     00:04:75:75:46:b1  UHLW        1      304    re0   1182
192.168.18&0xffffff02 link#2             UC          0        0    re1
192.168.18.96/27   link#3             UC          0        0    re2
192.168.18.97      00:16:3e:00:02:09  UHLW        2       20    re2    789
192.168.18.157     00:16:4e:00:01:01  UHLW        1       10    re1    220
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
15:37:56
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.18.97      UGS         0        2    re1
127.0.0.1          127.0.0.1          UH          0      809    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    15356    re0    716
192.168.16.254     00:04:75:75:46:b1  UHLW        1      304    re0   1182
192.168.18&0xffffff02 link#2             UC          0        0    re1
192.168.18.96/27   link#3             UC          0        0    re2
192.168.18.97      00:16:3e:00:02:09  UHLW        2       20    re2    789
192.168.18.157     00:16:4e:00:01:01  UHLW        1       10    re1    220
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
15:37:56
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.18.97      UGS         0        2    re1
127.0.0.1          127.0.0.1          UH          0      809    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    15356    re0    716
192.168.16.254     00:04:75:75:46:b1  UHLW        1      304    re0   1182
192.168.18&0xffffff02 link#2             UC          0        0    re1
192.168.18.96/27   link#3             UC          0        0    re2
192.168.18.97      00:16:3e:00:02:09  UHLW        2       20    re2    789
192.168.18.157     00:16:4e:00:01:01  UHLW        1       10    re1    220
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
15:39:21
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.18.97      UGS         0      137    re1
127.0.0.1          127.0.0.1          UH          0      833    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.1       00:16:3e:00:00:01  UHLW        1      233    re0    802
192.168.16.9       00:16:3e:00:00:09  UHLW        1      242    re0    989
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    17604    re0    952
192.168.16.254     00:04:75:75:46:b1  UHLW        1      323    re0   1141
...
192.168.18.97      00:16:3e:00:02:09  UHLW        2       22    re2   1178
192.168.18.157     00:16:4e:00:01:01  UHLW        1       10    re1    898
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
õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root
15:39:21
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.18.97      UGS         0      137    re1
127.0.0.1          127.0.0.1          UH          0      833    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.1       00:16:3e:00:00:01  UHLW        1      233    re0    802
192.168.16.9       00:16:3e:00:00:09  UHLW        1      242    re0    989
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    17604    re0    952
192.168.16.254     00:04:75:75:46:b1  UHLW        1      323    re0   1141
...
192.168.18.97      00:16:3e:00:02:09  UHLW        2       22    re2   1178
192.168.18.157     00:16:4e:00:01:01  UHLW        1       10    re1    898
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
õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root
15:39:21
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.18.97      UGS         0      137    re1
127.0.0.1          127.0.0.1          UH          0      833    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.1       00:16:3e:00:00:01  UHLW        1      233    re0    802
192.168.16.9       00:16:3e:00:00:09  UHLW        1      242    re0    989
192.168.16.225     00:14:c2:05:9a:de  UHLW        1    17604    re0    952
192.168.16.254     00:04:75:75:46:b1  UHLW        1      323    re0   1141
...
192.168.18.97      00:16:3e:00:02:09  UHLW        2       22    re2   1178
192.168.18.157     00:16:4e:00:01:01  UHLW        1       10    re1    898
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
õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root
/dev/ttyp3
15:40:38
$screen -x
15:40:38
$screen -x
15:40:38
$screen -x
15:40:48
$ssh 192.168.16.1
user@192.168.16.1's password:
Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 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: Mon Aug 10 16:40:40 2009 from 192.168.16.9
l3-agent is already running: pid=1631; pidfile=/home/user/.lilalo/l3-agent.pid
15:40:48
$ssh 192.168.16.1
user@192.168.16.1's password:
Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 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: Mon Aug 10 16:40:40 2009 from 192.168.16.9
l3-agent is already running: pid=1631; pidfile=/home/user/.lilalo/l3-agent.pid
15:40:48
$ssh 192.168.16.1
user@192.168.16.1's password:
Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 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: Mon Aug 10 16:40:40 2009 from 192.168.16.9
l3-agent is already running: pid=1631; pidfile=/home/user/.lilalo/l3-agent.pid
/dev/ttyp3
15:43:18
$sudo tcpdump -i re1 -n icmp
Password:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes
16:43:41.990922 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 120, length 64
16:43:43.793001 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 121, length 64
16:43:45.592599 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 122, length 64
16:43:47.392792 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 123, length 64
16:43:49.198752 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 124, length 64
16:43:50.995991 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 125, length 64
16:43:52.799849 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 126, length 64
16:43:54.598384 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 127, length 64
16:43:56.399648 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 128, length 64
16:43:58.203934 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 129, length 64
16:44:00.004414 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 130, length 64
^C
11 packets captured
16 packets received by filter
0 packets dropped by kernel
15:43:18
$sudo tcpdump -i re1 -n icmp
Password:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes
16:43:41.990922 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 120, length 64
16:43:43.793001 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 121, length 64
16:43:45.592599 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 122, length 64
16:43:47.392792 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 123, length 64
16:43:49.198752 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 124, length 64
16:43:50.995991 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 125, length 64
16:43:52.799849 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 126, length 64
16:43:54.598384 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 127, length 64
16:43:56.399648 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 128, length 64
16:43:58.203934 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 129, length 64
16:44:00.004414 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 130, length 64
^C
11 packets captured
16 packets received by filter
0 packets dropped by kernel
15:43:18
$sudo tcpdump -i re1 -n icmp
Password:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes
16:43:41.990922 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 120, length 64
16:43:43.793001 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 121, length 64
16:43:45.592599 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 122, length 64
16:43:47.392792 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 123, length 64
16:43:49.198752 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 124, length 64
16:43:50.995991 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 125, length 64
16:43:52.799849 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 126, length 64
16:43:54.598384 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 127, length 64
16:43:56.399648 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 128, length 64
16:43:58.203934 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 129, length 64
16:44:00.004414 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 130, length 64
^C
11 packets captured
16 packets received by filter
0 packets dropped by kernel
15:44:01
$sudo tcpdump -i re2 -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on re2, link-type EN10MB (Ethernet), capture size 96 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
15:44:01
$sudo tcpdump -i re2 -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on re2, link-type EN10MB (Ethernet), capture size 96 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
15:44:01
$sudo tcpdump -i re2 -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on re2, link-type EN10MB (Ethernet), capture size 96 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
15:44:12
$sudo 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
15:44:12
$sudo 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
15:44:12
$sudo 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
15:45:02
$sudo sysctl net.inet.ip.forwarding=1
net.inet.ip.forwarding: 0 -> 1

Статистика

Время первой команды журнала14:38:57 2009- 8-10
Время последней команды журнала15:45:02 2009- 8-10
Количество командных строк в журнале100
Процент команд с ненулевым кодом завершения, %12.00
Процент синтаксически неверно набранных команд, % 6.00
Суммарное время работы с терминалом *, час 0.59
Количество командных строк в единицу времени, команда/мин 2.83
Частота использования команд
ifconfig27|=====================| 21.60%
sudo22|=================| 17.60%
route21|================| 16.80%
netstat15|============| 12.00%
ping6|====| 4.80%
tcpdump6|====| 4.80%
ssh6|====| 4.80%
su6|====| 4.80%
sysctl4|===| 3.20%
screen3|==| 2.40%
grep3|==| 2.40%
exit3|==| 2.40%
su03|==| 2.40%
____
*) Интервалы неактивности длительностью 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$