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

Содержание

Журнал

Среда (12/14/11)

/dev/pts/5
16:45:32
#vim /etc/rc.conf
16:48:07
#vim /etc/rc.conf
16:48:20
#sh /etc/net
netconfig     netstart      network.subr  networks
16:48:20
#sh /etc/net
netconfig     netstart      network.subr  networks
16:48:20
#sh /etc/netstart Write failed: Broken pipe

прошло >3 часов
/dev/pts/2
20:33:52
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3e:00:00:01
          inet addr:192.168.16.1  Bcast:192.168.16.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe00:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:796612 errors:0 dropped:222 overruns:0 frame:0
          TX packets:689427 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:419906028 (400.4 MiB)  TX bytes:248465668 (236.9 MiB)
          Interrupt:5
eth2      Link encap:Ethernet  HWaddr 00:16:3e:00:02:01
...
          RX bytes:55973354 (53.3 MiB)  TX bytes:267196573 (254.8 MiB)
          Interrupt:11 Base address:0x2200
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:17974 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17974 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9752069 (9.3 MiB)  TX bytes:9752069 (9.3 MiB)
20:39:03
#ping6 ipv6.google.com
connect: Network is unreachable
20:40:18
#ping6 fe80::216:3eff:fe00:201
connect: Invalid argument
20:41:12
#ping6 localhost
unknown host
20:50:24
#ping6 localhost
unknown host
20:50:38
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3e:00:00:01
          inet addr:192.168.16.1  Bcast:192.168.16.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe00:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:797692 errors:0 dropped:222 overruns:0 frame:0
          TX packets:690409 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:420031660 (400.5 MiB)  TX bytes:248540365 (237.0 MiB)
          Interrupt:5
