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

Содержание

Журнал

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

/dev/ttyp5
13:18:22
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.237 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.255
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
13:18:28
#/etc/netstart
devd already running? (pid=627).
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.237 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 10.0.15.133 netmask 0xffffff00 broadcast 10.0.15.255
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
Additional routing options:.
13:18:33
#vim /etc/rc.conf
13:21:09
#netstart
bash: netstart: command not found
13:23:35
#/etc/netstart
devd already running? (pid=627).
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.237 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 10.0.15.133 netmask 0xffffff00 broadcast 10.0.15.255
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
Additional routing options:.
13:23:44
#arp -a
host180.unix.nt (192.168.15.180) at 00:04:75:7f:23:26 on em0 [ethernet]
host237.unix.nt (192.168.15.237) at 00:07:e9:3c:2c:15 on em0 permanent [ethernet]
host242.unix.nt (192.168.15.242) at 00:07:e9:3c:29:f9 on em0 [ethernet]
13:29:45
#arp -a
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xd400-0xd41f irq 16 at
device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
host180.unix.nt (192.168.15.180) at 00:04:75:7f:23:26 on em0 [ethernet]
host237.unix.nt (192.168.15.237) at 00:07:e9:3c:2c:15 on em0 permanent [ethernet]
host242.unix.nt (192.168.15.242) at 00:07:e9:3c:29:f9 on em0 [ethernet]
13:30:11
#ifconfig
        options=9<RXCSUM,VLAN_MTU>
        inet 10.0.15.133 netmask 0xffffff00 broadcast 10.0.15.255
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
13:32:49
#make install
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xd400-0xd41f irq 16 at
device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
`install' is up to date.
прошло 11 минут
13:44:09
#install
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xd400-0xd41f irq 16 at
device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
13:44:35
#cd /usr/ports/mail/popa3d &&
      these network services to be started at boot time.
/usr/local/etc/rc.d/popa3d.sh
      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.
      For more information, and contact details about the security
      status of this software, see the following webpage:
http://www.openwall.com/popa3d/
13:49:14
#ifconfig
        options=9<RXCSUM,VLAN_MTU>
        inet 10.0.15.133 netmask 0xffffff00 broadcast 10.0.15.255
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
прошло >2 часов
15:50:56
#arp -a
host180.unix.nt (192.168.15.180) at 00:04:75:7f:23:26 on em0 [ethernet]
host237.unix.nt (192.168.15.237) at 00:07:e9:3c:2c:15 on em0 permanent [ethernet]
host242.unix.nt (192.168.15.242) at 00:07:e9:3c:29:f9 on em0 [ethernet]
host243.unix.nt (192.168.15.243) at 00:07:e9:3c:29:f9 on em0 [ethernet]
15:55:19
#arp -a
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xd400-0xd41f irq 16 at
device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
host180.unix.nt (192.168.15.180) at 00:04:75:7f:23:26 on em0 [ethernet]
host237.unix.nt (192.168.15.237) at 00:07:e9:3c:2c:15 on em0 permanent [ethernet]
host240.unix.nt (192.168.15.240) at 00:0a:b8:ab:eb:c0 on em0 [ethernet]
host242.unix.nt (192.168.15.242) at 00:07:e9:3c:29:f9 on em0 [ethernet]
host243.unix.nt (192.168.15.243) at 00:07:e9:3c:29:9e on em0 [ethernet]
16:00:57
#netstat -r -n -f inet
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.15.180     UGS         0     9325    em0
10.0.15/24         link#2             UC          0        0    xl0
10.0.15.3/32       link#2             UC          0        0    xl0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.15         link#1             UC          0        0    em0
192.168.15.180     00:04:75:7f:23:26  UHLW        2     1059    em0   1022
192.168.15.237     00:07:e9:3c:2c:15  UHLW        1       72    lo0
192.168.15.240     00:0a:b8:ab:eb:c0  UHLW        1        5    em0   1001
192.168.15.242     00:07:e9:3c:29:f9  UHLW        1     1033    em0    665
192.168.15.243     00:07:e9:3c:29:9e  UHLW        1        5    em0    766
16:04:00
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.237 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 10.0.15.133 netmask 0xffffff00 broadcast 10.0.15.255
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
прошло 18 минут
/dev/ttyp8
16:22:32
$su -
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xd400-0xd41f irq 16 at
device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Password:
Removing stale pidfile
16:22:45
#tcpdump
16:22:51.795034 IP host242.unix.nt.ssh > host237.unix.nt.50716: P 400:528(128) ack 1 win 33304 <nop,nop,timestamp 24325501 24212240>
16:22:51.795116 IP host237.unix.nt.50716 > host242.unix.nt.ssh: . ack 528 win 33240 <nop,nop,timestamp 24212437 24325477>
16:22:51.970924 IP host242.unix.nt.ssh > host237.unix.nt.50716: P 528:576(48) ack 1 win 33304 <nop,nop,timestamp 24325677 24212437>
16:22:52.070976 IP host237.unix.nt.50716 > host242.unix.nt.ssh: . ack 576 win 33304 <nop,nop,timestamp 24212713 24325677>
16:22:52.093961 IP host242.unix.nt.ssh > host237.unix.nt.50716: P 576:704(128) ack 1 win 33304 <nop,nop,timestamp 24325800 24212713>
16:22:52.193972 IP host237.unix.nt.50716 > host242.unix.nt.ssh: . ack 704 win 33304 <nop,nop,timestamp 24212836 24325800>
16:22:53.614636
^C
32 packets captured
32 packets received by filter
0 packets dropped by kernel
/dev/ttyp5
16:24:13
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.237 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:24:19
#ifconfig xl0 -alias
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xd400-0xd41f irq 16 at
device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
16:24:42
#ifconfig -a
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:26:56
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.16.65 netmask 0xffffffc0 broadcast 192.168.16.127
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:27:02
#ifconfig em0 192.168.15.237 netmask 255. netmask 255.255.2

16:27:02
#ifconfig em0 192.168.15.237 netmask 255.255. netmask 255.2

16:27:02
#ifconfig em0 192.168.15.237 netmask 255.255.255. netmask 2

16:29:05
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.237 netmask 0xffffffc0 broadcast 192.168.16.127
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        ether 00:04:76:a1:f0:5d
        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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:29:12
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.237 netmask 0xffffffc0 broadcast 192.168.16.127
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        ether 00:04:76:a1:f0:5d
        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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:29:17
#ifconfig em0 192.168.15.237 netmask 255.255.255.0 broadcas

16:29:17
#ifconfig em0 192.168.15.237 netmask 255.255.255.0 broadcas

16:29:17
#ifconfig em0 192.168.15.237 netmask 255.255t 192.168.15.25

16:29:17
#ifconfig em0 192.168.15.237 nett 192.168.15.255 netmask 25

16:29:17
#ifconfig em0 192.168.15.237t 192.168.15.255 netmask 255.25

16:29:17
#ifconfig em0 192.168.15t 192.168.15.255 netmask 255.255.25

16:29:51
#ifconfig -a
  Resource id:  0xa001fb
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0xa001fb
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x1e06526
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
...
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        ether 00:04:76:a1:f0:5d
        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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:30:07
#t 192.168.15.255 netmask 255.255.255.192 broadcast 192.168

16:30:28
#t 192.168.15.255 netmask 255.255.255.192 broadcast\
bash: t: command not found
16:30:42
#t 192.168.15.255 netmask 255.255.255.192 broadcast\ 192.16

16:30:42
#t 192.168.15.255 netmask 255.255.255.192 broadcast\
> 192.168.15.255
bash: t: command not found
16:31:24
#ifconfig -a

16:31:24
#ifconfig -a

16:31:42
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.237 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        ether 00:04:76:a1:f0:5d
        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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:32:34
#ifconfig -a

16:32:34
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.237 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        ether 00:04:76:a1:f0:5d
        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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:32:36
#ifconfig em0 192.168.16.65 netmask 255.255.255.192\
>  broadcast 192.168.16.127 alias
16:33:57
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.237 netmask 0xffffff00 broadcast 192.168.15.255
        inet 192.168.16.65 netmask 0xffffffc0 broadcast 192.168.16.127
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        ether 00:04:76:a1:f0:5d
        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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:34:17
#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
16:34:31
#sysctl net.inet.ip.forwarding=1
net.inet.ip.forwarding: 0 -> 1
16:35:20
#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
16:35:22
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.237 netmask 0xffffff00 broadcast 192.168.15.255
        inet 192.168.16.65 netmask 0xffffffc0 broadcast 192.168.16.127
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        ether 00:04:76:a1:f0:5d
        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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:35:42
#netstat -na
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0      0  *.110                  *.*                    LISTEN
tcp4       0      0  192.168.15.237.50716   192.168.15.242.22      ESTABLISHED
tcp4       0      0  *.6000                 *.*                    LISTEN
tcp6       0      0  *.6000                 *.*                    LISTEN
tcp4       0      0  127.0.0.1.25           *.*                    LISTEN
tcp4       0      0  *.22                   *.*                    LISTEN
tcp6       0      0  *.22                   *.*                    LISTEN
udp4       0      0  *.514                  *.*
...
c7133348 stream      0      0 c70d9660        0        0        0 /tmp/.X11-unix/X0
c684271c stream      0      0 c70dadd0        0        0        0 /tmp/fam-user/fam-
c68414ec stream      0      0 c6896660        0        0        0 /var/run/devd.pipe
c8034348 dgram       0      0        0 c68412bc        0 c6841000
c6841000 dgram       0      0        0 c68412bc        0 c68411a4
c68411a4 dgram       0      0        0 c68412bc        0 c6841118
c684108c dgram       0      0        0 c6841348        0        0
c6841118 dgram       0      0        0 c68412bc        0        0
c68412bc dgram       0      0 c68a9770        0 c8034348        0 /var/run/logpriv
c6841348 dgram       0      0 c68a9880        0 c684108c        0 /var/run/log
16:37:13
#netstat -nr
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
0                  link#1             UC          0        0    em0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16/26      link#2             UC          0        0    xl0
192.168.16.64/26   link#1             UC          0        0    em0
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01:4::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
16:37:18
#ipconfig -a
kio (KLauncher): ERROR: SlavePool: No communication with slave.
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0xa001fb
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  20
  Minor opcode:  0
  Resource id:  0xa001fb
X Error: BadWindow (invalid Window parameter) 3
...
  Resource id:  0x1c03387
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
bash: ipconfig: command not found
16:37:44
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.16.65 netmask 0xffffffc0 broadcast 192.168.16.127
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        ether 00:04:76:a1:f0:5d
        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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:37:50
#vim /etc/rc
16:37:50
#vim /etc/rc.conf
16:39:36
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.16.65 netmask 0xffffffc0 broadcast 192.168.16.127
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        ether 00:04:76:a1:f0:5d
        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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:39:53
#rout add default 192.168.16.126
bash: rout: command not found
16:42:23
#routeadd default 192.168.16.126
route: writing to routing socket: Network is unreachable
add net default: gateway 192.168.16.126: Network is unreachable
16:42:30
#netstat -n -r
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
0                  link#1             UC          0        0    em0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16/26      link#2             UC          0        0    xl0
192.168.16.1       00:07:e9:3c:29:f9  UHLW        1      136    xl0    906
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01:4::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
16:42:48
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        ether 00:04:76:a1:f0:5d
        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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:44:14
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        ether 00:04:76:a1:f0:5d
        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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:44:15
#vim /etc/rc.conf
16:47:49
#sh /etc/rc.conf

16:47:51
#/etc/netstart
devd already running? (pid=627).
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.16.65 netmask 0xffffffc0 broadcast 192.168.16.127
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
Additional routing options: IP gateway=YES.
16:47:58
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
10.0.15.3/32       link#2             UC          0        0    xl0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16/26      link#2             UC          0        0    xl0
192.168.16.1       00:07:e9:3c:29:f9  UHLW        1       17    xl0   1179
192.168.16.64/26   link#1             UC          0        0    em0
192.168.16.126     link#1             UHLW        1        8    em0
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01:4::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
16:48:25
#ping 192.168.16.126
PING 192.168.16.126 (192.168.16.126): 56 data bytes
^C
--- 192.168.16.126 ping statistics ---
9 packets transmitted, 0 packets received, 100% packet loss
16:51:46
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.16.65 netmask 0xffffffc0 broadcast 192.168.16.127
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:52:07
#ifconfig -u
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.16.65 netmask 0xffffffc0 broadcast 192.168.16.127
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:52:54
#ping 192.168.16.126
PING 192.168.16.126 (192.168.16.126): 56 data bytes
^C
--- 192.168.16.126 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
16:53:18
#ping 192.168.16.1
PING 192.168.16.1 (192.168.16.1): 56 data bytes
64 bytes from 192.168.16.1: icmp_seq=0 ttl=64 time=0.304 ms
64 bytes from 192.168.16.1: icmp_seq=1 ttl=64 time=0.226 ms
64 bytes from 192.168.16.1: icmp_seq=2 ttl=64 time=0.244 ms
^C
--- 192.168.16.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.226/0.258/0.304/0.033 ms
16:53:28
#netstat -nr
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
10.0.15.3/32       link#2             UC          0        0    xl0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16/26      link#2             UC          0        0    xl0
192.168.16.1       00:07:e9:3c:29:f9  UHLW        1      468    xl0    869
192.168.16.64/26   link#1             UC          0        0    em0
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01:4::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
16:53:35
#arp -a
? (192.168.16.1) at 00:07:e9:3c:29:f9 on xl0 [ethernet]
16:54:06
#ping 192.168.16.126
PING 192.168.16.126 (192.168.16.126): 56 data bytes
64 bytes from 192.168.16.126: icmp_seq=0 ttl=64 time=0.488 ms
64 bytes from 192.168.16.126: icmp_seq=1 ttl=64 time=0.209 ms
64 bytes from 192.168.16.126: icmp_seq=2 ttl=64 time=0.222 ms
64 bytes from 192.168.16.126: icmp_seq=3 ttl=64 time=0.235 ms
64 bytes from 192.168.16.126: icmp_seq=4 ttl=64 time=0.242 ms
64 bytes from 192.168.16.126: icmp_seq=5 ttl=64 time=0.253 ms
64 bytes from 192.168.16.126: icmp_seq=6 ttl=64 time=0.266 ms
64 bytes from 192.168.16.126: icmp_seq=7 ttl=64 time=0.279 ms
64 bytes from 192.168.16.126: icmp_seq=8 ttl=64 time=0.292 ms
...
64 bytes from 192.168.16.126: icmp_seq=43 ttl=64 time=0.187 ms
64 bytes from 192.168.16.126: icmp_seq=44 ttl=64 time=0.197 ms
64 bytes from 192.168.16.126: icmp_seq=45 ttl=64 time=0.209 ms
64 bytes from 192.168.16.126: icmp_seq=46 ttl=64 time=0.223 ms
64 bytes from 192.168.16.126: icmp_seq=47 ttl=64 time=0.231 ms
64 bytes from 192.168.16.126: icmp_seq=48 ttl=64 time=0.241 ms
^C
--- 192.168.16.126 ping statistics ---
49 packets transmitted, 49 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.185/0.249/0.488/0.049 ms
16:55:23
#ping 192.168.15.243
PING 192.168.15.243 (192.168.15.243): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
...
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
^C
--- 192.168.15.243 ping statistics ---
30 packets transmitted, 0 packets received, 100% packet loss
16:58:53
#ping 192.168.15.243
PING 192.168.15.243 (192.168.15.243): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
...
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
^C
--- 192.168.15.243 ping statistics ---
22 packets transmitted, 0 packets received, 100% packet loss
16:59:20
#tcpdump -n -i em0 -p icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on em0, link-type EN10MB (Ethernet), capture size 96 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
17:00:09
#tcpdump -n -i xl-p icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on xl0, link-type EN10MB (Ethernet), capture size 96 bytes
17:00:16.388723 IP 192.168.16.1 > 192.168.15.243: ICMP echo request, id 62321, seq 102, length 64
17:00:16.388780 IP 192.168.16.62 > 192.168.16.1: ICMP host 192.168.15.243 unreachable, length 36
17:00:16.389256 IP 192.168.16.62 > 192.168.16.1: ICMP host 192.168.15.180 unreachable, length 36
17:00:16.389556 IP 192.168.16.62 > 192.168.16.1: ICMP host 192.168.15.180 unreachable, length 36
17:00:17.389711 IP 192.168.16.1 > 192.168.15.243: ICMP echo request, id 62321, seq 103, length 64
17:00:17.389768 IP 192.168.16.62 > 192.168.16.1: ICMP host 192.168.15.243 unreachable, length 36
17:00:17.390254 IP 192.168.16.62 > 192.168.16.1: ICMP host 192.168.15.180 unreachable, length 36
17:00:17.390556 IP 192.168.16.62 > 192.168.16.1: ICMP host 192.168.15.180 unreachable, length 36
...
17:00:45.438870 IP 192.168.16.62 > 192.168.16.1: ICMP host 192.168.15.180 unreachable, length 36
17:00:45.439185 IP 192.168.16.62 > 192.168.16.1: ICMP host 192.168.15.180 unreachable, length 36
17:00:46.439335 IP 192.168.16.1 > 192.168.15.243: ICMP echo request, id 62321, seq 132, length 64
17:00:46.439391 IP 192.168.16.62 > 192.168.16.1: ICMP host 192.168.15.243 unreachable, length 36
17:00:46.439871 IP 192.168.16.62 > 192.168.16.1: ICMP host 192.168.15.180 unreachable, length 36
17:00:46.440180 IP 192.168.16.62 > 192.168.16.1: ICMP host 192.168.15.180 unreachable, length 36
^C
132 packets captured
202 packets received by filter
0 packets dropped by kernel
17:00:47
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
10.0.15.3/32       link#2             UC          0        0    xl0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16/26      link#2             UC          0        0    xl0
192.168.16.1       00:07:e9:3c:29:f9  UHLW        1     1101    xl0    431
192.168.16.64/26   link#1             UC          0        0    em0
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01:4::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
17:00:53
#route add default 192.168.16.126
add net default: gateway 192.168.16.126
17:01:23
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.126     UGS         0        9    em0
10.0.15.3/32       link#2             UC          0        0    xl0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16/26      link#2             UC          0        0    xl0
192.168.16.1       00:07:e9:3c:29:f9  UHLW        1     1206    xl0    396
192.168.16.64/26   link#1             UC          0        0    em0
192.168.16.126     00:01:02:b4:61:97  UHLW        2        0    em0   1196
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01:4::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
17:01:28
#ping 192.168.15.243
PING 192.168.15.243 (192.168.15.243): 56 data bytes
64 bytes from 192.168.15.243: icmp_seq=0 ttl=64 time=0.247 ms
64 bytes from 192.168.15.243: icmp_seq=1 ttl=64 time=0.233 ms
^C
--- 192.168.15.243 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.233/0.240/0.247/0.007 ms
17:01:46
#ping 192.168.15.126
PING 192.168.15.126 (192.168.15.126): 56 data bytes
^C
--- 192.168.15.126 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss
17:01:57
#ping 192.168.15126
PING 192.168.15.126 (192.168.15.126): 56 data bytes
^C
--- 192.168.15.126 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
17:02:02
#ping 192.168.15.243
PING 192.168.15.243 (192.168.15.243): 56 data bytes
64 bytes from 192.168.15.243: icmp_seq=0 ttl=64 time=0.251 ms
64 bytes from 192.168.15.243: icmp_seq=1 ttl=64 time=0.303 ms
64 bytes from 192.168.15.243: icmp_seq=2 ttl=64 time=0.293 ms
64 bytes from 192.168.15.243: icmp_seq=3 ttl=64 time=0.302 ms
64 bytes from 192.168.15.243: icmp_seq=4 ttl=64 time=0.208 ms
64 bytes from 192.168.15.243: icmp_seq=5 ttl=64 time=0.224 ms
64 bytes from 192.168.15.243: icmp_seq=6 ttl=64 time=0.232 ms
64 bytes from 192.168.15.243: icmp_seq=7 ttl=64 time=0.223 ms
64 bytes from 192.168.15.243: icmp_seq=8 ttl=64 time=0.243 ms
64 bytes from 192.168.15.243: icmp_seq=9 ttl=64 time=0.259 ms
64 bytes from 192.168.15.243: icmp_seq=10 ttl=64 time=0.274 ms
64 bytes from 192.168.15.243: icmp_seq=11 ttl=64 time=0.285 ms
64 bytes from 192.168.15.243: icmp_seq=12 ttl=64 time=0.290 ms
64 bytes from 192.168.15.243: icmp_seq=13 ttl=64 time=0.307 ms
64 bytes from 192.168.15.243: icmp_seq=14 ttl=64 time=0.298 ms
64 bytes from 192.168.15.243: icmp_seq=15 ttl=64 time=0.206 ms
^C
--- 192.168.15.243 ping statistics ---
16 packets transmitted, 16 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.206/0.262/0.307/0.035 ms
17:02:23
#ping 192.168.16.180
PING 192.168.16.180 (192.168.16.180): 56 data bytes
^C
--- 192.168.16.180 ping statistics ---
164 packets transmitted, 0 packets received, 100% packet loss
17:05:32
#ping 192.168.15180
PING 192.168.15.180 (192.168.15.180): 56 data bytes
64 bytes from 192.168.15.180: icmp_seq=161 ttl=63 time=0.554 ms
64 bytes from 192.168.15.180: icmp_seq=162 ttl=63 time=0.565 ms
64 bytes from 192.168.15.180: icmp_seq=163 ttl=63 time=0.452 ms
64 bytes from 192.168.15.180: icmp_seq=164 ttl=63 time=0.463 ms
64 bytes from 192.168.15.180: icmp_seq=165 ttl=63 time=0.472 ms
64 bytes from 192.168.15.180: icmp_seq=166 ttl=63 time=0.361 ms
64 bytes from 192.168.15.180: icmp_seq=167 ttl=63 time=0.499 ms
64 bytes from 192.168.15.180: icmp_seq=168 ttl=63 time=0.510 ms
64 bytes from 192.168.15.180: icmp_seq=169 ttl=63 time=0.521 ms
...
64 bytes from 192.168.15.180: icmp_seq=181 ttl=63 time=0.531 ms
64 bytes from 192.168.15.180: icmp_seq=182 ttl=63 time=0.415 ms
64 bytes from 192.168.15.180: icmp_seq=183 ttl=63 time=0.560 ms
64 bytes from 192.168.15.180: icmp_seq=184 ttl=63 time=0.435 ms
64 bytes from 192.168.15.180: icmp_seq=185 ttl=63 time=0.571 ms
64 bytes from 192.168.15.180: icmp_seq=186 ttl=63 time=0.582 ms
^C
--- 192.168.15.180 ping statistics ---
187 packets transmitted, 26 packets received, 86% packet loss
round-trip min/avg/max/stddev = 0.361/0.505/0.600/0.059 ms
17:08:42
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.16.65 netmask 0xffffffc0 broadcast 192.168.16.127
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
прошло 14 минут
17:23:21
#ifconfig em0 192.168.16

17:23:47
#ifconfig em0 192.168.15

17:23:47
#ifconfig -a

17:23:47
#route add default 192.168.15.180
route: writing to routing socket: Network is unreachable
add net default: gateway 192.168.15.180: Network is unreachable
17:24:08
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.16.2 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
17:24:22
#ifconfig em0 192.168.15

17:24:45
#ifconfig -a

17:24:45
#route add default 192.168.15.180
add net default: gateway 192.168.15.180
17:24:48
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.2 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
17:24:56
#netstat -nr
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.15.180     UGS         0       34    em0
10.0.15.3/32       link#2             UC          0        0    xl0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.15         link#1             UC          0        0    em0
192.168.15.180     00:04:75:7f:23:26  UHLW        2        8    em0   1185
192.168.16/26      link#2             UC          0        0    xl0
192.168.16.1       00:07:e9:3c:29:f9  UHLW        1     1332    xl0    176
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01:4::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
17:25:05
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.2 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
17:30:19
#ping 192.168.15.240
PING 192.168.15.240 (192.168.15.240): 56 data bytes
64 bytes from 192.168.15.240: icmp_seq=1 ttl=255 time=0.543 ms
64 bytes from 192.168.15.240: icmp_seq=2 ttl=255 time=0.552 ms
^C
--- 192.168.15.240 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max/stddev = 0.543/0.548/0.552/0.004 ms
17:30:37
#route add default 192.168.23.2
route: writing to routing socket: File exists
add net default: gateway 192.168.23.2: route already in table
17:34:38
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.2 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000

Статистика

Время первой команды журнала13:18:22 2007- 9-10
Время последней команды журнала17:34:38 2007- 9-10
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %10.89
Процент синтаксически неверно набранных команд, % 7.92
Суммарное время работы с терминалом *, час 2.24
Количество командных строк в единицу времени, команда/мин 0.75
Частота использования команд
ifconfig44|==========================================| 42.31%
ping13|============| 12.50%
netstat9|========| 8.65%
arp5|====| 4.81%
route4|===| 3.85%
vim4|===| 3.85%
t4|===| 3.85%
sysctl3|==| 2.88%
tcpdump3|==| 2.88%
/etc/netstart3|==| 2.88%
grep2|=| 1.92%
netstart1|| 0.96%
&1|| 0.96%
ipconfig1|| 0.96%
install1|| 0.96%
cd1|| 0.96%
make1|| 0.96%
routeadd1|| 0.96%
sh1|| 0.96%
rout1|| 0.96%
su1|| 0.96%
____
*) Интервалы неактивности длительностью 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$