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

Содержание

Журнал

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

/dev/ttyp3
15:25:57
#vim /etc/sysctl.conf
15:25:57
#vim /etc/sysctl.conf
15:25:57
#vim /etc/sysctl.conf
15:25:57
#vim /etc/sysctl.conf
15:25:57
#vim /etc/sysctl.conf
15:26:07
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
15:26:07
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
15:26:07
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
15:26:07
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
15:26:07
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1
kern.smp.forward_roundrobin_enabled: 1
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0
15:29:16
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.29682.9750	2008-08-11 12:29:40.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:30:13.000000000 +0000
@@ -8,6 +8,7 @@
 ifconfig_giga_alias0="inet 192.168.44.3 netmask 255.255.255.0"
 defaultrouter="192.168.16.254"
 keymap="ru.koi8-r"
+gateway_enable=1
 keyrate="normal"
 local_startup="/usr/local/etc/rc.d"
 mousechar_start="3"
15:29:16
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.29682.9750	2008-08-11 12:29:40.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:30:13.000000000 +0000
@@ -8,6 +8,7 @@
 ifconfig_giga_alias0="inet 192.168.44.3 netmask 255.255.255.0"
 defaultrouter="192.168.16.254"
 keymap="ru.koi8-r"
+gateway_enable=1
 keyrate="normal"
 local_startup="/usr/local/etc/rc.d"
 mousechar_start="3"
15:29:16
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.29682.9750	2008-08-11 12:29:40.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:30:13.000000000 +0000
@@ -8,6 +8,7 @@
 ifconfig_giga_alias0="inet 192.168.44.3 netmask 255.255.255.0"
 defaultrouter="192.168.16.254"
 keymap="ru.koi8-r"
+gateway_enable=1
 keyrate="normal"
 local_startup="/usr/local/etc/rc.d"
 mousechar_start="3"
15:29:16
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.29682.9750	2008-08-11 12:29:40.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:30:13.000000000 +0000
@@ -8,6 +8,7 @@
 ifconfig_giga_alias0="inet 192.168.44.3 netmask 255.255.255.0"
 defaultrouter="192.168.16.254"
 keymap="ru.koi8-r"
+gateway_enable=1
 keyrate="normal"
 local_startup="/usr/local/etc/rc.d"
 mousechar_start="3"
15:29:16
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.29682.9750	2008-08-11 12:29:40.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:30:13.000000000 +0000
@@ -8,6 +8,7 @@
 ifconfig_giga_alias0="inet 192.168.44.3 netmask 255.255.255.0"
 defaultrouter="192.168.16.254"
 keymap="ru.koi8-r"
+gateway_enable=1
 keyrate="normal"
 local_startup="/usr/local/etc/rc.d"
 mousechar_start="3"
15:30:18
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:30:18
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:30:18
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:30:18
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:30:18
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:30:31
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.145.2709	2008-08-11 12:30:46.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:31:06.000000000 +0000
@@ -25,3 +25,4 @@
 scrnmap="koi8-r2cp866"
 keyrate="normal"
 keymap="ru.koi8-r"
+static_routes="route1"
15:30:31
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.145.2709	2008-08-11 12:30:46.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:31:06.000000000 +0000
@@ -25,3 +25,4 @@
 scrnmap="koi8-r2cp866"
 keyrate="normal"
 keymap="ru.koi8-r"
+static_routes="route1"
15:30:31
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.145.2709	2008-08-11 12:30:46.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:31:06.000000000 +0000
@@ -25,3 +25,4 @@
 scrnmap="koi8-r2cp866"
 keyrate="normal"
 keymap="ru.koi8-r"
+static_routes="route1"
15:30:31
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.145.2709	2008-08-11 12:30:46.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:31:06.000000000 +0000
@@ -25,3 +25,4 @@
 scrnmap="koi8-r2cp866"
 keyrate="normal"
 keymap="ru.koi8-r"
