/l3/users/30-03-2008/fbsd-net/fbsd4.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 |
|
#ping fbsd5
PING fbsd5.unix.nt (192.168.16.25): 56 data bytes 64 bytes from 192.168.16.25: icmp_seq=0 ttl=64 time=1.612 ms 64 bytes from 192.168.16.25: icmp_seq=1 ttl=64 time=0.285 ms 64 bytes from 192.168.16.25: icmp_seq=2 ttl=64 time=0.261 ms 64 bytes from 192.168.16.25: icmp_seq=3 ttl=64 time=0.227 ms ^C --- fbsd5.unix.nt ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.227/0.596/1.612/0.587 ms |
#ping fbsd5
PING fbsd5.unix.nt (192.168.16.25): 56 data bytes 64 bytes from 192.168.16.25: icmp_seq=0 ttl=64 time=1.612 ms 64 bytes from 192.168.16.25: icmp_seq=1 ttl=64 time=0.285 ms 64 bytes from 192.168.16.25: icmp_seq=2 ttl=64 time=0.261 ms 64 bytes from 192.168.16.25: icmp_seq=3 ttl=64 time=0.227 ms ^C --- fbsd5.unix.nt ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.227/0.596/1.612/0.587 ms |
#ping fbsd5
PING fbsd5.unix.nt (192.168.16.25): 56 data bytes 64 bytes from 192.168.16.25: icmp_seq=0 ttl=64 time=1.612 ms 64 bytes from 192.168.16.25: icmp_seq=1 ttl=64 time=0.285 ms 64 bytes from 192.168.16.25: icmp_seq=2 ttl=64 time=0.261 ms 64 bytes from 192.168.16.25: icmp_seq=3 ttl=64 time=0.227 ms ^C --- fbsd5.unix.nt ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.227/0.596/1.612/0.587 ms |
#ping fbsd5
PING fbsd5.unix.nt (192.168.16.25): 56 data bytes 64 bytes from 192.168.16.25: icmp_seq=0 ttl=64 time=1.612 ms 64 bytes from 192.168.16.25: icmp_seq=1 ttl=64 time=0.285 ms 64 bytes from 192.168.16.25: icmp_seq=2 ttl=64 time=0.261 ms 64 bytes from 192.168.16.25: icmp_seq=3 ttl=64 time=0.227 ms ^C --- fbsd5.unix.nt ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.227/0.596/1.612/0.587 ms |
#ping fbsd6
PING fbsd6.unix.nt (192.168.16.26): 56 data bytes 64 bytes from 192.168.16.26: icmp_seq=0 ttl=64 time=1.660 ms 64 bytes from 192.168.16.26: icmp_seq=1 ttl=64 time=0.219 ms ^C --- fbsd6.unix.nt ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.219/0.940/1.660/0.720 ms |
#ping fbsd6
PING fbsd6.unix.nt (192.168.16.26): 56 data bytes 64 bytes from 192.168.16.26: icmp_seq=0 ttl=64 time=1.660 ms 64 bytes from 192.168.16.26: icmp_seq=1 ttl=64 time=0.219 ms ^C --- fbsd6.unix.nt ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.219/0.940/1.660/0.720 ms |
#ping fbsd6
PING fbsd6.unix.nt (192.168.16.26): 56 data bytes 64 bytes from 192.168.16.26: icmp_seq=0 ttl=64 time=1.660 ms 64 bytes from 192.168.16.26: icmp_seq=1 ttl=64 time=0.219 ms ^C --- fbsd6.unix.nt ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.219/0.940/1.660/0.720 ms |
#ping fbsd6
PING fbsd6.unix.nt (192.168.16.26): 56 data bytes 64 bytes from 192.168.16.26: icmp_seq=0 ttl=64 time=1.660 ms 64 bytes from 192.168.16.26: icmp_seq=1 ttl=64 time=0.219 ms ^C --- fbsd6.unix.nt ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.219/0.940/1.660/0.720 ms |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.22 00:16:3e:00:00:02 UHLW 1 5 re0 1153 192.168.16.25 00:16:3e:00:00:05 UHLW 1 4 re0 1165 192.168.16.26 00:16:3e:00:00:06 UHLW 1 2 re0 1174 192.168.16.213 00:14:c2:05:9e:4a UHLW 1 613 re0 470 192.168.16.254 00:04:76:a1:ef:bb UHLW 1 228 re0 1165 192.168.25.32/27 link#2 UC 0 0 re1 192.168.25.64/27 link#3 UC 0 0 re2 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 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.22 00:16:3e:00:00:02 UHLW 1 5 re0 1153 192.168.16.25 00:16:3e:00:00:05 UHLW 1 4 re0 1165 192.168.16.26 00:16:3e:00:00:06 UHLW 1 2 re0 1174 192.168.16.213 00:14:c2:05:9e:4a UHLW 1 613 re0 470 192.168.16.254 00:04:76:a1:ef:bb UHLW 1 228 re0 1165 192.168.25.32/27 link#2 UC 0 0 re1 192.168.25.64/27 link#3 UC 0 0 re2 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 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.22 00:16:3e:00:00:02 UHLW 1 5 re0 1153 192.168.16.25 00:16:3e:00:00:05 UHLW 1 4 re0 1165 192.168.16.26 00:16:3e:00:00:06 UHLW 1 2 re0 1174 192.168.16.213 00:14:c2:05:9e:4a UHLW 1 613 re0 470 192.168.16.254 00:04:76:a1:ef:bb UHLW 1 228 re0 1165 192.168.25.32/27 link#2 UC 0 0 re1 192.168.25.64/27 link#3 UC 0 0 re2 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 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.22 00:16:3e:00:00:02 UHLW 1 5 re0 1153 192.168.16.25 00:16:3e:00:00:05 UHLW 1 4 re0 1165 192.168.16.26 00:16:3e:00:00:06 UHLW 1 2 re0 1174 192.168.16.213 00:14:c2:05:9e:4a UHLW 1 613 re0 470 192.168.16.254 00:04:76:a1:ef:bb UHLW 1 228 re0 1165 192.168.25.32/27 link#2 UC 0 0 re1 192.168.25.64/27 link#3 UC 0 0 re2 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 |
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 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.25.62 netmask 0xffffffe0 broadcast 192.168.25.63 ether 00:16:3e:00:01:04 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.25.65 netmask 0xffffffe0 broadcast 192.168.25.95 ether 00:16:3e:00:02:04 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 |
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 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.25.62 netmask 0xffffffe0 broadcast 192.168.25.63 ether 00:16:3e:00:01:04 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.25.65 netmask 0xffffffe0 broadcast 192.168.25.95 ether 00:16:3e:00:02:04 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 |
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 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.25.62 netmask 0xffffffe0 broadcast 192.168.25.63 ether 00:16:3e:00:01:04 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.25.65 netmask 0xffffffe0 broadcast 192.168.25.95 ether 00:16:3e:00:02:04 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 |
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 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.25.62 netmask 0xffffffe0 broadcast 192.168.25.63 ether 00:16:3e:00:01:04 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.25.65 netmask 0xffffffe0 broadcast 192.168.25.95 ether 00:16:3e:00:02:04 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 |
#ping 192.168.25.94
PING 192.168.25.94 (192.168.25.94): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down 64 bytes from 192.168.25.94: icmp_seq=12 ttl=64 time=0.965 ms ... 64 bytes from 192.168.25.94: icmp_seq=15 ttl=64 time=0.258 ms 64 bytes from 192.168.25.94: icmp_seq=16 ttl=64 time=0.360 ms 64 bytes from 192.168.25.94: icmp_seq=17 ttl=64 time=0.260 ms 64 bytes from 192.168.25.94: icmp_seq=18 ttl=64 time=0.178 ms 64 bytes from 192.168.25.94: icmp_seq=19 ttl=64 time=0.362 ms 64 bytes from 192.168.25.94: icmp_seq=20 ttl=64 time=0.209 ms ^C --- 192.168.25.94 ping statistics --- 21 packets transmitted, 9 packets received, 57% packet loss round-trip min/avg/max/stddev = 0.178/0.347/0.965/0.228 ms |
#ping 192.168.25.94
PING 192.168.25.94 (192.168.25.94): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down 64 bytes from 192.168.25.94: icmp_seq=12 ttl=64 time=0.965 ms ... 64 bytes from 192.168.25.94: icmp_seq=15 ttl=64 time=0.258 ms 64 bytes from 192.168.25.94: icmp_seq=16 ttl=64 time=0.360 ms 64 bytes from 192.168.25.94: icmp_seq=17 ttl=64 time=0.260 ms 64 bytes from 192.168.25.94: icmp_seq=18 ttl=64 time=0.178 ms 64 bytes from 192.168.25.94: icmp_seq=19 ttl=64 time=0.362 ms 64 bytes from 192.168.25.94: icmp_seq=20 ttl=64 time=0.209 ms ^C --- 192.168.25.94 ping statistics --- 21 packets transmitted, 9 packets received, 57% packet loss round-trip min/avg/max/stddev = 0.178/0.347/0.965/0.228 ms |
#ping 192.168.25.94
PING 192.168.25.94 (192.168.25.94): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down 64 bytes from 192.168.25.94: icmp_seq=12 ttl=64 time=0.965 ms ... 64 bytes from 192.168.25.94: icmp_seq=15 ttl=64 time=0.258 ms 64 bytes from 192.168.25.94: icmp_seq=16 ttl=64 time=0.360 ms 64 bytes from 192.168.25.94: icmp_seq=17 ttl=64 time=0.260 ms 64 bytes from 192.168.25.94: icmp_seq=18 ttl=64 time=0.178 ms 64 bytes from 192.168.25.94: icmp_seq=19 ttl=64 time=0.362 ms 64 bytes from 192.168.25.94: icmp_seq=20 ttl=64 time=0.209 ms ^C --- 192.168.25.94 ping statistics --- 21 packets transmitted, 9 packets received, 57% packet loss round-trip min/avg/max/stddev = 0.178/0.347/0.965/0.228 ms |
#ping 192.168.25.94
PING 192.168.25.94 (192.168.25.94): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down 64 bytes from 192.168.25.94: icmp_seq=12 ttl=64 time=0.965 ms ... 64 bytes from 192.168.25.94: icmp_seq=15 ttl=64 time=0.258 ms 64 bytes from 192.168.25.94: icmp_seq=16 ttl=64 time=0.360 ms 64 bytes from 192.168.25.94: icmp_seq=17 ttl=64 time=0.260 ms 64 bytes from 192.168.25.94: icmp_seq=18 ttl=64 time=0.178 ms 64 bytes from 192.168.25.94: icmp_seq=19 ttl=64 time=0.362 ms 64 bytes from 192.168.25.94: icmp_seq=20 ttl=64 time=0.209 ms ^C --- 192.168.25.94 ping statistics --- 21 packets transmitted, 9 packets received, 57% packet loss round-trip min/avg/max/stddev = 0.178/0.347/0.965/0.228 ms |
#tcpdump -n -i re1 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes 14:46:05.331496 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 57, length 64 14:46:07.132712 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 58, length 64 14:46:08.709959 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 59, length 64 14:46:10.510337 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 60, length 64 14:46:11.831174 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 61, length 64 14:46:13.632474 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 62, length 64 14:46:15.433782 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 63, length 64 14:46:17.234929 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 64, length 64 ... 14:46:37.049086 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 75, length 64 14:46:38.850254 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 76, length 64 14:46:40.651597 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 77, length 64 14:46:42.452888 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 78, length 64 14:46:44.254129 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 79, length 64 14:46:46.055525 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 80, length 64 ^C 24 packets captured 24 packets received by filter 0 packets dropped by kernel |
#tcpdump -n -i re1 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes 14:46:05.331496 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 57, length 64 14:46:07.132712 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 58, length 64 14:46:08.709959 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 59, length 64 14:46:10.510337 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 60, length 64 14:46:11.831174 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 61, length 64 14:46:13.632474 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 62, length 64 14:46:15.433782 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 63, length 64 14:46:17.234929 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 64, length 64 ... 14:46:37.049086 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 75, length 64 14:46:38.850254 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 76, length 64 14:46:40.651597 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 77, length 64 14:46:42.452888 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 78, length 64 14:46:44.254129 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 79, length 64 14:46:46.055525 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 80, length 64 ^C 24 packets captured 24 packets received by filter 0 packets dropped by kernel |
#tcpdump -n -i re1 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes 14:46:05.331496 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 57, length 64 14:46:07.132712 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 58, length 64 14:46:08.709959 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 59, length 64 14:46:10.510337 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 60, length 64 14:46:11.831174 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 61, length 64 14:46:13.632474 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 62, length 64 14:46:15.433782 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 63, length 64 14:46:17.234929 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 64, length 64 ... 14:46:37.049086 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 75, length 64 14:46:38.850254 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 76, length 64 14:46:40.651597 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 77, length 64 14:46:42.452888 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 78, length 64 14:46:44.254129 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 79, length 64 14:46:46.055525 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 80, length 64 ^C 24 packets captured 24 packets received by filter 0 packets dropped by kernel |
#tcpdump -n -i re1 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes 14:46:05.331496 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 57, length 64 14:46:07.132712 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 58, length 64 14:46:08.709959 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 59, length 64 14:46:10.510337 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 60, length 64 14:46:11.831174 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 61, length 64 14:46:13.632474 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 62, length 64 14:46:15.433782 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 63, length 64 14:46:17.234929 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 64, length 64 ... 14:46:37.049086 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 75, length 64 14:46:38.850254 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 76, length 64 14:46:40.651597 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 77, length 64 14:46:42.452888 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 78, length 64 14:46:44.254129 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 79, length 64 14:46:46.055525 IP 192.168.25.1 > 192.168.25.62: ICMP echo request, id 6262, seq 80, length 64 ^C 24 packets captured 24 packets received by filter 0 packets dropped by kernel |
#route add -net 192.168.25.0/27 gw 192.168.25.33/27
route: bad address: gw |
#route add -net 192.168.25.0/27 gw 192.168.25.33/27
route: bad address: gw |
#route add -net 192.168.25.0/27 gw 192.168.25.33/27
route: bad address: gw |
#route add -net 192.168.25.0/27 gw 192.168.25.33/27
route: bad address: gw |
#route add -net 192.168.25.0/27 192.168.25.33/27
route: bad address: 192.168.25.33/27 |
#route add -net 192.168.25.0/27 192.168.25.33/27
route: bad address: 192.168.25.33/27 |
#route add -net 192.168.25.0/27 192.168.25.33/27
route: bad address: 192.168.25.33/27 |
#route add -net 192.168.25.0/27 192.168.25.33/27
route: bad address: 192.168.25.33/27 |
#route add -net 192.168.25.0/27 192.168.25.33
add net 192.168.25.0: gateway 192.168.25.33 |
#route add -net 192.168.25.0/27 192.168.25.33
add net 192.168.25.0: gateway 192.168.25.33 |
#route add -net 192.168.25.0/27 192.168.25.33
add net 192.168.25.0: gateway 192.168.25.33 |
#route add -net 192.168.25.0/27 192.168.25.33
add net 192.168.25.0: gateway 192.168.25.33 |
#sysctl net.inet.ip.forwarding=1
net.inet.ip.forwarding: 0 -> 1 |
#sysctl net.inet.ip.forwarding=1
net.inet.ip.forwarding: 0 -> 1 |
#sysctl net.inet.ip.forwarding=1
net.inet.ip.forwarding: 0 -> 1 |
#sysctl net.inet.ip.forwarding=1
net.inet.ip.forwarding: 0 -> 1 |
#tcpdump -n -i re1 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes 14:51:08.636473 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 72 14:51:12.201236 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 72 14:51:14.394711 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 72 14:51:17.959365 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 56 14:51:20.153006 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 56 14:51:21.373159 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:51:21.380911 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:51:23.717779 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 56 ... 14:52:07.444742 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:07.460880 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:13.203036 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:13.219153 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:18.961298 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 56 14:52:18.977386 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 56 ^C 35 packets captured 72 packets received by filter 0 packets dropped by kernel |
#tcpdump -n -i re1 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes 14:51:08.636473 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 72 14:51:12.201236 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 72 14:51:14.394711 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 72 14:51:17.959365 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 56 14:51:20.153006 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 56 14:51:21.373159 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:51:21.380911 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:51:23.717779 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 56 ... 14:52:07.444742 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:07.460880 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:13.203036 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:13.219153 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:18.961298 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 56 14:52:18.977386 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 56 ^C 35 packets captured 72 packets received by filter 0 packets dropped by kernel |
#tcpdump -n -i re1 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes 14:51:08.636473 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 72 14:51:12.201236 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 72 14:51:14.394711 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 72 14:51:17.959365 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 56 14:51:20.153006 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 56 14:51:21.373159 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:51:21.380911 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:51:23.717779 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 56 ... 14:52:07.444742 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:07.460880 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:13.203036 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:13.219153 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:18.961298 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 56 14:52:18.977386 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 56 ^C 35 packets captured 72 packets received by filter 0 packets dropped by kernel |
#tcpdump -n -i re1 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes 14:51:08.636473 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 72 14:51:12.201236 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 72 14:51:14.394711 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 72 14:51:17.959365 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 56 14:51:20.153006 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 56 14:51:21.373159 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:51:21.380911 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:51:23.717779 IP 192.168.25.62 > 192.168.25.1: ICMP host 194.150.93.78 unreachable, length 56 ... 14:52:07.444742 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:07.460880 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:13.203036 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:13.219153 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 72 14:52:18.961298 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 56 14:52:18.977386 IP 192.168.25.62 > 192.168.25.33: ICMP host 194.150.93.78 unreachable, length 56 ^C 35 packets captured 72 packets received by filter 0 packets dropped by kernel |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.22 00:16:3e:00:00:02 UHLW 1 5 re0 102 192.168.16.25 00:16:3e:00:00:05 UHLW 1 4 re0 114 192.168.16.26 00:16:3e:00:00:06 UHLW 1 2 re0 123 192.168.16.213 00:14:c2:05:9e:4a UHLW 1 869 re0 1196 192.168.16.254 00:04:76:a1:ef:bb UHLW 1 348 re0 1160 ... 192.168.25.33 00:16:3e:00:02:05 UHLW 2 54 re1 470 192.168.25.64/27 link#3 UC 0 0 re2 192.168.25.94 00:16:3e:00:01:03 UHLW 1 21 re2 513 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 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.22 00:16:3e:00:00:02 UHLW 1 5 re0 102 192.168.16.25 00:16:3e:00:00:05 UHLW 1 4 re0 114 192.168.16.26 00:16:3e:00:00:06 UHLW 1 2 re0 123 192.168.16.213 00:14:c2:05:9e:4a UHLW 1 869 re0 1196 192.168.16.254 00:04:76:a1:ef:bb UHLW 1 348 re0 1160 ... 192.168.25.33 00:16:3e:00:02:05 UHLW 2 54 re1 470 192.168.25.64/27 link#3 UC 0 0 re2 192.168.25.94 00:16:3e:00:01:03 UHLW 1 21 re2 513 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 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.22 00:16:3e:00:00:02 UHLW 1 5 re0 102 192.168.16.25 00:16:3e:00:00:05 UHLW 1 4 re0 114 192.168.16.26 00:16:3e:00:00:06 UHLW 1 2 re0 123 192.168.16.213 00:14:c2:05:9e:4a UHLW 1 869 re0 1196 192.168.16.254 00:04:76:a1:ef:bb UHLW 1 348 re0 1160 ... 192.168.25.33 00:16:3e:00:02:05 UHLW 2 54 re1 470 192.168.25.64/27 link#3 UC 0 0 re2 192.168.25.94 00:16:3e:00:01:03 UHLW 1 21 re2 513 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 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.22 00:16:3e:00:00:02 UHLW 1 5 re0 102 192.168.16.25 00:16:3e:00:00:05 UHLW 1 4 re0 114 192.168.16.26 00:16:3e:00:00:06 UHLW 1 2 re0 123 192.168.16.213 00:14:c2:05:9e:4a UHLW 1 869 re0 1196 192.168.16.254 00:04:76:a1:ef:bb UHLW 1 348 re0 1160 ... 192.168.25.33 00:16:3e:00:02:05 UHLW 2 54 re1 470 192.168.25.64/27 link#3 UC 0 0 re2 192.168.25.94 00:16:3e:00:01:03 UHLW 1 21 re2 513 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 |
#route add default 192.168.25.4
add net default: gateway 192.168.25.94 |
#route add default 192.168.25.4
add net default: gateway 192.168.25.94 |
#route add default 192.168.25.4
add net default: gateway 192.168.25.94 |
#route add default 192.168.25.4
add net default: gateway 192.168.25.94 |
#ping 192.168.25.158
PING 192.168.25.158 (192.168.25.158): 56 data bytes 64 bytes from 192.168.25.158: icmp_seq=42 ttl=62 time=1.811 ms 64 bytes from 192.168.25.158: icmp_seq=43 ttl=62 time=1.856 ms 64 bytes from 192.168.25.158: icmp_seq=44 ttl=62 time=1.765 ms 64 bytes from 192.168.25.158: icmp_seq=45 ttl=62 time=1.893 ms 64 bytes from 192.168.25.158: icmp_seq=46 ttl=62 time=1.965 ms 64 bytes from 192.168.25.158: icmp_seq=47 ttl=62 time=1.795 ms 64 bytes from 192.168.25.158: icmp_seq=48 ttl=62 time=1.814 ms 64 bytes from 192.168.25.158: icmp_seq=49 ttl=62 time=1.825 ms 64 bytes from 192.168.25.158: icmp_seq=50 ttl=62 time=1.783 ms 64 bytes from 192.168.25.158: icmp_seq=51 ttl=62 time=1.838 ms 64 bytes from 192.168.25.158: icmp_seq=52 ttl=62 time=1.792 ms 64 bytes from 192.168.25.158: icmp_seq=53 ttl=62 time=1.823 ms 64 bytes from 192.168.25.158: icmp_seq=54 ttl=62 time=1.800 ms ^C --- 192.168.25.158 ping statistics --- 55 packets transmitted, 13 packets received, 76% packet loss round-trip min/avg/max/stddev = 1.765/1.828/1.965/0.051 ms |
#ping 192.168.25.158
PING 192.168.25.158 (192.168.25.158): 56 data bytes 64 bytes from 192.168.25.158: icmp_seq=42 ttl=62 time=1.811 ms 64 bytes from 192.168.25.158: icmp_seq=43 ttl=62 time=1.856 ms 64 bytes from 192.168.25.158: icmp_seq=44 ttl=62 time=1.765 ms 64 bytes from 192.168.25.158: icmp_seq=45 ttl=62 time=1.893 ms 64 bytes from 192.168.25.158: icmp_seq=46 ttl=62 time=1.965 ms 64 bytes from 192.168.25.158: icmp_seq=47 ttl=62 time=1.795 ms 64 bytes from 192.168.25.158: icmp_seq=48 ttl=62 time=1.814 ms 64 bytes from 192.168.25.158: icmp_seq=49 ttl=62 time=1.825 ms 64 bytes from 192.168.25.158: icmp_seq=50 ttl=62 time=1.783 ms 64 bytes from 192.168.25.158: icmp_seq=51 ttl=62 time=1.838 ms 64 bytes from 192.168.25.158: icmp_seq=52 ttl=62 time=1.792 ms 64 bytes from 192.168.25.158: icmp_seq=53 ttl=62 time=1.823 ms 64 bytes from 192.168.25.158: icmp_seq=54 ttl=62 time=1.800 ms ^C --- 192.168.25.158 ping statistics --- 55 packets transmitted, 13 packets received, 76% packet loss round-trip min/avg/max/stddev = 1.765/1.828/1.965/0.051 ms |
#ping 192.168.25.158
PING 192.168.25.158 (192.168.25.158): 56 data bytes 64 bytes from 192.168.25.158: icmp_seq=42 ttl=62 time=1.811 ms 64 bytes from 192.168.25.158: icmp_seq=43 ttl=62 time=1.856 ms 64 bytes from 192.168.25.158: icmp_seq=44 ttl=62 time=1.765 ms 64 bytes from 192.168.25.158: icmp_seq=45 ttl=62 time=1.893 ms 64 bytes from 192.168.25.158: icmp_seq=46 ttl=62 time=1.965 ms 64 bytes from 192.168.25.158: icmp_seq=47 ttl=62 time=1.795 ms 64 bytes from 192.168.25.158: icmp_seq=48 ttl=62 time=1.814 ms 64 bytes from 192.168.25.158: icmp_seq=49 ttl=62 time=1.825 ms 64 bytes from 192.168.25.158: icmp_seq=50 ttl=62 time=1.783 ms 64 bytes from 192.168.25.158: icmp_seq=51 ttl=62 time=1.838 ms 64 bytes from 192.168.25.158: icmp_seq=52 ttl=62 time=1.792 ms 64 bytes from 192.168.25.158: icmp_seq=53 ttl=62 time=1.823 ms 64 bytes from 192.168.25.158: icmp_seq=54 ttl=62 time=1.800 ms ^C --- 192.168.25.158 ping statistics --- 55 packets transmitted, 13 packets received, 76% packet loss round-trip min/avg/max/stddev = 1.765/1.828/1.965/0.051 ms |
#ping 192.168.25.158
PING 192.168.25.158 (192.168.25.158): 56 data bytes 64 bytes from 192.168.25.158: icmp_seq=42 ttl=62 time=1.811 ms 64 bytes from 192.168.25.158: icmp_seq=43 ttl=62 time=1.856 ms 64 bytes from 192.168.25.158: icmp_seq=44 ttl=62 time=1.765 ms 64 bytes from 192.168.25.158: icmp_seq=45 ttl=62 time=1.893 ms 64 bytes from 192.168.25.158: icmp_seq=46 ttl=62 time=1.965 ms 64 bytes from 192.168.25.158: icmp_seq=47 ttl=62 time=1.795 ms 64 bytes from 192.168.25.158: icmp_seq=48 ttl=62 time=1.814 ms 64 bytes from 192.168.25.158: icmp_seq=49 ttl=62 time=1.825 ms 64 bytes from 192.168.25.158: icmp_seq=50 ttl=62 time=1.783 ms 64 bytes from 192.168.25.158: icmp_seq=51 ttl=62 time=1.838 ms 64 bytes from 192.168.25.158: icmp_seq=52 ttl=62 time=1.792 ms 64 bytes from 192.168.25.158: icmp_seq=53 ttl=62 time=1.823 ms 64 bytes from 192.168.25.158: icmp_seq=54 ttl=62 time=1.800 ms ^C --- 192.168.25.158 ping statistics --- 55 packets transmitted, 13 packets received, 76% packet loss round-trip min/avg/max/stddev = 1.765/1.828/1.965/0.051 ms |
#/etc/netstart
devd already running? (pid=669). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 media: Ethernet autoselect (100baseTX <full-duplex>) status: active route: writing to routing socket: File exists add net default: gateway 192.168.16.254: route already in table Additional routing options:. |
#/etc/netstart
devd already running? (pid=669). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 media: Ethernet autoselect (100baseTX <full-duplex>) status: active route: writing to routing socket: File exists add net default: gateway 192.168.16.254: route already in table Additional routing options:. |
#/etc/netstart
devd already running? (pid=669). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 media: Ethernet autoselect (100baseTX <full-duplex>) status: active route: writing to routing socket: File exists add net default: gateway 192.168.16.254: route already in table Additional routing options:. |
#/etc/netstart
devd already running? (pid=669). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 media: Ethernet autoselect (100baseTX <full-duplex>) status: active route: writing to routing socket: File exists add net default: gateway 192.168.16.254: route already in table Additional routing options:. |
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 11e0 0 0000 3f 01 ee22 192.168.25.65 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 11e4 0 0000 3f 01 ee1e 192.168.25.65 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 11e7 0 0000 3f 01 ee1b 192.168.25.65 213.180.204.8 ... 4 5 00 5400 122d 0 0000 3f 01 edd5 192.168.25.65 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 1230 0 0000 3f 01 edd2 192.168.25.65 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 1235 0 0000 3f 01 edcd 192.168.25.65 213.180.204.8 ^[[A^C --- ya.ru ping statistics --- 46 packets transmitted, 0 packets received, 100% packet loss |
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 11e0 0 0000 3f 01 ee22 192.168.25.65 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 11e4 0 0000 3f 01 ee1e 192.168.25.65 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 11e7 0 0000 3f 01 ee1b 192.168.25.65 213.180.204.8 ... 4 5 00 5400 122d 0 0000 3f 01 edd5 192.168.25.65 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 1230 0 0000 3f 01 edd2 192.168.25.65 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 1235 0 0000 3f 01 edcd 192.168.25.65 213.180.204.8 ^[[A^C --- ya.ru ping statistics --- 46 packets transmitted, 0 packets received, 100% packet loss |
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 11e0 0 0000 3f 01 ee22 192.168.25.65 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 11e4 0 0000 3f 01 ee1e 192.168.25.65 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 11e7 0 0000 3f 01 ee1b 192.168.25.65 213.180.204.8 ... 4 5 00 5400 122d 0 0000 3f 01 edd5 192.168.25.65 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 1230 0 0000 3f 01 edd2 192.168.25.65 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 1235 0 0000 3f 01 edcd 192.168.25.65 213.180.204.8 ^[[A^C --- ya.ru ping statistics --- 46 packets transmitted, 0 packets received, 100% packet loss |
#/etc/rc.d/netif restart
Stopping network: lo0 re0 re1 re2 plip0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
#/etc/rc.d/netif restart
Stopping network: lo0 re0 re1 re2 plip0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
#/etc/rc.d/netif restart
Stopping network: lo0 re0 re1 re2 plip0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
#/etc/netstart
devd already running? (pid=669). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 Additional routing options:. |
#/etc/netstart
devd already running? (pid=669). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 Additional routing options:. |
#/etc/netstart
devd already running? (pid=669). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 Additional routing options:. |
#ping ukr.net
PING ukr.net (195.214.195.105): 56 data bytes 64 bytes from 195.214.195.105: icmp_seq=0 ttl=55 time=11.133 ms ^C --- ukr.net ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 11.133/11.133/11.133/0.000 ms |
#ping ukr.net
PING ukr.net (195.214.195.105): 56 data bytes 64 bytes from 195.214.195.105: icmp_seq=0 ttl=55 time=11.133 ms ^C --- ukr.net ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 11.133/11.133/11.133/0.000 ms |
#ping ukr.net
PING ukr.net (195.214.195.105): 56 data bytes 64 bytes from 195.214.195.105: icmp_seq=0 ttl=55 time=11.133 ms ^C --- ukr.net ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 11.133/11.133/11.133/0.000 ms |
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.24 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:04 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:3e:00:01:04 media: Ethernet autoselect (100baseTX <full-duplex>) ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:3e:00:02:04 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 õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#socksstat -4l
bash: socksstat: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#sockstats-4l
bash: sockstats: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#sockstat -4l
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root Xvnc 75554 1 tcp4 *:5900 *:* root sendmail 905 4 tcp4 127.0.0.1:25 *:* root sshd 899 4 tcp4 *:22 *:* root syslogd 740 7 udp4 *:514 *:* |
#ping fbsd1
PING fbsd1.unix.nt (192.168.16.21): 56 data bytes 64 bytes from 192.168.16.21: icmp_seq=0 ttl=64 time=1.549 ms 64 bytes from 192.168.16.21: icmp_seq=1 ttl=64 time=0.243 ms 64 bytes from 192.168.16.21: icmp_seq=2 ttl=64 time=0.174 ms 64 bytes from 192.168.16.21: icmp_seq=3 ttl=64 time=0.252 ms ^C --- fbsd1.unix.nt ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.174/0.554/1.549/0.575 ms |
#ping fbsd3
PING fbsd3.unix.nt (192.168.16.23): 56 data bytes 64 bytes from 192.168.16.23: icmp_seq=0 ttl=64 time=1.696 ms 64 bytes from 192.168.16.23: icmp_seq=1 ttl=64 time=0.204 ms 64 bytes from 192.168.16.23: icmp_seq=2 ttl=64 time=0.236 ms ^C --- fbsd3.unix.nt ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.204/0.712/1.696/0.696 ms |
#traceroute fbsd1
traceroute to fbsd1.unix.nt (192.168.16.21), 64 hops max, 40 byte packets 1 fbsd1 (192.168.16.21) 0.446 ms 0.674 ms 0.993 ms |
#man nowait
|
#pkg_add -r nmap
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/Latest/nmap.tbz... Done. |
#nmap -p * 'ukrzdrav.info'
Starting Nmap 4.20 ( http://insecure.org ) at 2008-04-01 08:10 UTC Error #485: Your port specifications are illegal. Example of proper form: "-100,200-1024,T:3000-4000,U:60000-" QUITTING! |
#nmap -p *.*ukrzdrav.info'
Starting Nmap 4.20 ( http://insecure.org ) at 2008-04-01 08:10 UTC Error #485: Your port specifications are illegal. Example of proper form: "-100,200-1024,T:3000-4000,U:60000-" QUITTING! |
#nmap -p 1-65500rav.info'
Starting Nmap 4.20 ( http://insecure.org ) at 2008-04-01 08:11 UTC caught SIGINT signal, cleaning up |
#nmap -p 1-25krzdrav.info'
Starting Nmap 4.20 ( http://insecure.org ) at 2008-04-01 08:12 UTC Interesting ports on viper.freehost.com.ua (194.0.200.7): PORT STATE SERVICE 1/tcp filtered tcpmux 2/tcp filtered compressnet 3/tcp filtered compressnet 4/tcp filtered unknown 5/tcp filtered rje 6/tcp filtered unknown 7/tcp filtered echo ... 17/tcp filtered qotd 18/tcp filtered msp 19/tcp filtered chargen 20/tcp closed ftp-data 21/tcp open ftp 22/tcp open ssh 23/tcp filtered telnet 24/tcp filtered priv-mail 25/tcp filtered smtp Nmap finished: 1 IP address (1 host up) scanned in 8.748 seconds |
#pkg_add -r mc
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/Latest/mc.tbz... Done. |
#mc
|
#nmap -p 1-100 195.140.168.179
Starting Nmap 4.20 ( http://insecure.org ) at 2008-04-01 08:24 UTC Interesting ports on shota39-41-profzdrav2.skif.com.ua (195.140.168.179): Not shown: 97 filtered ports PORT STATE SERVICE 21/tcp open ftp 25/tcp open smtp 80/tcp open http Nmap finished: 1 IP address (1 host up) scanned in 17.150 seconds |
#nmap -p 1-100 195.140.168.179
Starting Nmap 4.20 ( http://insecure.org ) at 2008-04-01 08:24 UTC Interesting ports on shota39-41-profzdrav2.skif.com.ua (195.140.168.179): Not shown: 97 filtered ports PORT STATE SERVICE 21/tcp open ftp 25/tcp open smtp 80/tcp open http Nmap finished: 1 IP address (1 host up) scanned in 17.150 seconds |
#nmap -p 1-100 195.140.168.179
Starting Nmap 4.20 ( http://insecure.org ) at 2008-04-01 08:24 UTC Interesting ports on shota39-41-profzdrav2.skif.com.ua (195.140.168.179): Not shown: 97 filtered ports PORT STATE SERVICE 21/tcp open ftp 25/tcp open smtp 80/tcp open http Nmap finished: 1 IP address (1 host up) scanned in 17.150 seconds |
#nmap -p 1-1000195.140.168.179
Starting Nmap 4.20 ( http://insecure.org ) at 2008-04-01 08:24 UTC Interesting ports on shota39-41-profzdrav2.skif.com.ua (195.140.168.179): Not shown: 995 filtered ports PORT STATE SERVICE 21/tcp open ftp 25/tcp open smtp 80/tcp open http 110/tcp open pop3 443/tcp closed https Nmap finished: 1 IP address (1 host up) scanned in 241.491 seconds |
#LANG=C
|
#LANG=C
|
#LANG=C
|
#mc
|
#top
last pid: 81743; load averages: 0.00, 0.00, 0.00 up 3+14:56:15 08:40:04 27 processes: 1 running, 26 sleeping CPU states: % user, % nice, % system, % interrupt, % idle Mem: 46M Active, 213M Inact, 135M Wired, 111M Buf, 598M Free Swap: 2015M Total, 2015M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 867 root 1 96 0 34296K 22388K select 1:11 0.00% gdm-binary 983 root 1 8 0 9388K 8032K nanslp 0:35 0.00% perl5.8.8 1087 user 1 8 0 8292K 7064K nanslp 0:25 0.00% perl5.8.8 75938 root 1 8 0 9452K 8116K nanslp 0:18 0.00% perl5.8.8 ... 918 root 1 8 0 1396K 1100K nanslp 0:01 0.00% cron 75928 root 1 96 0 6280K 3292K select 0:01 0.00% sshd 75975 root 1 8 0 3332K 2204K wait 0:01 0.00% bash 75932 root 1 96 0 1348K 936K select 0:00 0.00% script 799 root 1 96 0 1296K 824K select 0:00 0.00% usbd 75554 root 1 96 0 7284K 6184K select 0:00 0.00% Xvnc 909 smmsp 1 20 0 3408K 2752K pause 0:00 0.00% sendmail 75553 root 1 -8 0 34324K 22700K piperd 0:00 0.00% gdm-binary 806 root 1 96 0 1436K 892K select 0:00 0.00% moused 899 root 1 96 0 3552K 2672K select 0:00 0.00% sshd |
#top
last pid: 81743; load averages: 0.00, 0.00, 0.00 up 3+14:56:15 08:40:04 27 processes: 1 running, 26 sleeping CPU states: % user, % nice, % system, % interrupt, % idle Mem: 46M Active, 213M Inact, 135M Wired, 111M Buf, 598M Free Swap: 2015M Total, 2015M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 867 root 1 96 0 34296K 22388K select 1:11 0.00% gdm-binary 983 root 1 8 0 9388K 8032K nanslp 0:35 0.00% perl5.8.8 1087 user 1 8 0 8292K 7064K nanslp 0:25 0.00% perl5.8.8 75938 root 1 8 0 9452K 8116K nanslp 0:18 0.00% perl5.8.8 ... 918 root 1 8 0 1396K 1100K nanslp 0:01 0.00% cron 75928 root 1 96 0 6280K 3292K select 0:01 0.00% sshd 75975 root 1 8 0 3332K 2204K wait 0:01 0.00% bash 75932 root 1 96 0 1348K 936K select 0:00 0.00% script 799 root 1 96 0 1296K 824K select 0:00 0.00% usbd 75554 root 1 96 0 7284K 6184K select 0:00 0.00% Xvnc 909 smmsp 1 20 0 3408K 2752K pause 0:00 0.00% sendmail 75553 root 1 -8 0 34324K 22700K piperd 0:00 0.00% gdm-binary 806 root 1 96 0 1436K 892K select 0:00 0.00% moused 899 root 1 96 0 3552K 2672K select 0:00 0.00% sshd |
#top
last pid: 81743; load averages: 0.00, 0.00, 0.00 up 3+14:56:15 08:40:04 27 processes: 1 running, 26 sleeping CPU states: % user, % nice, % system, % interrupt, % idle Mem: 46M Active, 213M Inact, 135M Wired, 111M Buf, 598M Free Swap: 2015M Total, 2015M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 867 root 1 96 0 34296K 22388K select 1:11 0.00% gdm-binary 983 root 1 8 0 9388K 8032K nanslp 0:35 0.00% perl5.8.8 1087 user 1 8 0 8292K 7064K nanslp 0:25 0.00% perl5.8.8 75938 root 1 8 0 9452K 8116K nanslp 0:18 0.00% perl5.8.8 ... 918 root 1 8 0 1396K 1100K nanslp 0:01 0.00% cron 75928 root 1 96 0 6280K 3292K select 0:01 0.00% sshd 75975 root 1 8 0 3332K 2204K wait 0:01 0.00% bash 75932 root 1 96 0 1348K 936K select 0:00 0.00% script 799 root 1 96 0 1296K 824K select 0:00 0.00% usbd 75554 root 1 96 0 7284K 6184K select 0:00 0.00% Xvnc 909 smmsp 1 20 0 3408K 2752K pause 0:00 0.00% sendmail 75553 root 1 -8 0 34324K 22700K piperd 0:00 0.00% gdm-binary 806 root 1 96 0 1436K 892K select 0:00 0.00% moused 899 root 1 96 0 3552K 2672K select 0:00 0.00% sshd |
# 962 root 1 5 0 1352K 936K ttyin 0:00 0.00% getty
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/Latest/xinetd.tbz... Done. |
# 962 root 1 5 0 1352K 936K ttyin 0:00 0.00% getty
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/Latest/xinetd.tbz... Done. |
# 962 root 1 5 0 1352K 936K ttyin 0:00 0.00% getty
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/Latest/xinetd.tbz... Done. |
Время первой команды журнала | 17:34:27 2008- 3-31 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 11:40:07 2008- 4- 1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 14.85 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 1.98 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.46 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.15 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008