Retourner au contenu associé (entrée de forum : IPv6 sans IPv4 chez free)
Posté par Tonio (site web personnel) le 12 août 2008 à 20:45. En réponse au message IPv6 sans IPv4 chez free. Évalué à 1.
debian-ipv6:~# ifconfig eth0 Lien encap:Ethernet HWaddr 00:0C:29:80:35:F2 inet adr:192.168.1.224 Bcast:192.168.1.255 Masque:255.255.255.0 adr inet6: 2a01:e35:2e78:ec40:20c:29ff:fe80:35f2/64 Scope:Global adr inet6: fe80::20c:29ff:fe80:35f2/64 Scope:Lien UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1517 errors:0 dropped:0 overruns:0 frame:0 TX packets:226 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:484840 (473.4 KiB) TX bytes:20498 (20.0 KiB) Interruption:177 Adresse de base:0x1400 lo Lien encap:Boucle locale inet adr:127.0.0.1 Masque:255.0.0.0 adr inet6: ::1/128 Scope:HÃ ́te UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:0 RX bytes:768 (768.0 b) TX bytes:768 (768.0 b)
debian-ipv6:~# more /proc/net/if_inet6 00000000000000000000000000000001 01 80 10 80 lo 2a010e352e78ec40020c29fffe8035f2 02 40 00 00 eth0 fe80000000000000020c29fffe8035f2 02 40 20 80 eth0
debian-ipv6:~# more /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet dhcp
auto lo iface lo inet6 loopback # The primary network interface allow-hotplug eth0 iface eth0 inet6 dhcp
iface eth0 inet6 static adress 2a01:e35:2E78:EC40:1:2:3:4 netmask 64 gateway 2a01:e35:2E78:EC40:1:2:3:5
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# Voici ma configuration
Posté par Tonio (site web personnel) . En réponse au message IPv6 sans IPv4 chez free. Évalué à 1.
debian-ipv6:~# ifconfig
eth0 Lien encap:Ethernet HWaddr 00:0C:29:80:35:F2
inet adr:192.168.1.224 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: 2a01:e35:2e78:ec40:20c:29ff:fe80:35f2/64 Scope:Global
adr inet6: fe80::20c:29ff:fe80:35f2/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1517 errors:0 dropped:0 overruns:0 frame:0
TX packets:226 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:484840 (473.4 KiB) TX bytes:20498 (20.0 KiB)
Interruption:177 Adresse de base:0x1400
lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:HÃ ́te
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:768 (768.0 b) TX bytes:768 (768.0 b)
debian-ipv6:~# more /proc/net/if_inet6
00000000000000000000000000000001 01 80 10 80 lo
2a010e352e78ec40020c29fffe8035f2 02 40 00 00 eth0
fe80000000000000020c29fffe8035f2 02 40 20 80 eth0
debian-ipv6:~# more /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
Voici la configuration de /etc/network/interfaces qui devrait être bonne:
auto lo
iface lo inet6 loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet6 dhcp
L'option DHCP ou AUTO ne fonctionne pas.
Et je ne sais pas comment je récupère la gateway, ni comment je mets les DNS dans le /etc/resolv.conf.
La configuration suivante ne fonctionne pas.
iface eth0 inet6 static
adress 2a01:e35:2E78:EC40:1:2:3:4
netmask 64
gateway 2a01:e35:2E78:EC40:1:2:3:5
Mon réseau est le 2a01:e35:2E78:EC40::/64