+static_routes="route1"
15:30:31
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.145.2709	2008-08-11 12:30:46.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:31:06.000000000 +0000
@@ -25,3 +25,4 @@
 scrnmap="koi8-r2cp866"
 keyrate="normal"
 keymap="ru.koi8-r"
+static_routes="route1"
15:31:06
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:31:06
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:31:06
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:31:06
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:31:06
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:31:07
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.13628.17627	2008-08-11 12:31:34.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:31:54.000000000 +0000
@@ -26,3 +26,4 @@
 keyrate="normal"
 keymap="ru.koi8-r"
 static_routes="route1"
+router_route1="
15:31:07
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.13628.17627	2008-08-11 12:31:34.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:31:54.000000000 +0000
@@ -26,3 +26,4 @@
 keyrate="normal"
 keymap="ru.koi8-r"
 static_routes="route1"
+router_route1="
15:31:07
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.13628.17627	2008-08-11 12:31:34.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:31:54.000000000 +0000
@@ -26,3 +26,4 @@
 keyrate="normal"
 keymap="ru.koi8-r"
 static_routes="route1"
+router_route1="
15:31:07
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.13628.17627	2008-08-11 12:31:34.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:31:54.000000000 +0000
@@ -26,3 +26,4 @@
 keyrate="normal"
 keymap="ru.koi8-r"
 static_routes="route1"
+router_route1="
15:31:07
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.13628.17627	2008-08-11 12:31:34.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:31:54.000000000 +0000
@@ -26,3 +26,4 @@
 keyrate="normal"
 keymap="ru.koi8-r"
 static_routes="route1"
+router_route1="
15:31:54
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:31:54
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.32556.17291	2008-08-11 12:32:04.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:32:28.000000000 +0000
@@ -26,4 +26,4 @@
 keyrate="normal"
 keymap="ru.koi8-r"
 static_routes="route1"
-router_route1="
+router_route1="add 10.0.17.0/24 192.168.16.254"
15:31:54
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:31:54
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.32556.17291	2008-08-11 12:32:04.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:32:28.000000000 +0000
@@ -26,4 +26,4 @@
 keyrate="normal"
 keymap="ru.koi8-r"
 static_routes="route1"
-router_route1="
+router_route1="add 10.0.17.0/24 192.168.16.254"
15:31:54
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:31:54
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.32556.17291	2008-08-11 12:32:04.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:32:28.000000000 +0000
@@ -26,4 +26,4 @@
 keyrate="normal"
 keymap="ru.koi8-r"
 static_routes="route1"
-router_route1="
+router_route1="add 10.0.17.0/24 192.168.16.254"
15:31:54
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:31:54
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.32556.17291	2008-08-11 12:32:04.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:32:28.000000000 +0000
@@ -26,4 +26,4 @@
 keyrate="normal"
 keymap="ru.koi8-r"
 static_routes="route1"
-router_route1="
+router_route1="add 10.0.17.0/24 192.168.16.254"
15:31:54
#grep route /etc/defaults/rc.conf
removable_route_flush="NO" # Flush routes when removing an interface
#gif_interfaces="gif0 gif1"     # Examples typically for a router.
#gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
#gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
defaultrouter="NO"              # Set to default gateway (or NO).
static_routes=""                # Set to static route list (or leave empty).
natm_static_routes=""           # Set to static route list for NATM (or leave empty).
router_enable="NO"              # Set to YES to enable a routing daemon.
router="/sbin/routed"           # Name of routing daemon to use if enabled.
router_flags="-q"               # Flags for routing daemon.
...
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
15:31:54
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.32556.17291	2008-08-11 12:32:04.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:32:28.000000000 +0000
@@ -26,4 +26,4 @@
 keyrate="normal"
 keymap="ru.koi8-r"
 static_routes="route1"
