Skocz do zawartości

marcinps

Użytkownicy
  • Zawartość

    5
  • Rejestracja

  • Ostatnia wizyta

Zawartość dodana przez marcinps

  1. Racja jestem za NAT-em i mój TP-LINK niestety nie przepuszcza pakietów IPv6 wiec nic tu nie wksuram. Ale polecam link http://6to4.version6.net/ Na podstawie tego linku próbowałem, nie wiedza]ąc jeszcze ze mój ruter nie przepuszcza pakietów IPv6, stworzyć tunnel 6to4. Wykonujac polecenie traceroute miałem aby jeden hop czyli po prostu pakiety dochodziły do rutera i tyle. Wiec jesli ktos ma ruter z obsługa IPv6, to powinno to działać. Nie sprawdzałem ale raczej to powinno pomóc. Pzdr i dzięki za sugestie
  2. Otóż tak mamy na wirtualnych maszynach 3 fedory 8 z adresami: host1 fe80::20c:29ff:fe34:14f3/64 (na ktorym jest serwer DNS) host2 fe80::20c:29ff:fe76:b0fc/64 host3 fe80::20c:29ff:fe92:7d93/64 Zaktualizowalem binda oczywiscie. Oto moja konfiguracja DNS na hoscie1: 1)resolv.conf ; generated by /sbin/dhclient-script search moja nameserver 212.182.56.184 nameserver 192.168.1.1 nameserver fe80::20c:29ff:fe34:14f3 //dodalem recznie ten wpis 2)named.conf options { directory "/var/named"; listen-on-v6 { any; }; listen-on-v6 port 53 { ::1; }; }; zone "." IN { type hint; file "named.ca"; }; // IPv6 zone files zone "dnstest.com" IN { type master; file "ipv6rules.com"; allow-update { none; }; }; zone "0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.int" IN { //wydaje mi sie ze odwrocony adres IPv6 powinien wygladac tak (chodzi tu chyba o prefiks sieci //fe80::/64) type master; file "revipv6rules.com.arpa"; allow-update { none; }; }; 3)/var/named/ipv6rules.com $ttl 38400 dnstest.com. IN SOA jedy.dnstest.com. root.dnstest.com. ( 1114694017 10800 3600 604800 38400 ) dnstest.com. IN NS jedy.dnstest.com. jedy.dnstest.com. IN AAAA fe80::20c:29ff:fe34:14f3 hostServer1 IN AAAA fe80::20c:29ff:fe76:b0fc hostClient2 IN AAAA fe80::20c:29ff:fe92:7d93 4)/var/named/revipv6rules.com.arpa $ttl 38400 0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.int. IN SOA jedy.dnstest.com . root.dnstest.com. ( 1114694101 10800 3600 604800 38400 ) 0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.int. IN NS jedy.dnstest.com. 3.f.4.1.4.3.e.f.f.f.9.2.c.0.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.int. IN PTR jedy.dnstest.com. c.f.0.b.6.7.e.f.f.f.9.2.c.0.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.int. IN PTR hostServer1. 3.9.d.7.2.9.e.f.f.f.9.2.c.0.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.int. IN PTR hostClient2. 5) [root@localhost ~]# /etc/init.d/named start Uruchamianie named: Error in named configuration: zone dnstest.com/IN: loading from master file ipv6rules.com failed: file not found _default/dnstest.com/IN: file not found zone 0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.int/IN: loading from master file revipv6rules.com.arpa failed: file not found _default/0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.int/IN: file not found //pokazuje ze plikow nie ma a sa w tym takalagu /var/named [ZAWIÓDŁ] 6)[root@localhost ~]# netstat -an | grep ':53' udp 0 0 0.0.0.0:5353 0.0.0.0:* [root@localhost ~]# 7)[root@localhost ~]# named -u named -g 17-Apr-2008 21:02:45.893 starting BIND 9.5.0b1 -u named -g 17-Apr-2008 21:02:45.893 found 1 CPU, using 1 worker thread 17-Apr-2008 21:02:45.898 loading configuration from '/etc/named.conf' 17-Apr-2008 21:02:45.899 listening on IPv6 interfaces, port 53 17-Apr-2008 21:02:45.902 listening on IPv6 interface lo, ::1#53 17-Apr-2008 21:02:45.902 binding TCP socket: address in use 17-Apr-2008 21:02:45.903 listening on IPv4 interface lo, 127.0.0.1#53 17-Apr-2008 21:02:45.904 listening on IPv4 interface eth2, 192.168.1.113#53 17-Apr-2008 21:02:45.911 automatic empty zone: 127.IN-ADDR.ARPA 17-Apr-2008 21:02:45.915 automatic empty zone: 254.169.IN-ADDR.ARPA 17-Apr-2008 21:02:45.915 automatic empty zone: 2.0.192.IN-ADDR.ARPA 17-Apr-2008 21:02:45.915 automatic empty zone: 255.255.255.255.IN-ADDR.ARPA 17-Apr-2008 21:02:45.915 automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA 17-Apr-2008 21:02:45.915 automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA 17-Apr-2008 21:02:45.915 automatic empty zone: D.F.IP6.ARPA 17-Apr-2008 21:02:45.916 automatic empty zone: 8.E.F.IP6.ARPA 17-Apr-2008 21:02:45.916 automatic empty zone: 9.E.F.IP6.ARPA 17-Apr-2008 21:02:45.916 automatic empty zone: A.E.F.IP6.ARPA 17-Apr-2008 21:02:45.916 automatic empty zone: B.E.F.IP6.ARPA 17-Apr-2008 21:02:45.920 command channel listening on 127.0.0.1#953 17-Apr-2008 21:02:45.921 command channel listening on ::1#953 17-Apr-2008 21:02:45.921 ignoring config file logging statement due to -g option 17-Apr-2008 21:02:45.924 zone dnstest.com/IN: loaded serial 1114694017 17-Apr-2008 21:02:45.924 dns_rdata_fromtext: revipv6rules.com.arpa:2: near eol: unexpected end of input 17-Apr-2008 21:02:45.924 zone 0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.int/IN: loading from master file revipv6rules.com.arpa failed: unexpected end of input 17-Apr-2008 21:02:45.927 running 8)[root@localhost ~]# nslookup > jedy.dnstest.com Server: 212.182.56.184 Address: 212.182.56.184#53 ** server can't find jedy.dnstest.com: NXDOMAIN Co jest nie tak z tym moim DNS???nie znam sie na (_linuxa_ → Linuksa) ORT wiec moglem zrobic cos nie tak Bardzo prosze o pomoc, bo chce stworzyc DNS oparty o IPv6 w celach testowych.
  3. Udało sie U mnie problem byl akurat z identyfikatorem DUID, ktory jest w katalogu /etc/var/lib/dhcpv6/ serwera i klienta. Poprostu wywalilem go w serwerze i kliencie i uruchomilem ponownie serwer DHCPv6.Identyfiaktor wygenerowal sie na nowo i bylo oki. Przy tworzeniu DHCPv6 korzystalem z nast polecen (moze kiedy sie komus to przyda): yum install dhcpv6 Server: 1) File : /etc/sysconfig/dhcp6s DHCP6SIF=eth0 2) File : /etc/dhcp6s.conf interface eth0 { server-preference 255; renew-time 60; rebind-time 90; prefer-life-time 130; valid-life-time 200; allow rapid-commit; link BBB { pool{ range 2001:0E30:1402:2::4 to 2001:0E30:1402:2::ffff/64; prefix 2001:0E30:1402::/48; }; }; }; 3) #service dhcp6s start Client: 1) File : /etc/sysconfig/network-scripts/ifcfg-eth0 IPV6INIT=yes DHCP6C=yes 2) File : /etc/dhcp6c.conf interface eth0 { #information-only; send rapid-commit; #request prefix-delegation; #request temp-address; address { 2001:0E30:1402:1:9656:3:4:56/64; }; }; 3) Start the server daemon in debug mode in foreground #dhcp6s –dDf eth0 4) Restart the network service of client #service network restart 5) #ifconfig Tylko zawsze jak uruchomie wirtualne maszyny to musze te DUID-y kasowac No ale jakos zadzialalo.
  4. Witam otóż mam taki problem Zainstalowalem na wirtualnych maszynach 2 systemy fedora 8(HostA i HostB). Pociagalem yum-em dhcpv6 na obu systemach, gdyz chce uzyskac na systemie klienckim Host B adres z servera DHCPv6 (Host A). Ponizej przedstawiam konfiguracje servera DHCPv6 (Hosta A): Plik: /etc/sysconfig/network-scripts/ifcfg-eth0 # Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] DEVICE=eth0 BOOTPROTO=dhcp HWADDR=00:0C:29:11:F0:A1 IPV6INIT=yes IPV6_AUTOCONF=no ONBOOT=yes TYPE=Ethernet IPV6ADDR="2002:1851:c622:1::1/64" IPV6_ROUTER=yes Plik: /etc/sysconfig/dhcp6s # specify the interface for dhcp6s DHCP6SIF=eth0 # Command line options here DHCP6SARGS= Plik: /etc/dhcp6s.conf interface eth0 { server-preference 255; renew-time 60; rebind-time 90; prefer-life-time 130; valid-life-time 200; allow rapid-commit; option dns_servers 2002:1851:c622:1::1 example.com; link AAA { pool{ range 2002:1851:c622:1::2 to 2002:1851:c622:1::9/64; prefix 2002:1851:c622:1::/64; }; }; }; Plik: /etc/sysconfig/network NETWORKING=yes IPV6FORWARDING=yes NETWORKING_IPV6=yes IPV6INIT=yes HOSTNAME=localhost.localdomain #service dhcp6s start #ifconfig -a [root@localhost ~]# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:0C:29:11:F0:A1 inet addr:192.168.1.101 Bcast:255.255.255.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe11:f0a1/64 Scope:Link inet6 addr: 2002:1851:c622:1::1/64 Scope:Global //adres przypisany UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:21887 errors:0 dropped:0 overruns:0 frame:0 TX packets:14295 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:30491986 (29.0 MiB) TX bytes:1131377 (1.0 MiB) Interrupt:18 Base address:0x1080 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:2135 errors:0 dropped:0 overruns:0 frame:0 TX packets:2135 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2867841 (2.7 MiB) TX bytes:2867841 (2.7 MiB) sit0 Link encap:IPv6-in-IPv4 & Konfiguracja klienta Host B Plik: /etc/sysconfig/network-scripts/ifcfg-eth1 # Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] DEVICE=eth1 ONBOOT=yes BOOTPROTO=dhcp HWADDR=00:0c:29:9a:ba:3d TYPE=Ethernet USERCTL=no IPV6INIT=yes PEERDNS=yes DHCP6C=yes Plik: /etc/dhcp6c.conf interface eth1 { send rapid-commit; request domain-name-servers; }; # service network restart # ifconfig -a eth1 Link encap:Ethernet HWaddr 00:0C:29:9A:BA:3D inet addr:192.168.1.106 Bcast:255.255.255.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe9a:ba3d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1197 errors:0 dropped:0 overruns:0 frame:0 TX packets:1095 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:903897 (882.7 KiB) TX bytes:167939 (164.0 KiB) Interrupt:18 Base address:0x1080 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:2811 errors:0 dropped:0 overruns:0 frame:0 TX packets:2811 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3105088 (2.9 MiB) TX bytes:3105088 (2.9 MiB) Nie dostaje adresu z servera DHCPv6 na kliencie. Oba systemy sie widza Dochodzi ping6 z obus sytemow. Co mam zrobic aby to zadziałało???Bardzo prosze o pomoc.
  5. Nie wiem jak uzyskac globalny adres IPv6 w celu pingowania serwerow opartych o IPv6. Mam komputer za NAT-em. Bardzo prosze o pomoc bo nie wiem jak skonfigurowac mam fedore.
×
×
  • Dodaj nową pozycję...