/l3/users/10-08-2009/nt-fbsdnet/fbsd2.net.nt/user :1 |
|
$ifconfig -u
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig -u
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig -u
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ssh 192.168.16.1
The authenticity of host '192.168.16.1 (192.168.16.1)' can't be established. DSA key fingerprint is 85:66:04:0d:64:83:45:f3:35:58:eb:35:cc:e5:92:50. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.1' (DSA) to the list of known hosts. user@192.168.16.1's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Aug 10 14:18:28 2009 from fbsd21.net.nt l3-agent is already running: pid=1631; pidfile=/home/user/.lilalo/l3-agent.pid |
$ssh 192.168.16.1
The authenticity of host '192.168.16.1 (192.168.16.1)' can't be established. DSA key fingerprint is 85:66:04:0d:64:83:45:f3:35:58:eb:35:cc:e5:92:50. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.1' (DSA) to the list of known hosts. user@192.168.16.1's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Aug 10 14:18:28 2009 from fbsd21.net.nt l3-agent is already running: pid=1631; pidfile=/home/user/.lilalo/l3-agent.pid |
$ssh 192.168.16.1
The authenticity of host '192.168.16.1 (192.168.16.1)' can't be established. DSA key fingerprint is 85:66:04:0d:64:83:45:f3:35:58:eb:35:cc:e5:92:50. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.1' (DSA) to the list of known hosts. user@192.168.16.1's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Aug 10 14:18:28 2009 from fbsd21.net.nt l3-agent is already running: pid=1631; pidfile=/home/user/.lilalo/l3-agent.pid |
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$sudo ifconfig re1 192.168.18.129 255.255.255.224
|
$sudo ifconfig re1 192.168.18.129 255.255.255.224
|
$sudo ifconfig re1 192.168.18.129 255.255.255.224
|
$sudo ifconfig re1 192.168.18.129 netmask 5.2
Password: |
$sudo ifconfig re1 192.168.18.129 netmask 5.2
Password: |
$sudo ifconfig re1 192.168.18.129 netmask 5.2
Password: |
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.129 netmask 0xffffff02 broadcast 192.168.18.253 ether 00:16:4e:00:01:02 ... re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.129 netmask 0xffffff02 broadcast 192.168.18.253 ether 00:16:4e:00:01:02 ... re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.129 netmask 0xffffff02 broadcast 192.168.18.253 ether 00:16:4e:00:01:02 ... re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$sudo ifconfig re2 192.168.18.126 netmask 255.255.255.224
|
$sudo ifconfig re2 192.168.18.126 netmask 255.255.255.224
|
$sudo ifconfig re2 192.168.18.126 netmask 255.255.255.224
|
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.129 netmask 0xffffff02 broadcast 192.168.18.253 ether 00:16:4e:00:01:02 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127 ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.129 netmask 0xffffff02 broadcast 192.168.18.253 ether 00:16:4e:00:01:02 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127 ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.129 netmask 0xffffff02 broadcast 192.168.18.253 ether 00:16:4e:00:01:02 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127 ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.129 netmask 0xffffff02 broadcast 192.168.18.253 ether 00:16:4e:00:01:02 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127 ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.129 netmask 0xffffff02 broadcast 192.168.18.253 ether 00:16:4e:00:01:02 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127 ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.129 netmask 0xffffff02 broadcast 192.168.18.253 ether 00:16:4e:00:01:02 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127 ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ping 192.168.18.97
PING 192.168.18.97 (192.168.18.97): 56 data bytes 64 bytes from 192.168.18.97: icmp_seq=0 ttl=64 time=14.566 ms 64 bytes from 192.168.18.97: icmp_seq=1 ttl=64 time=9.494 ms 64 bytes from 192.168.18.97: icmp_seq=2 ttl=64 time=6.298 ms 64 bytes from 192.168.18.97: icmp_seq=3 ttl=64 time=8.375 ms 64 bytes from 192.168.18.97: icmp_seq=4 ttl=64 time=11.445 ms 64 bytes from 192.168.18.97: icmp_seq=5 ttl=64 time=5.942 ms 64 bytes from 192.168.18.97: icmp_seq=6 ttl=64 time=6.103 ms 64 bytes from 192.168.18.97: icmp_seq=7 ttl=64 time=8.685 ms ^C --- 192.168.18.97 ping statistics --- 8 packets transmitted, 8 packets received, 0% packet loss round-trip min/avg/max/stddev = 5.942/8.864/14.566/2.797 ms |
$ping 192.168.18.97
PING 192.168.18.97 (192.168.18.97): 56 data bytes 64 bytes from 192.168.18.97: icmp_seq=0 ttl=64 time=14.566 ms 64 bytes from 192.168.18.97: icmp_seq=1 ttl=64 time=9.494 ms 64 bytes from 192.168.18.97: icmp_seq=2 ttl=64 time=6.298 ms 64 bytes from 192.168.18.97: icmp_seq=3 ttl=64 time=8.375 ms 64 bytes from 192.168.18.97: icmp_seq=4 ttl=64 time=11.445 ms 64 bytes from 192.168.18.97: icmp_seq=5 ttl=64 time=5.942 ms 64 bytes from 192.168.18.97: icmp_seq=6 ttl=64 time=6.103 ms 64 bytes from 192.168.18.97: icmp_seq=7 ttl=64 time=8.685 ms ^C --- 192.168.18.97 ping statistics --- 8 packets transmitted, 8 packets received, 0% packet loss round-trip min/avg/max/stddev = 5.942/8.864/14.566/2.797 ms |
$ping 192.168.18.97
PING 192.168.18.97 (192.168.18.97): 56 data bytes 64 bytes from 192.168.18.97: icmp_seq=0 ttl=64 time=14.566 ms 64 bytes from 192.168.18.97: icmp_seq=1 ttl=64 time=9.494 ms 64 bytes from 192.168.18.97: icmp_seq=2 ttl=64 time=6.298 ms 64 bytes from 192.168.18.97: icmp_seq=3 ttl=64 time=8.375 ms 64 bytes from 192.168.18.97: icmp_seq=4 ttl=64 time=11.445 ms 64 bytes from 192.168.18.97: icmp_seq=5 ttl=64 time=5.942 ms 64 bytes from 192.168.18.97: icmp_seq=6 ttl=64 time=6.103 ms 64 bytes from 192.168.18.97: icmp_seq=7 ttl=64 time=8.685 ms ^C --- 192.168.18.97 ping statistics --- 8 packets transmitted, 8 packets received, 0% packet loss round-trip min/avg/max/stddev = 5.942/8.864/14.566/2.797 ms |
$ifconfig -u
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.129 netmask 0xffffff02 broadcast 192.168.18.253 ether 00:16:4e:00:01:02 ... re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127 ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig -u
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.129 netmask 0xffffff02 broadcast 192.168.18.253 ether 00:16:4e:00:01:02 ... re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127 ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ifconfig -u
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.129 netmask 0xffffff02 broadcast 192.168.18.253 ether 00:16:4e:00:01:02 ... re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.18.126 netmask 0xffffffe0 broadcast 192.168.18.127 ether 00:16:4e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
$ping 192.168.18.97
PING 192.168.18.97 (192.168.18.97): 56 data bytes 64 bytes from 192.168.18.97: icmp_seq=0 ttl=64 time=14.980 ms 64 bytes from 192.168.18.97: icmp_seq=1 ttl=64 time=3.993 ms 64 bytes from 192.168.18.97: icmp_seq=2 ttl=64 time=9.381 ms ^C --- 192.168.18.97 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 3.993/9.451/14.980/4.486 ms |
$ping 192.168.18.97
PING 192.168.18.97 (192.168.18.97): 56 data bytes 64 bytes from 192.168.18.97: icmp_seq=0 ttl=64 time=14.980 ms 64 bytes from 192.168.18.97: icmp_seq=1 ttl=64 time=3.993 ms 64 bytes from 192.168.18.97: icmp_seq=2 ttl=64 time=9.381 ms ^C --- 192.168.18.97 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 3.993/9.451/14.980/4.486 ms |
$ping 192.168.18.97
PING 192.168.18.97 (192.168.18.97): 56 data bytes 64 bytes from 192.168.18.97: icmp_seq=0 ttl=64 time=14.980 ms 64 bytes from 192.168.18.97: icmp_seq=1 ttl=64 time=3.993 ms 64 bytes from 192.168.18.97: icmp_seq=2 ttl=64 time=9.381 ms ^C --- 192.168.18.97 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 3.993/9.451/14.980/4.486 ms |
$route
route route6d routed |
$route
usage: route [-dnqtv] command [[modifiers] args] |
$route
route route6d routed |
$route
usage: route [-dnqtv] command [[modifiers] args] |
$route
route route6d routed |
$route
usage: route [-dnqtv] command [[modifiers] args] |
$netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 148 re0 127.0.0.1 127.0.0.1 UH 0 785 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.1 00:16:3e:00:00:01 UHLW 1 288 re0 491 192.168.16.225 00:14:c2:05:9a:de UHLW 1 14403 re0 258 192.168.16.254 00:04:75:75:46:b1 UHLW 2 252 re0 1042 192.168.18&0xffffff02 link#2 UC 0 0 re1 192.168.18.96/27 link#3 UC 0 0 re2 192.168.18.97 00:16:3e:00:02:09 UHLW 1 15 re2 1013 192.168.18.157 00:16:4e:00:01:01 UHLW 1 6 re1 962 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
$netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 148 re0 127.0.0.1 127.0.0.1 UH 0 785 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.1 00:16:3e:00:00:01 UHLW 1 288 re0 491 192.168.16.225 00:14:c2:05:9a:de UHLW 1 14403 re0 258 192.168.16.254 00:04:75:75:46:b1 UHLW 2 252 re0 1042 192.168.18&0xffffff02 link#2 UC 0 0 re1 192.168.18.96/27 link#3 UC 0 0 re2 192.168.18.97 00:16:3e:00:02:09 UHLW 1 15 re2 1013 192.168.18.157 00:16:4e:00:01:01 UHLW 1 6 re1 962 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
$netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 148 re0 127.0.0.1 127.0.0.1 UH 0 785 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.1 00:16:3e:00:00:01 UHLW 1 288 re0 491 192.168.16.225 00:14:c2:05:9a:de UHLW 1 14403 re0 258 192.168.16.254 00:04:75:75:46:b1 UHLW 2 252 re0 1042 192.168.18&0xffffff02 link#2 UC 0 0 re1 192.168.18.96/27 link#3 UC 0 0 re2 192.168.18.97 00:16:3e:00:02:09 UHLW 1 15 re2 1013 192.168.18.157 00:16:4e:00:01:01 UHLW 1 6 re1 962 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
$sudo route delete default
Password: Sorry, try again. Password: Sorry, try again. Password: sudo: pam_authenticate: conversation failure |
$sudo route delete default
Password: Sorry, try again. Password: Sorry, try again. Password: sudo: pam_authenticate: conversation failure |
$sudo route delete default
Password: Sorry, try again. Password: Sorry, try again. Password: sudo: pam_authenticate: conversation failure |
$route delete default
route: must be root to alter routing table |
$route delete default
route: must be root to alter routing table |
$route delete default
route: must be root to alter routing table |
$su0
bash: su0: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
$su0
bash: su0: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
$su0
bash: su0: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
$su -
Password: Removing stale pidfile |
$su -
Password: Removing stale pidfile |
$su -
Password: Removing stale pidfile |
#route
route route6d routed |
#route delete default
delete net default |
#route
route route6d routed |
#route delete default
delete net default |
#route
route route6d routed |
#route delete default
delete net default |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 785 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.1 00:16:3e:00:00:01 UHLW 1 288 re0 366 192.168.16.225 00:14:c2:05:9a:de UHLW 1 14809 re0 133 192.168.16.254 00:04:75:75:46:b1 UHLW 1 255 re0 1186 192.168.18&0xffffff02 link#2 UC 0 0 re1 192.168.18.96/27 link#3 UC 0 0 re2 192.168.18.97 00:16:3e:00:02:09 UHLW 1 15 re2 888 192.168.18.157 00:16:4e:00:01:01 UHLW 1 6 re1 837 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 785 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.1 00:16:3e:00:00:01 UHLW 1 288 re0 366 192.168.16.225 00:14:c2:05:9a:de UHLW 1 14809 re0 133 192.168.16.254 00:04:75:75:46:b1 UHLW 1 255 re0 1186 192.168.18&0xffffff02 link#2 UC 0 0 re1 192.168.18.96/27 link#3 UC 0 0 re2 192.168.18.97 00:16:3e:00:02:09 UHLW 1 15 re2 888 192.168.18.157 00:16:4e:00:01:01 UHLW 1 6 re1 837 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 785 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.1 00:16:3e:00:00:01 UHLW 1 288 re0 366 192.168.16.225 00:14:c2:05:9a:de UHLW 1 14809 re0 133 192.168.16.254 00:04:75:75:46:b1 UHLW 1 255 re0 1186 192.168.18&0xffffff02 link#2 UC 0 0 re1 192.168.18.96/27 link#3 UC 0 0 re2 192.168.18.97 00:16:3e:00:02:09 UHLW 1 15 re2 888 192.168.18.157 00:16:4e:00:01:01 UHLW 1 6 re1 837 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 785 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.1 00:16:3e:00:00:01 UHLW 1 288 re0 264 192.168.16.225 00:14:c2:05:9a:de UHLW 1 14909 re0 31 192.168.16.254 00:04:75:75:46:b1 UHLW 1 260 re0 1193 192.168.18&0xffffff02 link#2 UC 0 0 re1 192.168.18.96/27 link#3 UC 0 0 re2 192.168.18.97 00:16:3e:00:02:09 UHLW 1 18 re2 1165 192.168.18.157 00:16:4e:00:01:01 UHLW 1 6 re1 735 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 785 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.1 00:16:3e:00:00:01 UHLW 1 288 re0 264 192.168.16.225 00:14:c2:05:9a:de UHLW 1 14909 re0 31 192.168.16.254 00:04:75:75:46:b1 UHLW 1 260 re0 1193 192.168.18&0xffffff02 link#2 UC 0 0 re1 192.168.18.96/27 link#3 UC 0 0 re2 192.168.18.97 00:16:3e:00:02:09 UHLW 1 18 re2 1165 192.168.18.157 00:16:4e:00:01:01 UHLW 1 6 re1 735 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 785 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.1 00:16:3e:00:00:01 UHLW 1 288 re0 264 192.168.16.225 00:14:c2:05:9a:de UHLW 1 14909 re0 31 192.168.16.254 00:04:75:75:46:b1 UHLW 1 260 re0 1193 192.168.18&0xffffff02 link#2 UC 0 0 re1 192.168.18.96/27 link#3 UC 0 0 re2 192.168.18.97 00:16:3e:00:02:09 UHLW 1 18 re2 1165 192.168.18.157 00:16:4e:00:01:01 UHLW 1 6 re1 735 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#exit
|
#exit
|
#exit
|
$su -
Password: Removing stale pidfile |
$su -
Password: Removing stale pidfile |
$su -
Password: Removing stale pidfile |
#route add default 192.168.18.97
add net default: gateway 192.168.18.97 |
#route add default 192.168.18.97
add net default: gateway 192.168.18.97 |
#route add default 192.168.18.97
add net default: gateway 192.168.18.97 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.18.97 UGS 0 2 re1 127.0.0.1 127.0.0.1 UH 0 809 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.225 00:14:c2:05:9a:de UHLW 1 15356 re0 716 192.168.16.254 00:04:75:75:46:b1 UHLW 1 304 re0 1182 192.168.18&0xffffff02 link#2 UC 0 0 re1 192.168.18.96/27 link#3 UC 0 0 re2 192.168.18.97 00:16:3e:00:02:09 UHLW 2 20 re2 789 192.168.18.157 00:16:4e:00:01:01 UHLW 1 10 re1 220 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.18.97 UGS 0 2 re1 127.0.0.1 127.0.0.1 UH 0 809 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.225 00:14:c2:05:9a:de UHLW 1 15356 re0 716 192.168.16.254 00:04:75:75:46:b1 UHLW 1 304 re0 1182 192.168.18&0xffffff02 link#2 UC 0 0 re1 192.168.18.96/27 link#3 UC 0 0 re2 192.168.18.97 00:16:3e:00:02:09 UHLW 2 20 re2 789 192.168.18.157 00:16:4e:00:01:01 UHLW 1 10 re1 220 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.18.97 UGS 0 2 re1 127.0.0.1 127.0.0.1 UH 0 809 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.225 00:14:c2:05:9a:de UHLW 1 15356 re0 716 192.168.16.254 00:04:75:75:46:b1 UHLW 1 304 re0 1182 192.168.18&0xffffff02 link#2 UC 0 0 re1 192.168.18.96/27 link#3 UC 0 0 re2 192.168.18.97 00:16:3e:00:02:09 UHLW 2 20 re2 789 192.168.18.157 00:16:4e:00:01:01 UHLW 1 10 re1 220 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.18.97 UGS 0 137 re1 127.0.0.1 127.0.0.1 UH 0 833 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.1 00:16:3e:00:00:01 UHLW 1 233 re0 802 192.168.16.9 00:16:3e:00:00:09 UHLW 1 242 re0 989 192.168.16.225 00:14:c2:05:9a:de UHLW 1 17604 re0 952 192.168.16.254 00:04:75:75:46:b1 UHLW 1 323 re0 1141 ... 192.168.18.97 00:16:3e:00:02:09 UHLW 2 22 re2 1178 192.168.18.157 00:16:4e:00:01:01 UHLW 1 10 re1 898 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.18.97 UGS 0 137 re1 127.0.0.1 127.0.0.1 UH 0 833 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.1 00:16:3e:00:00:01 UHLW 1 233 re0 802 192.168.16.9 00:16:3e:00:00:09 UHLW 1 242 re0 989 192.168.16.225 00:14:c2:05:9a:de UHLW 1 17604 re0 952 192.168.16.254 00:04:75:75:46:b1 UHLW 1 323 re0 1141 ... 192.168.18.97 00:16:3e:00:02:09 UHLW 2 22 re2 1178 192.168.18.157 00:16:4e:00:01:01 UHLW 1 10 re1 898 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.18.97 UGS 0 137 re1 127.0.0.1 127.0.0.1 UH 0 833 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.1 00:16:3e:00:00:01 UHLW 1 233 re0 802 192.168.16.9 00:16:3e:00:00:09 UHLW 1 242 re0 989 192.168.16.225 00:14:c2:05:9a:de UHLW 1 17604 re0 952 192.168.16.254 00:04:75:75:46:b1 UHLW 1 323 re0 1141 ... 192.168.18.97 00:16:3e:00:02:09 UHLW 2 22 re2 1178 192.168.18.157 00:16:4e:00:01:01 UHLW 1 10 re1 898 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
$screen -x
|
$screen -x
|
$ssh 192.168.16.1
user@192.168.16.1's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Aug 10 16:40:40 2009 from 192.168.16.9 l3-agent is already running: pid=1631; pidfile=/home/user/.lilalo/l3-agent.pid |
$ssh 192.168.16.1
user@192.168.16.1's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Aug 10 16:40:40 2009 from 192.168.16.9 l3-agent is already running: pid=1631; pidfile=/home/user/.lilalo/l3-agent.pid |
$ssh 192.168.16.1
user@192.168.16.1's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Aug 10 16:40:40 2009 from 192.168.16.9 l3-agent is already running: pid=1631; pidfile=/home/user/.lilalo/l3-agent.pid |
$sudo tcpdump -i re1 -n icmp
Password: tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes 16:43:41.990922 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 120, length 64 16:43:43.793001 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 121, length 64 16:43:45.592599 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 122, length 64 16:43:47.392792 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 123, length 64 16:43:49.198752 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 124, length 64 16:43:50.995991 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 125, length 64 16:43:52.799849 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 126, length 64 16:43:54.598384 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 127, length 64 16:43:56.399648 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 128, length 64 16:43:58.203934 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 129, length 64 16:44:00.004414 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 130, length 64 ^C 11 packets captured 16 packets received by filter 0 packets dropped by kernel |
$sudo tcpdump -i re1 -n icmp
Password: tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes 16:43:41.990922 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 120, length 64 16:43:43.793001 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 121, length 64 16:43:45.592599 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 122, length 64 16:43:47.392792 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 123, length 64 16:43:49.198752 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 124, length 64 16:43:50.995991 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 125, length 64 16:43:52.799849 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 126, length 64 16:43:54.598384 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 127, length 64 16:43:56.399648 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 128, length 64 16:43:58.203934 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 129, length 64 16:44:00.004414 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 130, length 64 ^C 11 packets captured 16 packets received by filter 0 packets dropped by kernel |
$sudo tcpdump -i re1 -n icmp
Password: tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes 16:43:41.990922 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 120, length 64 16:43:43.793001 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 121, length 64 16:43:45.592599 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 122, length 64 16:43:47.392792 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 123, length 64 16:43:49.198752 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 124, length 64 16:43:50.995991 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 125, length 64 16:43:52.799849 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 126, length 64 16:43:54.598384 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 127, length 64 16:43:56.399648 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 128, length 64 16:43:58.203934 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 129, length 64 16:44:00.004414 IP 192.168.18.157 > 213.180.204.8: ICMP echo request, id 57617, seq 130, length 64 ^C 11 packets captured 16 packets received by filter 0 packets dropped by kernel |
$sudo tcpdump -i re2 -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re2, link-type EN10MB (Ethernet), capture size 96 bytes ^C 0 packets captured 0 packets received by filter 0 packets dropped by kernel |
$sudo tcpdump -i re2 -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re2, link-type EN10MB (Ethernet), capture size 96 bytes ^C 0 packets captured 0 packets received by filter 0 packets dropped by kernel |
$sudo tcpdump -i re2 -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re2, link-type EN10MB (Ethernet), capture size 96 bytes ^C 0 packets captured 0 packets received by filter 0 packets dropped by kernel |
$sudo sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1 kern.smp.forward_roundrobin_enabled: 1 net.inet.ip.forwarding: 0 net.inet.ip.fastforwarding: 0 net.inet6.ip6.forwarding: 0 |
$sudo sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1 kern.smp.forward_roundrobin_enabled: 1 net.inet.ip.forwarding: 0 net.inet.ip.fastforwarding: 0 net.inet6.ip6.forwarding: 0 |
$sudo sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1 kern.smp.forward_roundrobin_enabled: 1 net.inet.ip.forwarding: 0 net.inet.ip.fastforwarding: 0 net.inet6.ip6.forwarding: 0 |
$sudo sysctl net.inet.ip.forwarding=1
net.inet.ip.forwarding: 0 -> 1 |
Время первой команды журнала | 14:38:57 2009- 8-10 | |||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:45:02 2009- 8-10 | |||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 100 | |||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 12.00 | |||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 6.00 | |||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.59 | |||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.83 | |||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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