-router_route1="
+router_route1="add 10.0.17.0/24 192.168.16.254"
15:32:28
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0    11649   giga
10.0.17/24         192.168.16.254     UGS         0        0   giga
10.0.17.1          192.168.16.254     UGHS        0        0   giga
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16.0       ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga =>
192.168.16         link#1             UC          0        0   giga
192.168.16.1       00:16:3e:55:00:01  UHLW        1      995   giga    434
...
192.168.16.254     00:04:76:a1:ef:bb  UHLW        4      108   giga   1177
192.168.16.255     ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga
192.168.44         link#1             UC          0        0   giga
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
15:32:28
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0    11649   giga
10.0.17/24         192.168.16.254     UGS         0        0   giga
10.0.17.1          192.168.16.254     UGHS        0        0   giga
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16.0       ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga =>
192.168.16         link#1             UC          0        0   giga
192.168.16.1       00:16:3e:55:00:01  UHLW        1      995   giga    434
...
192.168.16.254     00:04:76:a1:ef:bb  UHLW        4      108   giga   1177
192.168.16.255     ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga
192.168.44         link#1             UC          0        0   giga
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
15:32:28
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0    11649   giga
10.0.17/24         192.168.16.254     UGS         0        0   giga
10.0.17.1          192.168.16.254     UGHS        0        0   giga
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16.0       ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga =>
192.168.16         link#1             UC          0        0   giga
192.168.16.1       00:16:3e:55:00:01  UHLW        1      995   giga    434
...
192.168.16.254     00:04:76:a1:ef:bb  UHLW        4      108   giga   1177
192.168.16.255     ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga
192.168.44         link#1             UC          0        0   giga
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
15:32:28
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0    11649   giga
10.0.17/24         192.168.16.254     UGS         0        0   giga
10.0.17.1          192.168.16.254     UGHS        0        0   giga
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16.0       ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga =>
192.168.16         link#1             UC          0        0   giga
192.168.16.1       00:16:3e:55:00:01  UHLW        1      995   giga    434
...
192.168.16.254     00:04:76:a1:ef:bb  UHLW        4      108   giga   1177
192.168.16.255     ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga
192.168.44         link#1             UC          0        0   giga
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
15:32:28
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0    11649   giga
10.0.17/24         192.168.16.254     UGS         0        0   giga
10.0.17.1          192.168.16.254     UGHS        0        0   giga
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16.0       ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga =>
192.168.16         link#1             UC          0        0   giga
192.168.16.1       00:16:3e:55:00:01  UHLW        1      995   giga    434
...
192.168.16.254     00:04:76:a1:ef:bb  UHLW        4      108   giga   1177
192.168.16.255     ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga
192.168.44         link#1             UC          0        0   giga
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
15:32:32
#route delete 10.0.17.0/24
delete net 10.0.17.0
15:32:32
#route delete 10.0.17.0/24
delete net 10.0.17.0
15:32:32
#route delete 10.0.17.0/24
delete net 10.0.17.0
15:32:32
#route delete 10.0.17.0/24
delete net 10.0.17.0
15:32:32
#route delete 10.0.17.0/24
delete net 10.0.17.0
15:32:41
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0    11655   giga
10.0.17.1          192.168.16.254     UGHS        0        0   giga
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16.0       ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga =>
192.168.16         link#1             UC          0        0   giga
192.168.16.1       00:16:3e:55:00:01  UHLW        1     1028   giga    422
192.168.16.21      00:16:4e:00:00:01  UHLW        1        2    lo0
192.168.16.206     00:14:c2:05:a3:18  UHLW        1        1   giga
192.168.16.254     00:04:76:a1:ef:bb  UHLW        3      109   giga   1165
192.168.16.255     ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga
192.168.44         link#1             UC          0        0   giga
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
15:32:41
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0    11655   giga
10.0.17.1          192.168.16.254     UGHS        0        0   giga
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16.0       ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga =>
192.168.16         link#1             UC          0        0   giga
192.168.16.1       00:16:3e:55:00:01  UHLW        1     1028   giga    422
192.168.16.21      00:16:4e:00:00:01  UHLW        1        2    lo0
192.168.16.206     00:14:c2:05:a3:18  UHLW        1        1   giga
192.168.16.254     00:04:76:a1:ef:bb  UHLW        3      109   giga   1165
192.168.16.255     ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga
192.168.44         link#1             UC          0        0   giga
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
15:32:41
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0    11655   giga
10.0.17.1          192.168.16.254     UGHS        0        0   giga
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16.0       ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga =>
192.168.16         link#1             UC          0        0   giga
192.168.16.1       00:16:3e:55:00:01  UHLW        1     1028   giga    422
192.168.16.21      00:16:4e:00:00:01  UHLW        1        2    lo0
192.168.16.206     00:14:c2:05:a3:18  UHLW        1        1   giga
192.168.16.254     00:04:76:a1:ef:bb  UHLW        3      109   giga   1165
192.168.16.255     ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga
192.168.44         link#1             UC          0        0   giga
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
15:32:41
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0    11655   giga
10.0.17.1          192.168.16.254     UGHS        0        0   giga
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16.0       ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga =>
192.168.16         link#1             UC          0        0   giga
192.168.16.1       00:16:3e:55:00:01  UHLW        1     1028   giga    422
192.168.16.21      00:16:4e:00:00:01  UHLW        1        2    lo0
192.168.16.206     00:14:c2:05:a3:18  UHLW        1        1   giga
192.168.16.254     00:04:76:a1:ef:bb  UHLW        3      109   giga   1165
192.168.16.255     ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga
192.168.44         link#1             UC          0        0   giga
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
15:32:41
#netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0    11655   giga
10.0.17.1          192.168.16.254     UGHS        0        0   giga
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16.0       ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga =>
192.168.16         link#1             UC          0        0   giga
192.168.16.1       00:16:3e:55:00:01  UHLW        1     1028   giga    422
192.168.16.21      00:16:4e:00:00:01  UHLW        1        2    lo0
192.168.16.206     00:14:c2:05:a3:18  UHLW        1        1   giga
192.168.16.254     00:04:76:a1:ef:bb  UHLW        3      109   giga   1165
192.168.16.255     ff:ff:ff:ff:ff:ff  UHLWb       1        1   giga
192.168.44         link#1             UC          0        0   giga
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
15:32:43
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.12034.14077	2008-08-11 12:32:45.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:33:08.000000000 +0000
@@ -1,3 +1,4 @@
+#!
 font8x14="cp866-8x14"
 sshd_enable="yes"
 font8x16="cp866b-8x16"
