Presentation is loading. Please wait.

Presentation is loading. Please wait.

Настройка FreeBSD 8.0-STABLE, 7.2-STABLE 1) Получить сеть/сети IPv6. 2) Открыть IPv6 в /etc/rc.conf 3) Настроить IPFW 4) Прописать IPv6 адреса в DNS 5)

Similar presentations


Presentation on theme: "Настройка FreeBSD 8.0-STABLE, 7.2-STABLE 1) Получить сеть/сети IPv6. 2) Открыть IPv6 в /etc/rc.conf 3) Настроить IPFW 4) Прописать IPv6 адреса в DNS 5)"— Presentation transcript:

1

2 Настройка FreeBSD 8.0-STABLE, 7.2-STABLE 1) Получить сеть/сети IPv6. 2) Открыть IPv6 в /etc/rc.conf 3) Настроить IPFW 4) Прописать IPv6 адреса в DNS 5) Настроить сервисы

3 /etc/rc.conf ipv6_enable="YES" ipv6_ifconfig_bge0="2a02:70:0:4::2/64" ipv6_defaultrouter="2a02:70:0:4::1" ipv6_gateway_enable="YES"

4 Ifconfig > ifconfig bge0 bge0: flags=8843 metric 0 mtu 1500 options=9b ether 00:1e:c9:f8:cd:39 inet6 fe80::21e:c9ff:fef8:cd39%bge0 prefixlen 64 scopeid 0x1 inet netmask 0xfffffffc broadcast inet6 2a02:70:0:4::2 prefixlen 64 media: Ethernet autoselect (1000baseTX ) status: active

5 Neighbor Discovery Protocol > ndp -a Neighbor Linklayer Address Netif Expire S Flags fe80::225:90ff:fe34:cb05%em1 0:25:90:34:cb:5 em1 permanent R astra.hostmaster.ua 0:25:90:34:cb:5 em1 permanent R 2001:7f8:55:7::354 0:25:90:3:39:5c em1 31s R R fe80::225:90ff:fe03:395c%em1 0:25:90:3:39:5c em1 19s R R fe80::225:90ff:fe34:cb04%em0 0:25:90:34:cb:4 em0 permanent R

6 Утилиты > ifconfig bce0 inet6 2a02:70:0:4::2 /64 > route add -inet6 default 2a02:70:0:4::1 > ping6 ns.dn.ua PING6(56= bytes) 2a02:70:0:4::2 --> 2001:7f8:55::65 16 bytes from 2001:7f8:55::65, icmp_seq=0 hlim=63 time= ms > traceroute6 ns.dn.ua traceroute6 to ns.dn.ua (2001:7f8:55::65) from 2a02:70:0:4::2, 64 hops max, 12 byte packets 1 2a02:70:0:4:: ms ms ms 2 ns.dn.ua ms ms ms

7 IPFW net="$firewall_client_net“ net6="$firewall_client_net_ipv6“ ${fwcmd} add pass all from me to ${net} ${fwcmd} add pass all from ${net} to me if [ -n "$net6" ]; then ${fwcmd} add pass all from me6 to ${net6} ${fwcmd} add pass all from ${net6} to me6 fi

8 ISC BIND options { listen-on-v6 { 2a02:70:0:4::2; }; allow-recursion 2a02:70:0:4/64; }; zone "provider.net" { type master; file "provider.net"; }; zone " c ip6.arpa" IN { type master; file "master/ c ip6.arpa"; };

9 ISC BIND (Прямая зона) provider.net ipv6server IN AAAA 2001:67c:258::1

10 ISC BIND (Обратная зона) IN PTR ns.ua IN PTR ns.kiev.ua IN PTR ns.com.ua IN PTR ns.gov.ua IN PTR ns.edu.ua IN PTR ns.edu.ua.

11 Quagga neighbor 2001:7f8:55:7::354 remote-as neighbor 2001:7f8:55:7::354 description -= UNICV6 =- no neighbor 2001:7f8:55:7::354 activate address-family ipv6 network 2001:67c:258::/48 neighbor 2001:7f8:55:7::354 activate neighbor 2001:7f8:55:7::354 route-map EUNIC-IN in neighbor 2001:7f8:55:7::354 route-map UATLD-OUT out exit-address-family

12 Quagga > sh ipv6 bgp sum BGP router identifier , local AS number RIB entries 2, using 192 bytes of memory Peers 3, using 13 KiB of memory Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 2001:7f8:55:7:: d20h50m 1 Total number of neighbors 1


Download ppt "Настройка FreeBSD 8.0-STABLE, 7.2-STABLE 1) Получить сеть/сети IPv6. 2) Открыть IPv6 в /etc/rc.conf 3) Настроить IPFW 4) Прописать IPv6 адреса в DNS 5)"

Similar presentations


Ads by Google