/l3/users/18-01-2010/nt-fbsdnet/fbsd2.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 |
|
#shutdown -p now
Shutdown NOW! shutdown: [pid 945] |
#ping 192.168.65.94
PING 192.168.65.94 (192.168.65.94): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ^C --- 192.168.65.94 ping statistics --- 7 packets transmitted, 0 packets received, 100% packet loss |
#ifconfig re2
re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
#ifconfig re1
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.65.65 netmask 0xffffffe0 broadcast 192.168.65.95 ether 00:16:4e:00:01:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
#ifconfig re2192.168.65.65 netmask 255.255.255.224
|
#ifconfig re1 0.0.0.0
|
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255 ether 00:16:4e:00:01:02 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.65.65 netmask 0xffffffe0 broadcast 192.168.65.95 ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ping 192.168.65.94
PING 192.168.65.94 (192.168.65.94): 56 data bytes 64 bytes from 192.168.65.94: icmp_seq=0 ttl=64 time=0.966 ms 64 bytes from 192.168.65.94: icmp_seq=1 ttl=64 time=0.858 ms 64 bytes from 192.168.65.94: icmp_seq=2 ttl=64 time=0.364 ms 64 bytes from 192.168.65.94: icmp_seq=3 ttl=64 time=0.351 ms ^C --- 192.168.65.94 ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.351/0.635/0.966/0.280 ms |
#ipconfig
bash: ipconfig: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255 ether 00:16:4e:00:01:02 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.65.65 netmask 0xffffffe0 broadcast 192.168.65.95 ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig re1 inet 192.168.65.62 netmask 255.255.255.224
|
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.65.62 netmask 0xffffffe0 broadcast 192.168.65.63 ether 00:16:4e:00:01:02 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.65.65 netmask 0xffffffe0 broadcast 192.168.65.95 ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ssh 192.168.16.23
The authenticity of host '192.168.16.23 (192.168.16.23)' can't be established. DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.23' (DSA) to the list of known hosts. Password: Last login: Fri Jul 24 16:47:36 2009 from debian.net.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! ... along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. |
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:03 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 re1 inet 192.168.65.30 netmask 255.255.255.224
|
#ifconfig re2 inet 192.168.65.33tmask 255.255.255.224
|
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:03 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.65.30 netmask 0xffffffe0 broadcast 192.168.65.31 ether 00:16:4e:00:01:03 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.65.33 netmask 0xffffffe0 broadcast 192.168.65.63 ether 00:16:4e:00:02:03 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.65.33
PING 192.168.65.33 (192.168.65.33): 56 data bytes 64 bytes from 192.168.65.33: icmp_seq=0 ttl=64 time=0.062 ms 64 bytes from 192.168.65.33: icmp_seq=1 ttl=64 time=0.060 ms 64 bytes from 192.168.65.33: icmp_seq=2 ttl=64 time=0.074 ms 64 bytes from 192.168.65.33: icmp_seq=3 ttl=64 time=0.076 ms 64 bytes from 192.168.65.33: icmp_seq=4 ttl=64 time=0.079 ms 64 bytes from 192.168.65.33: icmp_seq=5 ttl=64 time=0.063 ms 64 bytes from 192.168.65.33: icmp_seq=6 ttl=64 time=0.062 ms ^C --- 192.168.65.33 ping statistics --- 7 packets transmitted, 7 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.060/0.068/0.079/0.007 ms |
#ping 192.168.65.62
PING 192.168.65.62 (192.168.65.62): 56 data bytes 64 bytes from 192.168.65.62: icmp_seq=0 ttl=64 time=1.837 ms 64 bytes from 192.168.65.62: icmp_seq=1 ttl=64 time=0.825 ms 64 bytes from 192.168.65.62: icmp_seq=2 ttl=64 time=0.493 ms ^C --- 192.168.65.62 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.493/1.052/1.837/0.572 ms |
#ssh 192.168.16.24
The authenticity of host '192.168.16.24 (192.168.16.24)' can't be established. DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.24' (DSA) to the list of known hosts. Password: Last login: Fri Jul 24 16:47:36 2009 from debian.net.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! ... along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. |
#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:4e: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:4e:00:01:04 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02: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 re1 inet 192.168.65.1 netmask 255.255.255.224
|
#ping 192.168.65.30
PING 192.168.65.30 (192.168.65.30): 56 data bytes ^C --- 192.168.65.30 ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss |
#ifconfig re1 inet 0.0.0.0
|
#ifconfig re2inet 192.168.65.1 netmask 255.255.255.224
|
#ping 192.168.65.30
64 bytes from 192.168.65.30: icmp_seq=44 ttl=64 time=0.868 ms 64 bytes from 192.168.65.30: icmp_seq=45 ttl=64 time=0.879 ms 64 bytes from 192.168.65.30: icmp_seq=46 ttl=64 time=0.317 ms 64 bytes from 192.168.65.30: icmp_seq=47 ttl=64 time=0.459 ms 64 bytes from 192.168.65.30: icmp_seq=48 ttl=64 time=0.388 ms 64 bytes from 192.168.65.30: icmp_seq=49 ttl=64 time=0.494 ms 64 bytes from 192.168.65.30: icmp_seq=50 ttl=64 time=0.457 ms 64 bytes from 192.168.65.30: icmp_seq=51 ttl=64 time=0.481 ms 64 bytes from 192.168.65.30: icmp_seq=52 ttl=64 time=0.826 ms 64 bytes from 192.168.65.30: icmp_seq=53 ttl=64 time=0.553 ms ... 64 bytes from 192.168.65.30: icmp_seq=183 ttl=64 time=0.433 ms 64 bytes from 192.168.65.30: icmp_seq=184 ttl=64 time=0.807 ms 64 bytes from 192.168.65.30: icmp_seq=185 ttl=64 time=0.564 ms 64 bytes from 192.168.65.30: icmp_seq=186 ttl=64 time=0.418 ms 64 bytes from 192.168.65.30: icmp_seq=187 ttl=64 time=0.504 ms ^C --- 192.168.65.30 ping statistics --- 188 packets transmitted, 188 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.317/0.587/1.911/0.185 ms õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ping 192.168.65.30
64 bytes from 192.168.65.30: icmp_seq=44 ttl=64 time=0.868 ms 64 bytes from 192.168.65.30: icmp_seq=45 ttl=64 time=0.879 ms 64 bytes from 192.168.65.30: icmp_seq=46 ttl=64 time=0.317 ms 64 bytes from 192.168.65.30: icmp_seq=47 ttl=64 time=0.459 ms 64 bytes from 192.168.65.30: icmp_seq=48 ttl=64 time=0.388 ms 64 bytes from 192.168.65.30: icmp_seq=49 ttl=64 time=0.494 ms 64 bytes from 192.168.65.30: icmp_seq=50 ttl=64 time=0.457 ms 64 bytes from 192.168.65.30: icmp_seq=51 ttl=64 time=0.481 ms 64 bytes from 192.168.65.30: icmp_seq=52 ttl=64 time=0.826 ms 64 bytes from 192.168.65.30: icmp_seq=53 ttl=64 time=0.553 ms ... 64 bytes from 192.168.65.30: icmp_seq=183 ttl=64 time=0.433 ms 64 bytes from 192.168.65.30: icmp_seq=184 ttl=64 time=0.807 ms 64 bytes from 192.168.65.30: icmp_seq=185 ttl=64 time=0.564 ms 64 bytes from 192.168.65.30: icmp_seq=186 ttl=64 time=0.418 ms 64 bytes from 192.168.65.30: icmp_seq=187 ttl=64 time=0.504 ms ^C --- 192.168.65.30 ping statistics --- 188 packets transmitted, 188 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.317/0.587/1.911/0.185 ms õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#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:4e: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 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255 ether 00:16:4e:00:01:04 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.65.1 netmask 0xffffffe0 broadcast 192.168.65.31 ether 00:16:4e: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:4e: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 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255 ether 00:16:4e:00:01:04 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.65.1 netmask 0xffffffe0 broadcast 192.168.65.31 ether 00:16:4e: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:4e: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 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255 ether 00:16:4e:00:01:04 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.65.1 netmask 0xffffffe0 broadcast 192.168.65.31 ether 00:16:4e: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 |
#route delete default
delete net default |
#route delete default
delete net default |
#route delete default
delete net default |
#route add default 192.168.65.30
add net default: gateway 192.168.65.30 |
#route add default 192.168.65.30
add net default: gateway 192.168.65.30 |
#route add default 192.168.65.30
add net default: gateway 192.168.65.30 |
#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:4e: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 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255 ether 00:16:4e:00:01:04 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.65.1 netmask 0xffffffe0 broadcast 192.168.65.31 ether 00:16:4e: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:4e: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 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255 ether 00:16:4e:00:01:04 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.65.1 netmask 0xffffffe0 broadcast 192.168.65.31 ether 00:16:4e: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 -a
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:4e: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 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255 ether 00:16:4e:00:01:04 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.65.1 netmask 0xffffffe0 broadcast 192.168.65.31 ether 00:16:4e: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 -a
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:4e: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 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255 ether 00:16:4e:00:01:04 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.65.1 netmask 0xffffffe0 broadcast 192.168.65.31 ether 00:16:4e: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 -a
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:4e: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 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255 ether 00:16:4e:00:01:04 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.65.1 netmask 0xffffffe0 broadcast 192.168.65.31 ether 00:16:4e: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 |
#ssh 192.168.16.23
The authenticity of host '192.168.16.23 (192.168.16.23)' can't be established. DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.23' (DSA) to the list of known hosts. Password: Last login: Mon Jan 18 16:50:40 2010 from fbsd22.net.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ssh 192.168.16.23
The authenticity of host '192.168.16.23 (192.168.16.23)' can't be established. DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.23' (DSA) to the list of known hosts. Password: Last login: Mon Jan 18 16:50:40 2010 from fbsd22.net.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ssh 192.168.16.23
The authenticity of host '192.168.16.23 (192.168.16.23)' can't be established. DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.23' (DSA) to the list of known hosts. Password: Last login: Mon Jan 18 16:50:40 2010 from fbsd22.net.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#route delete default
delete net default |
#route delete default
delete net default |
#route delete default
delete net default |
#route add default 192.168.65.62
add net default: gateway 192.168.65.62 |
#route add default 192.168.65.62
add net default: gateway 192.168.65.62 |
#route add default 192.168.65.62
add net default: gateway 192.168.65.62 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.65.62 UGS 0 12 re2 127.0.0.1 127.0.0.1 UH 0 1176 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.22 00:16:4e:00:00:02 UHLW 1 938 re0 34 192.168.16.24 00:16:4e:00:00:04 UHLW 1 966 re0 263 192.168.16.254 00:07:e9:0c:45:0c UHLW 1 443 re0 1166 192.168.65/27 link#2 UC 0 0 re1 192.168.65.1 00:16:4e:00:02:04 UHLW 1 188 re1 472 192.168.65.32/27 link#3 UC 0 0 re2 192.168.65.33 00:16:4e:00:02:03 UHLW 1 14 lo0 192.168.65.62 00:16:4e:00:01:02 UHLW 2 3 re2 242 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 default 192.168.65.62 UGS 0 12 re2 127.0.0.1 127.0.0.1 UH 0 1176 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.22 00:16:4e:00:00:02 UHLW 1 938 re0 34 192.168.16.24 00:16:4e:00:00:04 UHLW 1 966 re0 263 192.168.16.254 00:07:e9:0c:45:0c UHLW 1 443 re0 1166 192.168.65/27 link#2 UC 0 0 re1 192.168.65.1 00:16:4e:00:02:04 UHLW 1 188 re1 472 192.168.65.32/27 link#3 UC 0 0 re2 192.168.65.33 00:16:4e:00:02:03 UHLW 1 14 lo0 192.168.65.62 00:16:4e:00:01:02 UHLW 2 3 re2 242 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 default 192.168.65.62 UGS 0 12 re2 127.0.0.1 127.0.0.1 UH 0 1176 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.22 00:16:4e:00:00:02 UHLW 1 938 re0 34 192.168.16.24 00:16:4e:00:00:04 UHLW 1 966 re0 263 192.168.16.254 00:07:e9:0c:45:0c UHLW 1 443 re0 1166 192.168.65/27 link#2 UC 0 0 re1 192.168.65.1 00:16:4e:00:02:04 UHLW 1 188 re1 472 192.168.65.32/27 link#3 UC 0 0 re2 192.168.65.33 00:16:4e:00:02:03 UHLW 1 14 lo0 192.168.65.62 00:16:4e:00:01:02 UHLW 2 3 re2 242 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 -f inet
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.65.62 UGS 0 14 re2 127.0.0.1 127.0.0.1 UH 0 1176 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.22 00:16:4e:00:00:02 UHLW 1 950 re0 26 192.168.16.24 00:16:4e:00:00:04 UHLW 1 996 re0 255 192.168.16.254 00:07:e9:0c:45:0c UHLW 1 443 re0 1158 192.168.65/27 link#2 UC 0 0 re1 192.168.65.1 00:16:4e:00:02:04 UHLW 1 188 re1 464 192.168.65.32/27 link#3 UC 0 0 re2 192.168.65.33 00:16:4e:00:02:03 UHLW 1 14 lo0 192.168.65.62 00:16:4e:00:01:02 UHLW 2 3 re2 234 |
#netstat -rn -f inet
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.65.62 UGS 0 14 re2 127.0.0.1 127.0.0.1 UH 0 1176 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.22 00:16:4e:00:00:02 UHLW 1 950 re0 26 192.168.16.24 00:16:4e:00:00:04 UHLW 1 996 re0 255 192.168.16.254 00:07:e9:0c:45:0c UHLW 1 443 re0 1158 192.168.65/27 link#2 UC 0 0 re1 192.168.65.1 00:16:4e:00:02:04 UHLW 1 188 re1 464 192.168.65.32/27 link#3 UC 0 0 re2 192.168.65.33 00:16:4e:00:02:03 UHLW 1 14 lo0 192.168.65.62 00:16:4e:00:01:02 UHLW 2 3 re2 234 |
#netstat -rn -f inet
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.65.62 UGS 0 14 re2 127.0.0.1 127.0.0.1 UH 0 1176 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.22 00:16:4e:00:00:02 UHLW 1 950 re0 26 192.168.16.24 00:16:4e:00:00:04 UHLW 1 996 re0 255 192.168.16.254 00:07:e9:0c:45:0c UHLW 1 443 re0 1158 192.168.65/27 link#2 UC 0 0 re1 192.168.65.1 00:16:4e:00:02:04 UHLW 1 188 re1 464 192.168.65.32/27 link#3 UC 0 0 re2 192.168.65.33 00:16:4e:00:02:03 UHLW 1 14 lo0 192.168.65.62 00:16:4e:00:01:02 UHLW 2 3 re2 234 |
#ssh 192.168.16.62
^C õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ssh 192.168.16.62
^C õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ssh 192.168.16.62
^C õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ping 192.168.65.62
PING 192.168.65.62 (192.168.65.62): 56 data bytes 64 bytes from 192.168.65.62: icmp_seq=0 ttl=64 time=0.504 ms ^C --- 192.168.65.62 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.504/0.504/0.504/0.000 ms |
#ping 192.168.65.62
PING 192.168.65.62 (192.168.65.62): 56 data bytes 64 bytes from 192.168.65.62: icmp_seq=0 ttl=64 time=0.504 ms ^C --- 192.168.65.62 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.504/0.504/0.504/0.000 ms |
#ping 192.168.65.62
PING 192.168.65.62 (192.168.65.62): 56 data bytes 64 bytes from 192.168.65.62: icmp_seq=0 ttl=64 time=0.504 ms ^C --- 192.168.65.62 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.504/0.504/0.504/0.000 ms |
#ssh 192.168.652
The authenticity of host '192.168.65.62 (192.168.65.62)' can't be established. DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.65.62' (DSA) to the list of known hosts. Password: Last login: Mon Jan 18 16:44:22 2010 from fbsd21.net.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ssh 192.168.652
The authenticity of host '192.168.65.62 (192.168.65.62)' can't be established. DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.65.62' (DSA) to the list of known hosts. Password: Last login: Mon Jan 18 16:44:22 2010 from fbsd21.net.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ssh 192.168.652
The authenticity of host '192.168.65.62 (192.168.65.62)' can't be established. DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.65.62' (DSA) to the list of known hosts. Password: Last login: Mon Jan 18 16:44:22 2010 from fbsd21.net.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#route delete default
delete net default |
#netstat -rn -f inet
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.65.94 UGS 0 35 re2 127.0.0.1 127.0.0.1 UH 0 1200 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.21 00:16:4e:00:00:01 UHLW 1 1614 re0 1019 192.168.16.23 00:16:4e:00:00:03 UHLW 1 1534 re0 1068 192.168.16.254 00:07:e9:0c:45:0c UHLW 1 516 re0 1154 192.168.65.32/27 link#2 UC 0 0 re1 192.168.65.33 00:16:4e:00:02:03 UHLW 1 105 re1 31 192.168.65.64/27 link#3 UC 0 0 re2 192.168.65.94 00:16:4e:00:01:01 UHLW 2 0 re2 1149 |
#netstat -rn -f inet
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.65.94 UGS 0 35 re2 127.0.0.1 127.0.0.1 UH 0 1200 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.21 00:16:4e:00:00:01 UHLW 1 1614 re0 1019 192.168.16.23 00:16:4e:00:00:03 UHLW 1 1534 re0 1068 192.168.16.254 00:07:e9:0c:45:0c UHLW 1 516 re0 1154 192.168.65.32/27 link#2 UC 0 0 re1 192.168.65.33 00:16:4e:00:02:03 UHLW 1 105 re1 31 192.168.65.64/27 link#3 UC 0 0 re2 192.168.65.94 00:16:4e:00:01:01 UHLW 2 0 re2 1149 |
#netstat -rn -f inet
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.65.94 UGS 0 35 re2 127.0.0.1 127.0.0.1 UH 0 1200 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.21 00:16:4e:00:00:01 UHLW 1 1614 re0 1019 192.168.16.23 00:16:4e:00:00:03 UHLW 1 1534 re0 1068 192.168.16.254 00:07:e9:0c:45:0c UHLW 1 516 re0 1154 192.168.65.32/27 link#2 UC 0 0 re1 192.168.65.33 00:16:4e:00:02:03 UHLW 1 105 re1 31 192.168.65.64/27 link#3 UC 0 0 re2 192.168.65.94 00:16:4e:00:01:01 UHLW 2 0 re2 1149 |
#netstat -rn -f inet
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.65.94 UGS 0 35 re2 127.0.0.1 127.0.0.1 UH 0 1200 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.21 00:16:4e:00:00:01 UHLW 1 1614 re0 1019 192.168.16.23 00:16:4e:00:00:03 UHLW 1 1534 re0 1068 192.168.16.254 00:07:e9:0c:45:0c UHLW 1 516 re0 1154 192.168.65.32/27 link#2 UC 0 0 re1 192.168.65.33 00:16:4e:00:02:03 UHLW 1 105 re1 31 192.168.65.64/27 link#3 UC 0 0 re2 192.168.65.94 00:16:4e:00:01:01 UHLW 2 0 re2 1149 |
#netstat -rn -f inet
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.65.94 UGS 0 35 re2 127.0.0.1 127.0.0.1 UH 0 1200 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.21 00:16:4e:00:00:01 UHLW 1 1614 re0 1019 192.168.16.23 00:16:4e:00:00:03 UHLW 1 1534 re0 1068 192.168.16.254 00:07:e9:0c:45:0c UHLW 1 516 re0 1154 192.168.65.32/27 link#2 UC 0 0 re1 192.168.65.33 00:16:4e:00:02:03 UHLW 1 105 re1 31 192.168.65.64/27 link#3 UC 0 0 re2 192.168.65.94 00:16:4e:00:01:01 UHLW 2 0 re2 1149 |
#netstat -rn -f inet
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.65.94 UGS 0 35 re2 127.0.0.1 127.0.0.1 UH 0 1200 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.21 00:16:4e:00:00:01 UHLW 1 1614 re0 1019 192.168.16.23 00:16:4e:00:00:03 UHLW 1 1534 re0 1068 192.168.16.254 00:07:e9:0c:45:0c UHLW 1 516 re0 1154 192.168.65.32/27 link#2 UC 0 0 re1 192.168.65.33 00:16:4e:00:02:03 UHLW 1 105 re1 31 192.168.65.64/27 link#3 UC 0 0 re2 192.168.65.94 00:16:4e:00:01:01 UHLW 2 0 re2 1149 |
#netstat -rn -f inet
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.65.94 UGS 0 35 re2 127.0.0.1 127.0.0.1 UH 0 1200 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.21 00:16:4e:00:00:01 UHLW 1 1614 re0 1019 192.168.16.23 00:16:4e:00:00:03 UHLW 1 1534 re0 1068 192.168.16.254 00:07:e9:0c:45:0c UHLW 1 516 re0 1154 192.168.65.32/27 link#2 UC 0 0 re1 192.168.65.33 00:16:4e:00:02:03 UHLW 1 105 re1 31 192.168.65.64/27 link#3 UC 0 0 re2 192.168.65.94 00:16:4e:00:01:01 UHLW 2 0 re2 1149 |
#netstat -rn -f inet
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.65.94 UGS 0 35 re2 127.0.0.1 127.0.0.1 UH 0 1200 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.21 00:16:4e:00:00:01 UHLW 1 1614 re0 1019 192.168.16.23 00:16:4e:00:00:03 UHLW 1 1534 re0 1068 192.168.16.254 00:07:e9:0c:45:0c UHLW 1 516 re0 1154 192.168.65.32/27 link#2 UC 0 0 re1 192.168.65.33 00:16:4e:00:02:03 UHLW 1 105 re1 31 192.168.65.64/27 link#3 UC 0 0 re2 192.168.65.94 00:16:4e:00:01:01 UHLW 2 0 re2 1149 |
Время первой команды журнала | 15:48:47 2009- 7-24 | |||||||||||||||||||||
Время последней команды журнала | 16:12:26 2010- 1-18 | |||||||||||||||||||||
Количество командных строк в журнале | 100 | |||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 3.00 | |||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.00 | |||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.59 | |||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.82 | |||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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