eth2      Link encap:Ethernet  HWaddr 00:16:3e:00:02:01
...
          RX bytes:56006554 (53.4 MiB)  TX bytes:267276653 (254.8 MiB)
          Interrupt:11 Base address:0x2200
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:17974 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17974 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9752069 (9.3 MiB)  TX bytes:9752069 (9.3 MiB)
20:50:46
#ping6 fe80::216:3eff:fe00:201
connect: Invalid argument
20:50:56
#ping6 fe80::216:3eff:fe00:201|64
bash: 64: команда не найдена
connect: Invalid argument
20:51:09
#ping6 fe80::216:3eff:fe00:201/64
unknown host
20:51:26
#ping6 -I eth0 fe80::216:3eff:fe00:201/64
unknown host
20:59:53
#ping6 -I eth0 fe80::216:3eff:fe00:201
PING fe80::216:3eff:fe00:201(fe80::216:3eff:fe00:201) from fe80::216:3eff:fe00:1 eth0: 56 data bytes
From fe80::216:3eff:fe00:1 icmp_seq=1 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=2 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=3 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=4 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=5 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=6 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=7 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=8 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=9 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=10 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=11 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=12 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=13 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=14 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=15 Destination unreachable: Address unreachable
^C
--- fe80::216:3eff:fe00:201 ping statistics ---
17 packets transmitted, 0 received, +15 errors, 100% packet loss, time 16087ms
21:00:14
#ping6 -I eth2 fe80::216:3eff:fe00:201
PING fe80::216:3eff:fe00:201(fe80::216:3eff:fe00:201) from fe80::216:3eff:fe00:201 eth2: 56 data bytes
64 bytes from fe80::216:3eff:fe00:201: icmp_seq=1 ttl=64 time=0.097 ms
64 bytes from fe80::216:3eff:fe00:201: icmp_seq=2 ttl=64 time=0.113 ms
64 bytes from fe80::216:3eff:fe00:201: icmp_seq=3 ttl=64 time=0.119 ms
64 bytes from fe80::216:3eff:fe00:201: icmp_seq=4 ttl=64 time=0.121 ms
64 bytes from fe80::216:3eff:fe00:201: icmp_seq=5 ttl=64 time=0.120 ms
^C
--- fe80::216:3eff:fe00:201 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3998ms
rtt min/avg/max/mdev = 0.097/0.114/0.121/0.009 ms
21:00:26
#echo 1 /proc/sys/net/ipv6/
bindv6only               ip6frag_low_thresh       neigh/
conf/                    ip6frag_secret_interval  route/
icmp/                    ip6frag_time             xfrm6_gc_thresh
ip6frag_high_thresh      mld_max_msf
21:00:26
#echo 1 /proc/sys/net/ipv6/conf/
all/     default/ eth0/    eth1/    eth2/    lo/
21:00:26
#echo 1 /proc/sys/net/ipv4/
conf/                              tcp_fack
icmp_echo_ignore_all               tcp_fin_timeout
icmp_echo_ignore_broadcasts        tcp_frto
icmp_errors_use_inbound_ifaddr     tcp_frto_response
icmp_ignore_bogus_error_responses  tcp_keepalive_intvl
icmp_ratelimit                     tcp_keepalive_probes
icmp_ratemask                      tcp_keepalive_time
igmp_max_memberships               tcp_low_latency
igmp_max_msf                       tcp_max_orphans
inet_peer_gc_maxtime               tcp_max_ssthresh
...
inet_peer_threshold                tcp_moderate_rcvbuf
ip_default_ttl                     tcp_mtu_probing
ip_dynaddr                         tcp_no_metrics_save
ip_forward                         tcp_orphan_retries
ipfrag_high_thresh                 tcp_reordering
ipfrag_low_thresh                  tcp_retrans_collapse
ipfrag_max_dist                    tcp_retries1
ipfrag_secret_interval             tcp_retries2
ipfrag_time                        tcp_rfc1337
ip_local_port_range                tcp_rmem
21:00:26
#echo 1 /proc/sys/net/ipv6/
bindv6only               ip6frag_low_thresh       neigh/
conf/                    ip6frag_secret_interval  route/
icmp/                    ip6frag_time             xfrm6_gc_thresh
ip6frag_high_thresh      mld_max_msf
21:00:26
#echo 1 /proc/sys/net/ipv6/
bindv6only               ip6frag_low_thresh       neigh/
conf/                    ip6frag_secret_interval  route/
icmp/                    ip6frag_time             xfrm6_gc_thresh
ip6frag_high_thresh      mld_max_msf
21:00:26
#echo 1 /proc/sys/net/ipv6/route/
flush               gc_min_interval_ms  min_adv_mss
gc_elasticity       gc_thresh           mtu_expires
gc_interval         gc_timeout
gc_min_interval     max_size
21:00:26
#echo 1 /proc/sys/net/ipv6/
bindv6only               ip6frag_low_thresh       neigh/
conf/                    ip6frag_secret_interval  route/
icmp/                    ip6frag_time             xfrm6_gc_thresh
ip6frag_high_thresh      mld_max_msf
21:00:26
#echo 1 /proc/sys/net/ipv6/i
icmp/                    ip6frag_low_thresh       ip6frag_time
ip6frag_high_thresh      ip6frag_secret_interval
21:00:26
#echo 1 /proc/sys/net/ipv6/i
icmp/                    ip6frag_low_thresh       ip6frag_time
ip6frag_high_thresh      ip6frag_secret_interval
21:00:26
#echo 1 /proc/sys/net/ipv6/icmp/ratelimit
.aptitude/       file             .lesshst         .viminfo
.bash_history    file_12_12_2011  .lilalo/
.bash_profile    install          .profile
.bashrc          .l3rc            .ssh/
21:00:26
#echo 1 /proc/sys/net/ipv6/icmp/ratelimit
.aptitude/       file             .lesshst         .viminfo
.bash_history    file_12_12_2011  .lilalo/
.bash_profile    install          .profile
.bashrc          .l3rc            .ssh/
21:00:26
#sysctl
Display all 809 possibilities? (y or n)
21:00:26
#sysctl net.
Display all 643 possibilities? (y or n)
21:00:26
#sysctl net.ipv
Display all 585 possibilities? (y or n)
net.ipv4.conf.all.accept_redirects
net.ipv4.conf.all.accept_source_route
net.ipv4.conf.all.arp_accept
net.ipv4.conf.all.arp_announce
net.ipv4.conf.all.arp_filter
net.ipv4.conf.all.arp_ignore
net.ipv4.conf.all.arp_notify
net.ipv4.conf.all.bootp_relay
net.ipv4.conf.all.disable_policy
...
net.ipv4.conf.all.mc_forwarding
net.ipv4.conf.all.medium_id
net.ipv4.conf.all.promote_secondaries
net.ipv4.conf.all.proxy_arp
net.ipv4.conf.all.rp_filter
net.ipv4.conf.all.secure_redirects
net.ipv4.conf.all.send_redirects
net.ipv4.conf.all.shared_media
net.ipv4.conf.all.src_valid_mark
net.ipv4.conf.all.tag
21:00:26
#sysctl net.ipv6.
Display all 259 possibilities? (y or n)
net.ipv6.bindv6only
net.ipv6.conf.all.accept_dad
net.ipv6.conf.all.accept_ra
net.ipv6.conf.all.accept_ra_defrtr
net.ipv6.conf.all.accept_ra_pinfo
net.ipv6.conf.all.accept_ra_rt_info_max_plen
net.ipv6.conf.all.accept_ra_rtr_pref
net.ipv6.conf.all.accept_redirects
net.ipv6.conf.all.accept_source_route
...
net.ipv6.conf.all.forwarding
net.ipv6.conf.all.hop_limit
net.ipv6.conf.all.max_addresses
net.ipv6.conf.all.max_desync_factor
net.ipv6.conf.all.mc_forwarding
net.ipv6.conf.all.mtu
net.ipv6.conf.all.optimistic_dad
net.ipv6.conf.all.proxy_ndp
net.ipv6.conf.all.regen_max_retry
net.ipv6.conf.all.router_probe_interval
21:00:26
#sysctl net.ipv6.conf.all.for
net.ipv6.conf.all.force_mld_version  net.ipv6.conf.all.forwarding
21:00:26
#sysctl net.ipv6.conf.all.forwarding
net.ipv6.conf.all.forwarding = 0
21:03:12
#sysctl net.ipv6.conf.all.forwarding=1
net.ipv6.conf.all.forwarding = 1
21:03:39
#sysctl net.ipv6.conf.default.
net.ipv6.conf.default.accept_dad
net.ipv6.conf.default.accept_ra
net.ipv6.conf.default.accept_ra_defrtr
net.ipv6.conf.default.accept_ra_pinfo
net.ipv6.conf.default.accept_ra_rt_info_max_plen
net.ipv6.conf.default.accept_ra_rtr_pref
net.ipv6.conf.default.accept_redirects
net.ipv6.conf.default.accept_source_route
net.ipv6.conf.default.autoconf
net.ipv6.conf.default.dad_transmits
...
net.ipv6.conf.default.hop_limit
net.ipv6.conf.default.max_addresses
net.ipv6.conf.default.max_desync_factor
net.ipv6.conf.default.mc_forwarding
net.ipv6.conf.default.mtu
net.ipv6.conf.default.optimistic_dad
net.ipv6.conf.default.proxy_ndp
net.ipv6.conf.default.regen_max_retry
net.ipv6.conf.default.router_probe_interval
net.ipv6.conf.default.router_solicitation_delay
21:03:39
#sysctl net.ipv6.conf.default.forwarding
net.ipv6.conf.default.forwarding = 1
21:04:51
#sysctl net.ipv6.conf.default.forwarding=0
net.ipv6.conf.default.forwarding = 0
21:05:19
#ping6 -I eth0 fe80::216:3eff:fe00:201/64
unknown host
21:05:24
#ping6 -I eth0 fe80::216:3eff:fe00:201
PING fe80::216:3eff:fe00:201(fe80::216:3eff:fe00:201) from fe80::216:3eff:fe00:1 eth0: 56 data bytes
From fe80::216:3eff:fe00:1 icmp_seq=1 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=2 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=3 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=4 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=5 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=6 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=7 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=8 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=9 Destination unreachable: Address unreachable
...
From fe80::216:3eff:fe00:1 icmp_seq=42 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=43 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=44 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=45 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=46 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=47 Destination unreachable: Address unreachable
From fe80::216:3eff:fe00:1 icmp_seq=48 Destination unreachable: Address unreachable
^C
--- fe80::216:3eff:fe00:201 ping statistics ---
49 packets transmitted, 0 received, +48 errors, 100% packet loss, time 48254ms
21:06:15