15:32:43
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.12034.14077	2008-08-11 12:32:45.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:33:08.000000000 +0000
@@ -1,3 +1,4 @@
+#!
 font8x14="cp866-8x14"
 sshd_enable="yes"
 font8x16="cp866b-8x16"
15:32:43
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.12034.14077	2008-08-11 12:32:45.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:33:08.000000000 +0000
@@ -1,3 +1,4 @@
+#!
 font8x14="cp866-8x14"
 sshd_enable="yes"
 font8x16="cp866b-8x16"
15:32:43
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.12034.14077	2008-08-11 12:32:45.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:33:08.000000000 +0000
@@ -1,3 +1,4 @@
+#!
 font8x14="cp866-8x14"
 sshd_enable="yes"
 font8x16="cp866b-8x16"
15:32:43
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.12034.14077	2008-08-11 12:32:45.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:33:08.000000000 +0000
@@ -1,3 +1,4 @@
+#!
 font8x14="cp866-8x14"
 sshd_enable="yes"
 font8x16="cp866b-8x16"
15:33:08
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.2369.18452	2008-08-11 12:33:08.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:33:29.000000000 +0000
@@ -1,4 +1,3 @@
-#!
 font8x14="cp866-8x14"
 sshd_enable="yes"
 font8x16="cp866b-8x16"
15:33:08
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.2369.18452	2008-08-11 12:33:08.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:33:29.000000000 +0000
@@ -1,4 +1,3 @@
-#!
 font8x14="cp866-8x14"
 sshd_enable="yes"
 font8x16="cp866b-8x16"
15:33:08
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.2369.18452	2008-08-11 12:33:08.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:33:29.000000000 +0000
@@ -1,4 +1,3 @@
-#!
 font8x14="cp866-8x14"
 sshd_enable="yes"
 font8x16="cp866b-8x16"
15:33:08
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.2369.18452	2008-08-11 12:33:08.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:33:29.000000000 +0000
@@ -1,4 +1,3 @@
-#!
 font8x14="cp866-8x14"
 sshd_enable="yes"
 font8x16="cp866b-8x16"
15:33:08
#vim /etc/rc.conf
--- /tmp/l3-saved-24998.2369.18452	2008-08-11 12:33:08.000000000 +0000
+++ /etc/rc.conf	2008-08-11 12:33:29.000000000 +0000
@@ -1,4 +1,3 @@
-#!
 font8x14="cp866-8x14"
 sshd_enable="yes"
 font8x16="cp866b-8x16"
15:33:30
#/etc/routing restart
bash: /etc/routing: No such file or directory
15:33:30
#/etc/routing restart
bash: /etc/routing: No such file or directory
15:33:30
#/etc/routing restart
bash: /etc/routing: No such file or directory
15:33:30
#/etc/routing restart
bash: /etc/routing: No such file or directory
15:33:30
#/etc/routing restart
bash: /etc/routing: No such file or directory
15:33:36
#/etc/rc.d/routing restart
default              192.168.16.254       done
10.0.17.1            192.168.16.254       done
add net default: gateway 192.168.16.254
route: writing to routing socket: Invalid argument
add net : Invalid argument
Additional routing options:.
15:33:36
#/etc/rc.d/routing restart
default              192.168.16.254       done
10.0.17.1            192.168.16.254       done
add net default: gateway 192.168.16.254
route: writing to routing socket: Invalid argument
add net : Invalid argument
Additional routing options:.
15:33:36
#/etc/rc.d/routing restart
default              192.168.16.254       done
10.0.17.1            192.168.16.254       done
add net default: gateway 192.168.16.254
route: writing to routing socket: Invalid argument
add net : Invalid argument
Additional routing options:.
15:33:36
#/etc/rc.d/routing restart
default              192.168.16.254       done
10.0.17.1            192.168.16.254       done
add net default: gateway 192.168.16.254
route: writing to routing socket: Invalid argument
add net : Invalid argument
Additional routing options:.
15:33:36
#/etc/rc.d/routing restart
default              192.168.16.254       done
10.0.17.1            192.168.16.254       done
add net default: gateway 192.168.16.254
route: writing to routing socket: Invalid argument
add net : Invalid argument
Additional routing options:.
15:33:40
#vim /etc/rc.conf
15:33:40
#vim /etc/rc.conf
15:33:40
#vim /etc/rc.conf
15:33:40
#vim /etc/rc.conf
15:33:40
#vim /etc/rc.conf
15:34:13
#router_route1="add 10.0.17.0/

15:34:13
#router_route1="add 10.0.17.0/

15:34:13
#router_route1="add 10.0.17.0/

Статистика

Время первой команды журнала15:25:57 2008- 8-11
Время последней команды журнала15:34:13 2008- 8-11
Количество командных строк в журнале88
Процент команд с ненулевым кодом завершения, % 0.00
Процент синтаксически неверно набранных команд, % 5.68
Суммарное время работы с терминалом *, час 0.14
Количество командных строк в единицу времени, команда/мин10.65
Частота использования команд
vim40|========================================| 40.82%
grep20|====================| 20.41%
netstat10|==========| 10.20%
sysctl5|=====| 5.10%
/etc/rc.d/routing5|=====| 5.10%
route5|=====| 5.10%
#^http://sysctl.enderunix.org/5|=====| 5.10%
/etc/routing5|=====| 5.10%
router_route1="add3|===| 3.06%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ find / -name abc
    find: /home/devi-orig/.gnome2: Keine Berechtigung
    find: /home/devi-orig/.gnome2_private: Keine Berechtigung
    find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
    find: /home/devi-orig/.metacity: Keine Berechtigung
    find: /home/devi-orig/.inkscape: Keine Berechtigung
    ^C
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$