Forum général.général Impossible d'avoir une adresse IPv6

Posté par  .
Étiquettes :
1
24
sept.
2012

Je suis chez Free avec l'IPv6 activé et je n'arrive pas à avoir une adresse IPv6. Je suis sous Archlinux avec une distribution à jour.
Au niveau matériel j'ai ceci :

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 09)
        Subsystem: ASUSTeK Computer Inc. Device 8505
        Flags: bus master, fast devsel, latency 0, IRQ 44
        I/O ports at e000 [size=256]
        Memory at f0004000 (64-bit, prefetchable) [size=4K]
        Memory at f0000000 (64-bit, prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169

Si je fais dhcpcd -d eth0 ça me raconte ceci :

dhcpcd[1248]: version 5.6.2 starting
dhcpcd[1248]: eth0: using hwaddr 30:85:a9:ee:43:fa
dhcpcd[1248]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
dhcpcd[1248]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason NOCARRIER
dhcpcd[1248]: eth0: waiting for carrier
dhcpcd[1248]: eth0: carrier acquired
dhcpcd[1248]: eth0: using hwaddr 30:85:a9:ee:43:fa
dhcpcd[1248]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
dhcpcd[1248]: eth0: sending IPv6 Router Solicitation
dhcpcd[1248]: eth0: sendmsg: Cannot assign requested address
dhcpcd[1248]: eth0: reading lease `/var/lib/dhcpcd/dhcpcd-eth0.lease'
dhcpcd[1248]: eth0: rebinding lease of 192.168.0.11
dhcpcd[1248]: eth0: sending REQUEST (xid 0x64c1021e), next in 3.71 seconds
dhcpcd[1248]: eth0: acknowledged 192.168.0.11 from 192.168.0.254
dhcpcd[1248]: eth0: checking for 192.168.0.11
dhcpcd[1248]: eth0: sending ARP probe (1 of 3), next in 1.29 seconds
dhcpcd[1248]: eth0: sending ARP probe (2 of 3), next in 1.36 seconds
dhcpcd[1248]: eth0: sending ARP probe (3 of 3), next in 2.00 seconds
dhcpcd[1248]: eth0: sending IPv6 Router Solicitation
dhcpcd[1248]: eth0: leased 192.168.0.11 for 864000 seconds
dhcpcd[1248]: eth0: adding IP address 192.168.0.11/24
dhcpcd[1248]: eth0: adding route to 192.168.0.0/24
dhcpcd[1248]: eth0: adding default route via 192.168.0.254
dhcpcd[1248]: eth0: writing lease `/var/lib/dhcpcd/dhcpcd-eth0.lease'
dhcpcd[1248]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason BOUND
dhcpcd[1248]: forking to background
dhcpcd[1248]: forked to background, child pid 1282

Qu'est-ce que vous me suggérez de faire ?

  • # Pas de DHCP

    Posté par  . Évalué à 4.

    DHCP c'est une technique spécifique à IPv4 (enfin, il existe aussi un DHCP IPv6 mais je ne sais pas si c'est utilisé et il faut un serveur DHCP6), pour IPv6, il y a l'autoconfiguration qui permet d'avoir une adresse sans serveur DHCP. Pour activer cette dernière, il me semble que c'est assez spécifique à la distribution.

    « Rappelez-vous toujours que si la Gestapo avait les moyens de vous faire parler, les politiciens ont, eux, les moyens de vous faire taire. » Coluche

    • [^] # Re: Pas de DHCP

      Posté par  . Évalué à 1.

      Normalement, l'auto-configuration IPv6 est bien activée par défaut sur Archlinux.
      Par contre : aurais-tu des règles Netfilter de déclarées sur ta machine ? Si oui, ne filtrerais-tu pas les paquets ICMP entrant ?

      • [^] # Re: Pas de DHCP

        Posté par  . Évalué à 2. Dernière modification le 24 septembre 2012 à 11:23.

        Je n'ai édité aucune règle c'est donc celles par défaut qui sont appliquées. Je vais regarder cette histoire de paquets ICMP.

        ping -c 3 www.google.com
        PING www.google.com (173.194.66.103) 56(84) bytes of data.
        64 bytes from we-in-f103.1e100.net (173.194.66.103): icmp_req=1 ttl=47 time=37.4 ms
        64 bytes from we-in-f103.1e100.net (173.194.66.103): icmp_req=2 ttl=47 time=37.0 ms
        64 bytes from we-in-f103.1e100.net (173.194.66.103): icmp_req=3 ttl=47 time=36.8 ms
        
        --- www.google.com ping statistics ---
        3 packets transmitted, 3 received, 0% packet loss, time 2002ms
        rtt min/avg/max/mdev = 36.867/37.102/37.430/0.239 ms
        
        
        • [^] # Re: Pas de DHCP

          Posté par  . Évalué à 1.

          Peux-tu nous donner le retour des commandes suivantes ?
          * ip addr
          * ip6tables -L -n -v

          • [^] # Re: Pas de DHCP

            Posté par  . Évalué à 2.

            ip addr
            1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
                link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
                inet 127.0.0.1/8 scope host lo
                inet6 ::1/128 scope host 
                   valid_lft forever preferred_lft forever
            2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
                link/ether 30:85:a9:ee:43:fa brd ff:ff:ff:ff:ff:ff
                inet 192.168.0.11/24 brd 192.168.0.255 scope global eth0
                inet6 fe80::3285:a9ff:feee:43fa/64 scope link 
                   valid_lft forever preferred_lft forever
            
            

            Ensuite je n'ai ni iptables ni ip6tables d'installés.

            • [^] # Re: Pas de DHCP

              Posté par  (site web personnel) . Évalué à 2.

              et
              sysctl -a

              Système - Réseau - Sécurité Open Source - Ouvert à de nouvelles opportunités

              • [^] # Re: Pas de DHCP

                Posté par  . Évalué à 2.

                Le retour est long de cette commande !

                sysctl -a
                abi.vsyscall32 = 1
                debug.exception-trace = 1
                dev.hpet.max-user-freq = 64
                dev.mac_hid.mouse_button2_keycode = 97
                dev.mac_hid.mouse_button3_keycode = 100
                dev.mac_hid.mouse_button_emulation = 0
                dev.scsi.logging_level = 0
                fs.aio-max-nr = 65536
                fs.aio-nr = 0
                fs.binfmt_misc.status = enabled
                fs.dentry-state = 87138 74282   45      0       0       0
                fs.dir-notify-enable = 1
                fs.epoll.max_user_watches = 1548248
                fs.file-max = 781429
                fs.file-nr = 8704       0       781429
                fs.inode-nr = 44114     6259
                fs.inode-state = 44114  6259    0       0       0       0       0
                fs.inotify.max_queued_events = 16384
                fs.inotify.max_user_instances = 128
                fs.inotify.max_user_watches = 8192
                fs.lease-break-time = 45
                fs.leases-enable = 1
                fs.mqueue.msg_default = 10
                fs.mqueue.msg_max = 10
                fs.mqueue.msgsize_default = 8192
                fs.mqueue.msgsize_max = 8192
                fs.mqueue.queues_max = 256
                fs.nr_open = 1048576
                fs.overflowgid = 65534
                fs.overflowuid = 65534
                fs.pipe-max-size = 1048576
                fs.quota.allocated_dquots = 0
                fs.quota.cache_hits = 0
                fs.quota.drops = 0
                fs.quota.free_dquots = 0
                fs.quota.lookups = 0
                fs.quota.reads = 0
                fs.quota.syncs = 6
                fs.quota.writes = 0
                fs.suid_dumpable = 0
                kernel.acct = 4 2       30
                kernel.acpi_video_flags = 0
                kernel.auto_msgmni = 1
                kernel.blk_iopoll = 1
                kernel.bootloader_type = 49
                kernel.bootloader_version = 1
                sysctl: permission denied on key 'kernel.cad_pid'
                kernel.cap_last_cap = 36
                kernel.compat-log = 1
                kernel.core_pattern = core
                kernel.core_pipe_limit = 0
                kernel.core_uses_pid = 0
                kernel.ctrl-alt-del = 0
                kernel.dmesg_restrict = 0
                kernel.domainname = (none)
                kernel.ftrace_dump_on_oops = 0
                kernel.ftrace_enabled = 1
                kernel.hostname = bureau
                kernel.hotplug = 
                kernel.hung_task_check_count = 4194304
                kernel.hung_task_panic = 0
                kernel.hung_task_timeout_secs = 120
                kernel.hung_task_warnings = 10
                kernel.io_delay_type = 0
                kernel.keys.gc_delay = 300
                kernel.keys.maxbytes = 20000
                kernel.keys.maxkeys = 200
                kernel.keys.root_maxbytes = 20000
                kernel.keys.root_maxkeys = 200
                kernel.kptr_restrict = 0
                kernel.kstack_depth_to_print = 12
                kernel.max_lock_depth = 1024
                kernel.modprobe = /sbin/modprobe
                kernel.modules_disabled = 0
                kernel.msgmax = 8192
                kernel.msgmnb = 16384
                kernel.msgmni = 15364
                kernel.ngroups_max = 65536
                kernel.nmi_watchdog = 1
                kernel.osrelease = 3.5.4-1-ARCH
                kernel.ostype = Linux
                kernel.overflowgid = 65534
                kernel.overflowuid = 65534
                kernel.panic = 0
                kernel.panic_on_io_nmi = 0
                kernel.panic_on_oops = 0
                kernel.panic_on_unrecovered_nmi = 0
                kernel.perf_event_max_sample_rate = 100000
                kernel.perf_event_mlock_kb = 516
                kernel.perf_event_paranoid = 1
                kernel.pid_max = 32768
                kernel.poweroff_cmd = /sbin/poweroff
                kernel.print-fatal-signals = 0
                kernel.printk = 4       4       1       4
                kernel.printk_delay = 0
                kernel.printk_ratelimit = 5
                kernel.printk_ratelimit_burst = 10
                kernel.pty.max = 4096
                kernel.pty.nr = 3
                kernel.pty.reserve = 1024
                kernel.random.boot_id = c42f8d83-004c-4cc7-85e1-06fd10a5d38a
                kernel.random.entropy_avail = 2251
                kernel.random.poolsize = 4096
                kernel.random.read_wakeup_threshold = 64
                kernel.random.uuid = de5230fb-f379-441c-be79-30ebb18c6440
                kernel.random.write_wakeup_threshold = 128
                kernel.randomize_va_space = 2
                kernel.real-root-dev = 0
                kernel.sched_autogroup_enabled = 1
                kernel.sched_cfs_bandwidth_slice_us = 5000
                kernel.sched_child_runs_first = 0
                kernel.sched_domain.cpu0.domain0.busy_factor = 64
                kernel.sched_domain.cpu0.domain0.busy_idx = 2
                kernel.sched_domain.cpu0.domain0.cache_nice_tries = 1
                kernel.sched_domain.cpu0.domain0.flags = 559
                kernel.sched_domain.cpu0.domain0.forkexec_idx = 0
                kernel.sched_domain.cpu0.domain0.idle_idx = 0
                kernel.sched_domain.cpu0.domain0.imbalance_pct = 125
                kernel.sched_domain.cpu0.domain0.max_interval = 4
                kernel.sched_domain.cpu0.domain0.min_interval = 1
                kernel.sched_domain.cpu0.domain0.name = MC
                kernel.sched_domain.cpu0.domain0.newidle_idx = 0
                kernel.sched_domain.cpu0.domain0.wake_idx = 0
                kernel.sched_domain.cpu1.domain0.busy_factor = 64
                kernel.sched_domain.cpu1.domain0.busy_idx = 2
                kernel.sched_domain.cpu1.domain0.cache_nice_tries = 1
                kernel.sched_domain.cpu1.domain0.flags = 559
                kernel.sched_domain.cpu1.domain0.forkexec_idx = 0
                kernel.sched_domain.cpu1.domain0.idle_idx = 0
                kernel.sched_domain.cpu1.domain0.imbalance_pct = 125
                kernel.sched_domain.cpu1.domain0.max_interval = 4
                kernel.sched_domain.cpu1.domain0.min_interval = 1
                kernel.sched_domain.cpu1.domain0.name = MC
                kernel.sched_domain.cpu1.domain0.newidle_idx = 0
                kernel.sched_domain.cpu1.domain0.wake_idx = 0
                kernel.sched_domain.cpu2.domain0.busy_factor = 64
                kernel.sched_domain.cpu2.domain0.busy_idx = 2
                kernel.sched_domain.cpu2.domain0.cache_nice_tries = 1
                kernel.sched_domain.cpu2.domain0.flags = 559
                kernel.sched_domain.cpu2.domain0.forkexec_idx = 0
                kernel.sched_domain.cpu2.domain0.idle_idx = 0
                kernel.sched_domain.cpu2.domain0.imbalance_pct = 125
                kernel.sched_domain.cpu2.domain0.max_interval = 4
                kernel.sched_domain.cpu2.domain0.min_interval = 1
                kernel.sched_domain.cpu2.domain0.name = MC
                kernel.sched_domain.cpu2.domain0.newidle_idx = 0
                kernel.sched_domain.cpu2.domain0.wake_idx = 0
                kernel.sched_domain.cpu3.domain0.busy_factor = 64
                kernel.sched_domain.cpu3.domain0.busy_idx = 2
                kernel.sched_domain.cpu3.domain0.cache_nice_tries = 1
                kernel.sched_domain.cpu3.domain0.flags = 559
                kernel.sched_domain.cpu3.domain0.forkexec_idx = 0
                kernel.sched_domain.cpu3.domain0.idle_idx = 0
                kernel.sched_domain.cpu3.domain0.imbalance_pct = 125
                kernel.sched_domain.cpu3.domain0.max_interval = 4
                kernel.sched_domain.cpu3.domain0.min_interval = 1
                kernel.sched_domain.cpu3.domain0.name = MC
                kernel.sched_domain.cpu3.domain0.newidle_idx = 0
                kernel.sched_domain.cpu3.domain0.wake_idx = 0
                kernel.sched_latency_ns = 18000000
                kernel.sched_migration_cost = 500000
                kernel.sched_min_granularity_ns = 2250000
                kernel.sched_nr_migrate = 32
                kernel.sched_rt_period_us = 1000000
                kernel.sched_rt_runtime_us = 950000
                kernel.sched_shares_window = 10000000
                kernel.sched_time_avg = 1000
                kernel.sched_tunable_scaling = 1
                kernel.sched_wakeup_granularity_ns = 3000000
                kernel.sem = 250        32000   32      128
                kernel.shm_rmid_forced = 0
                kernel.shmall = 2097152
                kernel.shmmax = 33554432
                kernel.shmmni = 4096
                kernel.softlockup_panic = 0
                kernel.stack_tracer_enabled = 0
                kernel.sysrq = 0
                kernel.tainted = 0
                kernel.threads-max = 122847
                kernel.timer_migration = 1
                kernel.unknown_nmi_panic = 0
                sysctl: permission denied on key 'kernel.usermodehelper.bset'
                sysctl: permission denied on key 'kernel.usermodehelper.inheritable'
                kernel.version = #1 SMP PREEMPT Sat Sep 15 08:12:04 CEST 2012
                kernel.watchdog = 1
                kernel.watchdog_thresh = 10
                net.core.bpf_jit_enable = 0
                net.core.dev_weight = 64
                net.core.message_burst = 10
                net.core.message_cost = 5
                net.core.netdev_budget = 300
                net.core.netdev_max_backlog = 1000
                net.core.netdev_tstamp_prequeue = 1
                net.core.optmem_max = 20480
                net.core.rmem_default = 212992
                net.core.rmem_max = 131071
                net.core.rps_sock_flow_entries = 0
                net.core.somaxconn = 128
                net.core.warnings = 1
                net.core.wmem_default = 212992
                net.core.wmem_max = 131071
                net.core.xfrm_acq_expires = 30
                net.core.xfrm_aevent_etime = 10
                net.core.xfrm_aevent_rseqth = 2
                net.core.xfrm_larval_drop = 1
                net.ipv4.cipso_cache_bucket_size = 10
                net.ipv4.cipso_cache_enable = 1
                net.ipv4.cipso_rbm_optfmt = 0
                net.ipv4.cipso_rbm_strictvalid = 1
                net.ipv4.conf.all.accept_local = 0
                net.ipv4.conf.all.accept_redirects = 1
                net.ipv4.conf.all.accept_source_route = 0
                net.ipv4.conf.all.arp_accept = 0
                net.ipv4.conf.all.arp_announce = 0
                net.ipv4.conf.all.arp_filter = 0
                net.ipv4.conf.all.arp_ignore = 0
                net.ipv4.conf.all.arp_notify = 0
                net.ipv4.conf.all.bootp_relay = 0
                net.ipv4.conf.all.disable_policy = 0
                net.ipv4.conf.all.disable_xfrm = 0
                net.ipv4.conf.all.force_igmp_version = 0
                net.ipv4.conf.all.forwarding = 0
                net.ipv4.conf.all.log_martians = 0
                net.ipv4.conf.all.mc_forwarding = 0
                net.ipv4.conf.all.medium_id = 0
                net.ipv4.conf.all.promote_secondaries = 0
                net.ipv4.conf.all.proxy_arp = 0
                net.ipv4.conf.all.proxy_arp_pvlan = 0
                net.ipv4.conf.all.rp_filter = 0
                net.ipv4.conf.all.secure_redirects = 1
                net.ipv4.conf.all.send_redirects = 1
                net.ipv4.conf.all.shared_media = 1
                net.ipv4.conf.all.src_valid_mark = 0
                net.ipv4.conf.all.tag = 0
                net.ipv4.conf.default.accept_local = 0
                net.ipv4.conf.default.accept_redirects = 1
                net.ipv4.conf.default.accept_source_route = 1
                net.ipv4.conf.default.arp_accept = 0
                net.ipv4.conf.default.arp_announce = 0
                net.ipv4.conf.default.arp_filter = 0
                net.ipv4.conf.default.arp_ignore = 0
                net.ipv4.conf.default.arp_notify = 0
                net.ipv4.conf.default.bootp_relay = 0
                net.ipv4.conf.default.disable_policy = 0
                net.ipv4.conf.default.disable_xfrm = 0
                net.ipv4.conf.default.force_igmp_version = 0
                net.ipv4.conf.default.forwarding = 0
                net.ipv4.conf.default.log_martians = 0
                net.ipv4.conf.default.mc_forwarding = 0
                net.ipv4.conf.default.medium_id = 0
                net.ipv4.conf.default.promote_secondaries = 0
                net.ipv4.conf.default.proxy_arp = 0
                net.ipv4.conf.default.proxy_arp_pvlan = 0
                net.ipv4.conf.default.rp_filter = 0
                net.ipv4.conf.default.secure_redirects = 1
                net.ipv4.conf.default.send_redirects = 1
                net.ipv4.conf.default.shared_media = 1
                net.ipv4.conf.default.src_valid_mark = 0
                net.ipv4.conf.default.tag = 0
                net.ipv4.conf.eth0.accept_local = 0
                net.ipv4.conf.eth0.accept_redirects = 1
                net.ipv4.conf.eth0.accept_source_route = 1
                net.ipv4.conf.eth0.arp_accept = 0
                net.ipv4.conf.eth0.arp_announce = 0
                net.ipv4.conf.eth0.arp_filter = 0
                net.ipv4.conf.eth0.arp_ignore = 0
                net.ipv4.conf.eth0.arp_notify = 0
                net.ipv4.conf.eth0.bootp_relay = 0
                net.ipv4.conf.eth0.disable_policy = 0
                net.ipv4.conf.eth0.disable_xfrm = 0
                net.ipv4.conf.eth0.force_igmp_version = 0
                net.ipv4.conf.eth0.forwarding = 0
                net.ipv4.conf.eth0.log_martians = 0
                net.ipv4.conf.eth0.mc_forwarding = 0
                net.ipv4.conf.eth0.medium_id = 0
                net.ipv4.conf.eth0.promote_secondaries = 0
                net.ipv4.conf.eth0.proxy_arp = 0
                net.ipv4.conf.eth0.proxy_arp_pvlan = 0
                net.ipv4.conf.eth0.rp_filter = 0
                net.ipv4.conf.eth0.secure_redirects = 1
                net.ipv4.conf.eth0.send_redirects = 1
                net.ipv4.conf.eth0.shared_media = 1
                net.ipv4.conf.eth0.src_valid_mark = 0
                net.ipv4.conf.eth0.tag = 0
                net.ipv4.conf.lo.accept_local = 0
                net.ipv4.conf.lo.accept_redirects = 1
                net.ipv4.conf.lo.accept_source_route = 1
                net.ipv4.conf.lo.arp_accept = 0
                net.ipv4.conf.lo.arp_announce = 0
                net.ipv4.conf.lo.arp_filter = 0
                net.ipv4.conf.lo.arp_ignore = 0
                net.ipv4.conf.lo.arp_notify = 0
                net.ipv4.conf.lo.bootp_relay = 0
                net.ipv4.conf.lo.disable_policy = 1
                net.ipv4.conf.lo.disable_xfrm = 1
                net.ipv4.conf.lo.force_igmp_version = 0
                net.ipv4.conf.lo.forwarding = 0
                net.ipv4.conf.lo.log_martians = 0
                net.ipv4.conf.lo.mc_forwarding = 0
                net.ipv4.conf.lo.medium_id = 0
                net.ipv4.conf.lo.promote_secondaries = 0
                net.ipv4.conf.lo.proxy_arp = 0
                net.ipv4.conf.lo.proxy_arp_pvlan = 0
                net.ipv4.conf.lo.rp_filter = 0
                net.ipv4.conf.lo.secure_redirects = 1
                net.ipv4.conf.lo.send_redirects = 1
                net.ipv4.conf.lo.shared_media = 1
                net.ipv4.conf.lo.src_valid_mark = 0
                net.ipv4.conf.lo.tag = 0
                net.ipv4.icmp_echo_ignore_all = 0
                net.ipv4.icmp_echo_ignore_broadcasts = 1
                net.ipv4.icmp_errors_use_inbound_ifaddr = 0
                net.ipv4.icmp_ignore_bogus_error_responses = 1
                net.ipv4.icmp_ratelimit = 1000
                net.ipv4.icmp_ratemask = 6168
                net.ipv4.igmp_max_memberships = 20
                net.ipv4.igmp_max_msf = 10
                net.ipv4.inet_peer_maxttl = 600
                net.ipv4.inet_peer_minttl = 120
                net.ipv4.inet_peer_threshold = 65664
                net.ipv4.ip_default_ttl = 64
                net.ipv4.ip_dynaddr = 0
                net.ipv4.ip_forward = 0
                net.ipv4.ip_local_port_range = 32768    61000
                net.ipv4.ip_local_reserved_ports = 
                net.ipv4.ip_no_pmtu_disc = 0
                net.ipv4.ip_nonlocal_bind = 0
                net.ipv4.ipfrag_high_thresh = 262144
                net.ipv4.ipfrag_low_thresh = 196608
                net.ipv4.ipfrag_max_dist = 64
                net.ipv4.ipfrag_secret_interval = 600
                net.ipv4.ipfrag_time = 30
                net.ipv4.neigh.default.anycast_delay = 99
                net.ipv4.neigh.default.app_solicit = 0
                net.ipv4.neigh.default.base_reachable_time_ms = 30000
                net.ipv4.neigh.default.delay_first_probe_time = 5
                net.ipv4.neigh.default.gc_interval = 30
                net.ipv4.neigh.default.gc_stale_time = 60
                net.ipv4.neigh.default.gc_thresh1 = 128
                net.ipv4.neigh.default.gc_thresh2 = 512
                net.ipv4.neigh.default.gc_thresh3 = 1024
                net.ipv4.neigh.default.locktime = 99
                net.ipv4.neigh.default.mcast_solicit = 3
                net.ipv4.neigh.default.proxy_delay = 79
                net.ipv4.neigh.default.proxy_qlen = 64
                net.ipv4.neigh.default.retrans_time_ms = 1000
                net.ipv4.neigh.default.ucast_solicit = 3
                net.ipv4.neigh.default.unres_qlen = 32
                net.ipv4.neigh.default.unres_qlen_bytes = 65536
                net.ipv4.neigh.eth0.anycast_delay = 99
                net.ipv4.neigh.eth0.app_solicit = 0
                net.ipv4.neigh.eth0.base_reachable_time_ms = 30000
                net.ipv4.neigh.eth0.delay_first_probe_time = 5
                net.ipv4.neigh.eth0.gc_stale_time = 60
                net.ipv4.neigh.eth0.locktime = 99
                net.ipv4.neigh.eth0.mcast_solicit = 3
                net.ipv4.neigh.eth0.proxy_delay = 79
                net.ipv4.neigh.eth0.proxy_qlen = 64
                net.ipv4.neigh.eth0.retrans_time_ms = 1000
                net.ipv4.neigh.eth0.ucast_solicit = 3
                net.ipv4.neigh.eth0.unres_qlen = 32
                net.ipv4.neigh.eth0.unres_qlen_bytes = 65536
                net.ipv4.neigh.lo.anycast_delay = 99
                net.ipv4.neigh.lo.app_solicit = 0
                net.ipv4.neigh.lo.base_reachable_time_ms = 30000
                net.ipv4.neigh.lo.delay_first_probe_time = 5
                net.ipv4.neigh.lo.gc_stale_time = 60
                net.ipv4.neigh.lo.locktime = 99
                net.ipv4.neigh.lo.mcast_solicit = 3
                net.ipv4.neigh.lo.proxy_delay = 79
                net.ipv4.neigh.lo.proxy_qlen = 64
                net.ipv4.neigh.lo.retrans_time_ms = 1000
                net.ipv4.neigh.lo.ucast_solicit = 3
                net.ipv4.neigh.lo.unres_qlen = 32
                net.ipv4.neigh.lo.unres_qlen_bytes = 65536
                net.ipv4.ping_group_range = 1   0
                net.ipv4.route.error_burst = 1500
                net.ipv4.route.error_cost = 300
                net.ipv4.route.gc_elasticity = 8
                net.ipv4.route.gc_interval = 60
                net.ipv4.route.gc_min_interval = 0
                net.ipv4.route.gc_min_interval_ms = 500
                net.ipv4.route.gc_thresh = 262144
                net.ipv4.route.gc_timeout = 300
                net.ipv4.route.max_size = 4194304
                net.ipv4.route.min_adv_mss = 256
                net.ipv4.route.min_pmtu = 552
                net.ipv4.route.mtu_expires = 600
                net.ipv4.route.redirect_load = 6
                net.ipv4.route.redirect_number = 9
                net.ipv4.route.redirect_silence = 6144
                net.ipv4.rt_cache_rebuild_count = 4
                net.ipv4.tcp_abc = 0
                net.ipv4.tcp_abort_on_overflow = 0
                net.ipv4.tcp_adv_win_scale = 1
                net.ipv4.tcp_allowed_congestion_control = cubic reno
                net.ipv4.tcp_app_win = 31
                net.ipv4.tcp_available_congestion_control = cubic reno
                net.ipv4.tcp_base_mss = 512
                net.ipv4.tcp_congestion_control = cubic
                net.ipv4.tcp_cookie_size = 0
                net.ipv4.tcp_dma_copybreak = 4096
                net.ipv4.tcp_dsack = 1
                net.ipv4.tcp_early_retrans = 2
                net.ipv4.tcp_ecn = 2
                net.ipv4.tcp_fack = 1
                net.ipv4.tcp_fin_timeout = 60
                net.ipv4.tcp_frto = 2
                net.ipv4.tcp_frto_response = 0
                net.ipv4.tcp_keepalive_intvl = 75
                net.ipv4.tcp_keepalive_probes = 9
                net.ipv4.tcp_keepalive_time = 7200
                net.ipv4.tcp_low_latency = 0
                net.ipv4.tcp_max_orphans = 262144
                net.ipv4.tcp_max_ssthresh = 0
                net.ipv4.tcp_max_syn_backlog = 2048
                net.ipv4.tcp_max_tw_buckets = 262144
                net.ipv4.tcp_mem = 183531       244709  367062
                net.ipv4.tcp_moderate_rcvbuf = 1
                net.ipv4.tcp_mtu_probing = 0
                net.ipv4.tcp_no_metrics_save = 0
                net.ipv4.tcp_orphan_retries = 0
                net.ipv4.tcp_reordering = 3
                net.ipv4.tcp_retrans_collapse = 1
                net.ipv4.tcp_retries1 = 3
                net.ipv4.tcp_retries2 = 15
                net.ipv4.tcp_rfc1337 = 0
                net.ipv4.tcp_rmem = 4096        87380   6291456
                net.ipv4.tcp_sack = 1
                net.ipv4.tcp_slow_start_after_idle = 1
                net.ipv4.tcp_stdurg = 0
                net.ipv4.tcp_syn_retries = 5
                net.ipv4.tcp_synack_retries = 5
                net.ipv4.tcp_syncookies = 1
                net.ipv4.tcp_thin_dupack = 0
                net.ipv4.tcp_thin_linear_timeouts = 0
                net.ipv4.tcp_timestamps = 1
                net.ipv4.tcp_tso_win_divisor = 3
                net.ipv4.tcp_tw_recycle = 0
                net.ipv4.tcp_tw_reuse = 0
                net.ipv4.tcp_window_scaling = 1
                net.ipv4.tcp_wmem = 4096        16384   4194304
                net.ipv4.tcp_workaround_signed_windows = 0
                net.ipv4.udp_mem = 185907       247876  371814
                net.ipv4.udp_rmem_min = 4096
                net.ipv4.udp_wmem_min = 4096
                net.ipv4.xfrm4_gc_thresh = 2097152
                net.ipv6.bindv6only = 0
                net.ipv6.conf.all.accept_dad = 1
                net.ipv6.conf.all.accept_ra = 1
                net.ipv6.conf.all.accept_ra_defrtr = 1
                net.ipv6.conf.all.accept_ra_pinfo = 1
                net.ipv6.conf.all.accept_ra_rt_info_max_plen = 0
                net.ipv6.conf.all.accept_ra_rtr_pref = 1
                net.ipv6.conf.all.accept_redirects = 1
                net.ipv6.conf.all.accept_source_route = 0
                net.ipv6.conf.all.autoconf = 1
                net.ipv6.conf.all.dad_transmits = 1
                net.ipv6.conf.all.disable_ipv6 = 0
                net.ipv6.conf.all.force_mld_version = 0
                net.ipv6.conf.all.force_tllao = 0
                net.ipv6.conf.all.forwarding = 0
                net.ipv6.conf.all.hop_limit = 64
                net.ipv6.conf.all.max_addresses = 16
                net.ipv6.conf.all.max_desync_factor = 600
                net.ipv6.conf.all.mtu = 1280
                net.ipv6.conf.all.optimistic_dad = 0
                net.ipv6.conf.all.proxy_ndp = 0
                net.ipv6.conf.all.regen_max_retry = 3
                net.ipv6.conf.all.router_probe_interval = 60
                net.ipv6.conf.all.router_solicitation_delay = 1
                net.ipv6.conf.all.router_solicitation_interval = 4
                net.ipv6.conf.all.router_solicitations = 3
                net.ipv6.conf.all.temp_prefered_lft = 86400
                net.ipv6.conf.all.temp_valid_lft = 604800
                net.ipv6.conf.all.use_tempaddr = 0
                net.ipv6.conf.default.accept_dad = 1
                net.ipv6.conf.default.accept_ra = 1
                net.ipv6.conf.default.accept_ra_defrtr = 1
                net.ipv6.conf.default.accept_ra_pinfo = 1
                net.ipv6.conf.default.accept_ra_rt_info_max_plen = 0
                net.ipv6.conf.default.accept_ra_rtr_pref = 1
                net.ipv6.conf.default.accept_redirects = 1
                net.ipv6.conf.default.accept_source_route = 0
                net.ipv6.conf.default.autoconf = 1
                net.ipv6.conf.default.dad_transmits = 1
                net.ipv6.conf.default.disable_ipv6 = 0
                net.ipv6.conf.default.force_mld_version = 0
                net.ipv6.conf.default.force_tllao = 0
                net.ipv6.conf.default.forwarding = 0
                net.ipv6.conf.default.hop_limit = 64
                net.ipv6.conf.default.max_addresses = 16
                net.ipv6.conf.default.max_desync_factor = 600
                net.ipv6.conf.default.mtu = 1280
                net.ipv6.conf.default.optimistic_dad = 0
                net.ipv6.conf.default.proxy_ndp = 0
                net.ipv6.conf.default.regen_max_retry = 3
                net.ipv6.conf.default.router_probe_interval = 60
                net.ipv6.conf.default.router_solicitation_delay = 1
                net.ipv6.conf.default.router_solicitation_interval = 4
                net.ipv6.conf.default.router_solicitations = 3
                net.ipv6.conf.default.temp_prefered_lft = 86400
                net.ipv6.conf.default.temp_valid_lft = 604800
                net.ipv6.conf.default.use_tempaddr = 0
                net.ipv6.conf.eth0.accept_dad = 1
                net.ipv6.conf.eth0.accept_ra = 0
                net.ipv6.conf.eth0.accept_ra_defrtr = 1
                net.ipv6.conf.eth0.accept_ra_pinfo = 1
                net.ipv6.conf.eth0.accept_ra_rt_info_max_plen = 0
                net.ipv6.conf.eth0.accept_ra_rtr_pref = 1
                net.ipv6.conf.eth0.accept_redirects = 1
                net.ipv6.conf.eth0.accept_source_route = 0
                net.ipv6.conf.eth0.autoconf = 1
                net.ipv6.conf.eth0.dad_transmits = 1
                net.ipv6.conf.eth0.disable_ipv6 = 0
                net.ipv6.conf.eth0.force_mld_version = 0
                net.ipv6.conf.eth0.force_tllao = 0
                net.ipv6.conf.eth0.forwarding = 0
                net.ipv6.conf.eth0.hop_limit = 64
                net.ipv6.conf.eth0.max_addresses = 16
                net.ipv6.conf.eth0.max_desync_factor = 600
                net.ipv6.conf.eth0.mtu = 1500
                net.ipv6.conf.eth0.optimistic_dad = 0
                net.ipv6.conf.eth0.proxy_ndp = 0
                net.ipv6.conf.eth0.regen_max_retry = 3
                net.ipv6.conf.eth0.router_probe_interval = 60
                net.ipv6.conf.eth0.router_solicitation_delay = 1
                net.ipv6.conf.eth0.router_solicitation_interval = 4
                net.ipv6.conf.eth0.router_solicitations = 3
                net.ipv6.conf.eth0.temp_prefered_lft = 86400
                net.ipv6.conf.eth0.temp_valid_lft = 604800
                net.ipv6.conf.eth0.use_tempaddr = 0
                net.ipv6.conf.lo.accept_dad = -1
                net.ipv6.conf.lo.accept_ra = 1
                net.ipv6.conf.lo.accept_ra_defrtr = 1
                net.ipv6.conf.lo.accept_ra_pinfo = 1
                net.ipv6.conf.lo.accept_ra_rt_info_max_plen = 0
                net.ipv6.conf.lo.accept_ra_rtr_pref = 1
                net.ipv6.conf.lo.accept_redirects = 1
                net.ipv6.conf.lo.accept_source_route = 0
                net.ipv6.conf.lo.autoconf = 1
                net.ipv6.conf.lo.dad_transmits = 1
                net.ipv6.conf.lo.disable_ipv6 = 0
                net.ipv6.conf.lo.force_mld_version = 0
                net.ipv6.conf.lo.force_tllao = 0
                net.ipv6.conf.lo.forwarding = 0
                net.ipv6.conf.lo.hop_limit = 64
                net.ipv6.conf.lo.max_addresses = 16
                net.ipv6.conf.lo.max_desync_factor = 600
                net.ipv6.conf.lo.mtu = 16436
                net.ipv6.conf.lo.optimistic_dad = 0
                net.ipv6.conf.lo.proxy_ndp = 0
                net.ipv6.conf.lo.regen_max_retry = 3
                net.ipv6.conf.lo.router_probe_interval = 60
                net.ipv6.conf.lo.router_solicitation_delay = 1
                net.ipv6.conf.lo.router_solicitation_interval = 4
                net.ipv6.conf.lo.router_solicitations = 3
                net.ipv6.conf.lo.temp_prefered_lft = 86400
                net.ipv6.conf.lo.temp_valid_lft = 604800
                net.ipv6.conf.lo.use_tempaddr = -1
                net.ipv6.icmp.ratelimit = 1000
                net.ipv6.ip6frag_high_thresh = 262144
                net.ipv6.ip6frag_low_thresh = 196608
                net.ipv6.ip6frag_secret_interval = 600
                net.ipv6.ip6frag_time = 60
                net.ipv6.mld_max_msf = 64
                net.ipv6.neigh.default.anycast_delay = 99
                net.ipv6.neigh.default.app_solicit = 0
                net.ipv6.neigh.default.base_reachable_time_ms = 30000
                net.ipv6.neigh.default.delay_first_probe_time = 5
                net.ipv6.neigh.default.gc_interval = 30
                net.ipv6.neigh.default.gc_stale_time = 60
                net.ipv6.neigh.default.gc_thresh1 = 128
                net.ipv6.neigh.default.gc_thresh2 = 512
                net.ipv6.neigh.default.gc_thresh3 = 1024
                net.ipv6.neigh.default.locktime = 0
                net.ipv6.neigh.default.mcast_solicit = 3
                net.ipv6.neigh.default.proxy_delay = 79
                net.ipv6.neigh.default.proxy_qlen = 64
                net.ipv6.neigh.default.retrans_time_ms = 1000
                net.ipv6.neigh.default.ucast_solicit = 3
                net.ipv6.neigh.default.unres_qlen = 32
                net.ipv6.neigh.default.unres_qlen_bytes = 65536
                net.ipv6.neigh.eth0.anycast_delay = 99
                net.ipv6.neigh.eth0.app_solicit = 0
                net.ipv6.neigh.eth0.base_reachable_time_ms = 30000
                net.ipv6.neigh.eth0.delay_first_probe_time = 5
                net.ipv6.neigh.eth0.gc_stale_time = 60
                net.ipv6.neigh.eth0.locktime = 0
                net.ipv6.neigh.eth0.mcast_solicit = 3
                net.ipv6.neigh.eth0.proxy_delay = 79
                net.ipv6.neigh.eth0.proxy_qlen = 64
                net.ipv6.neigh.eth0.retrans_time_ms = 1000
                net.ipv6.neigh.eth0.ucast_solicit = 3
                net.ipv6.neigh.eth0.unres_qlen = 32
                net.ipv6.neigh.eth0.unres_qlen_bytes = 65536
                net.ipv6.neigh.lo.anycast_delay = 99
                net.ipv6.neigh.lo.app_solicit = 0
                net.ipv6.neigh.lo.base_reachable_time_ms = 30000
                net.ipv6.neigh.lo.delay_first_probe_time = 5
                net.ipv6.neigh.lo.gc_stale_time = 60
                net.ipv6.neigh.lo.locktime = 0
                net.ipv6.neigh.lo.mcast_solicit = 3
                net.ipv6.neigh.lo.proxy_delay = 79
                net.ipv6.neigh.lo.proxy_qlen = 64
                net.ipv6.neigh.lo.retrans_time_ms = 1000
                net.ipv6.neigh.lo.ucast_solicit = 3
                net.ipv6.neigh.lo.unres_qlen = 32
                net.ipv6.neigh.lo.unres_qlen_bytes = 65536
                net.ipv6.route.gc_elasticity = 9
                net.ipv6.route.gc_interval = 30
                net.ipv6.route.gc_min_interval = 0
                net.ipv6.route.gc_min_interval_ms = 500
                net.ipv6.route.gc_thresh = 1024
                net.ipv6.route.gc_timeout = 60
                net.ipv6.route.max_size = 4096
                net.ipv6.route.min_adv_mss = 1220
                net.ipv6.route.mtu_expires = 600
                net.ipv6.xfrm6_gc_thresh = 2048
                net.netfilter.nf_log.0 = NONE
                net.netfilter.nf_log.1 = NONE
                net.netfilter.nf_log.10 = NONE
                net.netfilter.nf_log.11 = NONE
                net.netfilter.nf_log.12 = NONE
                net.netfilter.nf_log.2 = NONE
                net.netfilter.nf_log.3 = NONE
                net.netfilter.nf_log.4 = NONE
                net.netfilter.nf_log.5 = NONE
                net.netfilter.nf_log.6 = NONE
                net.netfilter.nf_log.7 = NONE
                net.netfilter.nf_log.8 = NONE
                net.netfilter.nf_log.9 = NONE
                net.unix.max_dgram_qlen = 10
                vm.block_dump = 0
                vm.dirty_background_bytes = 0
                vm.dirty_background_ratio = 5
                vm.dirty_bytes = 0
                vm.dirty_expire_centisecs = 3000
                vm.dirty_ratio = 10
                vm.dirty_writeback_centisecs = 500
                vm.drop_caches = 0
                vm.extfrag_threshold = 500
                vm.hugepages_treat_as_movable = 0
                vm.hugetlb_shm_group = 0
                vm.laptop_mode = 0
                vm.legacy_va_layout = 0
                vm.lowmem_reserve_ratio = 256   256     32
                vm.max_map_count = 65530
                vm.memory_failure_early_kill = 0
                vm.memory_failure_recovery = 1
                vm.min_free_kbytes = 67584
                vm.min_slab_ratio = 5
                vm.min_unmapped_ratio = 1
                vm.mmap_min_addr = 4096
                vm.nr_hugepages = 0
                vm.nr_hugepages_mempolicy = 0
                vm.nr_overcommit_hugepages = 0
                vm.nr_pdflush_threads = 0
                vm.numa_zonelist_order = default
                vm.oom_dump_tasks = 1
                vm.oom_kill_allocating_task = 0
                vm.overcommit_memory = 0
                vm.overcommit_ratio = 50
                vm.page-cluster = 3
                vm.panic_on_oom = 0
                vm.percpu_pagelist_fraction = 0
                vm.scan_unevictable_pages = 0
                vm.stat_interval = 1
                vm.swappiness = 60
                vm.vfs_cache_pressure = 100
                vm.zone_reclaim_mode = 0
                
                
                • [^] # Re: Pas de DHCP

                  Posté par  . Évalué à 1.

                  Pour moi net.ipv6.conf.eth0.accept_ra = 0 devrait être à 1.

                  Sinon tu peux utiliser rdisc6 pour faire des requêtes "Router Discovery" et voir les réponses.

                  • [^] # Re: Pas de DHCP

                    Posté par  . Évalué à 1.

                    En effet, c'est sans doute la cause du problème.
                    Tu peux nous donner le contenu de ton fichier /etc/sysctl.conf (et, s'il y en a, le contenu des fichiers du répertoire /etc/sysctl.d) ?

                    Pour tester le fonctionnement du RA sans toucher au fichier sysctl.conf, tape la commande suivante :
                    # sysctl -w net.ipv6.conf.eth0.accept_ra = 1

                    • [^] # Re: Pas de DHCP

                      Posté par  . Évalué à 2.

                      Le dossioer sysctl.d est vide et voici le contenu de sysctl.conf

                      # Configuration file for runtime kernel parameters.
                      # See sysctl.conf(5) for more information.
                      
                      # Have the CD-ROM close when you use it, and open when you are done.
                      #dev.cdrom.autoclose = 1
                      #dev.cdrom.autoeject = 1
                      
                      # Protection from the SYN flood attack.
                      net.ipv4.tcp_syncookies = 1
                      
                      # See evil packets in your logs.
                      #net.ipv4.conf.all.log_martians = 1
                      
                      # Never accept redirects or source routes (these are only useful for routers).
                      #net.ipv4.conf.all.accept_redirects = 0
                      #net.ipv4.conf.all.accept_source_route = 0
                      #net.ipv6.conf.all.accept_redirects = 0
                      #net.ipv6.conf.all.accept_source_route = 0
                      
                      # Disable packet forwarding.
                      net.ipv4.ip_forward = 0
                      net.ipv6.conf.all.forwarding = 0
                      
                      # Tweak the port range used for outgoing connections.
                      #net.ipv4.ip_local_port_range = 32768 61000
                      
                      # Tweak those values to alter disk syncing and swap behavior.
                      #vm.vfs_cache_pressure = 100
                      #vm.laptop_mode = 0
                      #vm.swappiness = 60
                      
                      # Tweak how the flow of kernel messages is throttled.
                      #kernel.printk_ratelimit_burst = 10
                      #kernel.printk_ratelimit = 5
                      
                      # Reboot 600 seconds after kernel panic or oops.
                      #kernel.panic_on_oops = 1
                      #kernel.panic = 600
                      
                      # Disable SysRq key to avoid console security issues.
                      kernel.sysrq = 0
                      
                      

                      Ensuite j'ai testé rdisc6 --single eth0 avant et après avoir modifié la règle sysctl qui donne cette réponse dans les deux cas :

                      Solicitation de ff02::2 (ff02::2) sur eth0...
                      Expiré.
                      Expiré.
                      Expiré.
                      Pas de réponse.
                      
                      
                      • [^] # Re: Pas de DHCP

                        Posté par  (site web personnel) . Évalué à 0.

                        Tu es sur que ton routeur gère correctement le V6 ? la majorité des boites noir chinoises ne le font pas.

                        Si tu lances Wireshark sur ta carte ethernet, tu dois avoir des trames de type "router avertisement" toutes les X secondes.

                        Si ce n'est pas le cas, tu as un problème de topologie.

                    • [^] # Re: Pas de DHCP

                      Posté par  . Évalué à 2.

                      Sur une autre machine on peut récupérer ceci :

                      rdisc6 --single wlan0
                      Solicitation de ff02::2 (ff02::2) sur wlan0...
                      
                      Limite de saut (TTL)      :           64 (      0x40)
                      Conf. d’adresse par DHCP  :          Non
                      Autres réglages par DHCP  :          Non
                      Agent domestique (mobile) :          Non
                      Préférence du routeur     :        moyen
                      Proxy (découverte voisin) :          Non
                      Durée de vie du routeur   :         1800 (0x00000708) secondes
                      Temps d’atteinte          :  non indiqué (0x00000000)
                      Temps de retransmission   :  non indiqué (0x00000000)
                       Préfixe                  : 2a01:e35:8ab6:2720::/64
                        Sur le lien (on-link)   :          Oui
                        Conf. autonome d’adresse:          Oui
                        Durée de validité       :        86400 (0x00015180) secondes
                        Durée de préférence     :        86400 (0x00015180) secondes
                       Serveur DNS récursif     : 2a01:e00::2
                       Serveur DNS récursif     : 2a01:e00::1
                        Validité des serveurs   :          600 (0x00000258) secondes
                       MTU                      :         1480 octets (valide)
                       Adresse source de lien   : 00:24:D4:B3:0E:53
                       de fe80::224:d4ff:feb3:e53
                      
                      
  • # noyau sans support ipv6 ?

    Posté par  . Évalué à 1.

    sur ubuntu le noyau est ipv6 par defaut, mais on peut le desactiver au boot en lui disant ipv6.disable=1 sur la ligne de grub

    ta distrib fait peut-etre l'inverse, elle desactive pour l'instant l'ipv6 par defaut ?

    • [^] # Re: noyau sans support ipv6 ?

      Posté par  (site web personnel) . Évalué à 2.

      Je ne pense pas. Son interface eth0 possède une adresse de lien local.

      Système - Réseau - Sécurité Open Source - Ouvert à de nouvelles opportunités

    • [^] # Re: noyau sans support ipv6 ?

      Posté par  . Évalué à 2.

      J'ai plus le sentiment que c'est la carte réseau qui est casse-bonbon puisque j'ai une autre machine qui est se connecte parfaitement en IPv6 sans poser le moindre soucis.

      • [^] # Re: noyau sans support ipv6 ?

        Posté par  . Évalué à 1.

        Je me suis rendu compte que IPv6 était installé sur mon serveur et que c'était un peu opération porte ouverte puisque je n'avais pas réfléchit à la question.

        Un petit ping6 www.google.com permet de voir si IPv6 "marche" pour un débutant comme moi.

        Ensuite on peut faire des tests comme ssh -6 et autres pour les différents logiciels. De ce que j'ai pu constater, il est souvent difficile de savoir par quoi on passe sauf à spécifier une adresse IPv6 ou une option particulière qui n'existe pas toujours.

        Autrement, pour iptables ca marche pareil (ip6tables) sauf pour le ping :
        ip6tables -t filter -A INPUT -p ipv6-icmp -j ACCEPT

      • [^] # Re: noyau sans support ipv6 ?

        Posté par  . Évalué à 1.

        Ben, sur le PC de ma femme, il y a le même chipset et, visiblement, cela marche.

        03:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 0a)
        Subsystem: CLEVO/KAPOK Computer Device 0240
        Flags: bus master, fast devsel, latency 0, IRQ 47
        I/O ports at e000 [size=256]
        Memory at f0004000 (64-bit, prefetchable) [size=4K]
        Memory at f0000000 (64-bit, prefetchable) [size=16K]
        Capabilities:
        Kernel driver in use: r8169

        Et :

        2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000
        link/ether 00:90:f5:cd:a9:3e brd ff:ff:ff:ff:ff:ff
        inet 192.168.42.150/25 brd 192.168.42.255 scope global eth0
        inet6 2001:xxxx:xxxx:3342:5525:2c4d:5279:b2ab/64 scope global temporary dynamic
        valid_lft 86359sec preferred_lft 14359sec
        inet6 2001:xxxx:xxxx:3342:290:f5ff:fecd:a93e/64 scope global dynamic
        valid_lft 86359sec preferred_lft 14359sec
        inet6 fe80::290:f5ff:fecd:a93e/64 scope link
        valid_lft forever preferred_lft forever

        • [^] # Re: noyau sans support ipv6 ?

          Posté par  . Évalué à 1.

          Si cela peut t'aider, voilà la sortie de la commande sysctl net.ipv6.conf :

          # sysctl net.ipv6.conf
          net.ipv6.conf.all.accept_dad = 1
          net.ipv6.conf.all.accept_ra = 1
          net.ipv6.conf.all.accept_ra_defrtr = 1
          net.ipv6.conf.all.accept_ra_pinfo = 1
          net.ipv6.conf.all.accept_ra_rt_info_max_plen = 0
          net.ipv6.conf.all.accept_ra_rtr_pref = 1
          net.ipv6.conf.all.accept_redirects = 1
          net.ipv6.conf.all.accept_source_route = 0
          net.ipv6.conf.all.autoconf = 1
          net.ipv6.conf.all.dad_transmits = 1
          net.ipv6.conf.all.disable_ipv6 = 0
          net.ipv6.conf.all.force_mld_version = 0
          net.ipv6.conf.all.force_tllao = 0
          net.ipv6.conf.all.forwarding = 0
          net.ipv6.conf.all.hop_limit = 64
          net.ipv6.conf.all.max_addresses = 16
          net.ipv6.conf.all.max_desync_factor = 600
          net.ipv6.conf.all.mtu = 1280
          net.ipv6.conf.all.optimistic_dad = 0
          net.ipv6.conf.all.proxy_ndp = 0
          net.ipv6.conf.all.regen_max_retry = 3
          net.ipv6.conf.all.router_probe_interval = 60
          net.ipv6.conf.all.router_solicitation_delay = 1
          net.ipv6.conf.all.router_solicitation_interval = 4
          net.ipv6.conf.all.router_solicitations = 3
          net.ipv6.conf.all.temp_prefered_lft = 86400
          net.ipv6.conf.all.temp_valid_lft = 604800
          net.ipv6.conf.all.use_tempaddr = 2
          net.ipv6.conf.default.accept_dad = 1
          net.ipv6.conf.default.accept_ra = 1
          net.ipv6.conf.default.accept_ra_defrtr = 1
          net.ipv6.conf.default.accept_ra_pinfo = 1
          net.ipv6.conf.default.accept_ra_rt_info_max_plen = 0
          net.ipv6.conf.default.accept_ra_rtr_pref = 1
          net.ipv6.conf.default.accept_redirects = 1
          net.ipv6.conf.default.accept_source_route = 0
          net.ipv6.conf.default.autoconf = 1
          net.ipv6.conf.default.dad_transmits = 1
          net.ipv6.conf.default.disable_ipv6 = 0
          net.ipv6.conf.default.force_mld_version = 0
          net.ipv6.conf.default.force_tllao = 0
          net.ipv6.conf.default.forwarding = 0
          net.ipv6.conf.default.hop_limit = 64
          net.ipv6.conf.default.max_addresses = 16
          net.ipv6.conf.default.max_desync_factor = 600
          net.ipv6.conf.default.mtu = 1280
          net.ipv6.conf.default.optimistic_dad = 0
          net.ipv6.conf.default.proxy_ndp = 0
          net.ipv6.conf.default.regen_max_retry = 3
          net.ipv6.conf.default.router_probe_interval = 60
          net.ipv6.conf.default.router_solicitation_delay = 1
          net.ipv6.conf.default.router_solicitation_interval = 4
          net.ipv6.conf.default.router_solicitations = 3
          net.ipv6.conf.default.temp_prefered_lft = 86400
          net.ipv6.conf.default.temp_valid_lft = 604800
          net.ipv6.conf.default.use_tempaddr = 2
          net.ipv6.conf.eth0.accept_dad = 1
          net.ipv6.conf.eth0.accept_ra = 2
          net.ipv6.conf.eth0.accept_ra_defrtr = 1
          net.ipv6.conf.eth0.accept_ra_pinfo = 1
          net.ipv6.conf.eth0.accept_ra_rt_info_max_plen = 0
          net.ipv6.conf.eth0.accept_ra_rtr_pref = 1
          net.ipv6.conf.eth0.accept_redirects = 1
          net.ipv6.conf.eth0.accept_source_route = 0
          net.ipv6.conf.eth0.autoconf = 1
          net.ipv6.conf.eth0.dad_transmits = 1
          net.ipv6.conf.eth0.disable_ipv6 = 0
          net.ipv6.conf.eth0.force_mld_version = 0
          net.ipv6.conf.eth0.force_tllao = 0
          net.ipv6.conf.eth0.forwarding = 0
          net.ipv6.conf.eth0.hop_limit = 64
          net.ipv6.conf.eth0.max_addresses = 16
          net.ipv6.conf.eth0.max_desync_factor = 600
          net.ipv6.conf.eth0.mtu = 1500
          net.ipv6.conf.eth0.optimistic_dad = 0
          net.ipv6.conf.eth0.proxy_ndp = 0
          net.ipv6.conf.eth0.regen_max_retry = 3
          net.ipv6.conf.eth0.router_probe_interval = 60
          net.ipv6.conf.eth0.router_solicitation_delay = 1
          net.ipv6.conf.eth0.router_solicitation_interval = 4
          net.ipv6.conf.eth0.router_solicitations = 3
          net.ipv6.conf.eth0.temp_prefered_lft = 86400
          net.ipv6.conf.eth0.temp_valid_lft = 604800
          net.ipv6.conf.eth0.use_tempaddr = 2
          net.ipv6.conf.lo.accept_dad = -1
          net.ipv6.conf.lo.accept_ra = 1
          net.ipv6.conf.lo.accept_ra_defrtr = 1
          net.ipv6.conf.lo.accept_ra_pinfo = 1
          net.ipv6.conf.lo.accept_ra_rt_info_max_plen = 0
          net.ipv6.conf.lo.accept_ra_rtr_pref = 1
          net.ipv6.conf.lo.accept_redirects = 1
          net.ipv6.conf.lo.accept_source_route = 0
          net.ipv6.conf.lo.autoconf = 1
          net.ipv6.conf.lo.dad_transmits = 1
          net.ipv6.conf.lo.disable_ipv6 = 0
          net.ipv6.conf.lo.force_mld_version = 0
          net.ipv6.conf.lo.force_tllao = 0
          net.ipv6.conf.lo.forwarding = 0
          net.ipv6.conf.lo.hop_limit = 64
          net.ipv6.conf.lo.max_addresses = 16
          net.ipv6.conf.lo.max_desync_factor = 600
          net.ipv6.conf.lo.mtu = 16436
          net.ipv6.conf.lo.optimistic_dad = 0
          net.ipv6.conf.lo.proxy_ndp = 0
          net.ipv6.conf.lo.regen_max_retry = 3
          net.ipv6.conf.lo.router_probe_interval = 60
          net.ipv6.conf.lo.router_solicitation_delay = 1
          net.ipv6.conf.lo.router_solicitation_interval = 4
          net.ipv6.conf.lo.router_solicitations = 3
          net.ipv6.conf.lo.temp_prefered_lft = 86400
          net.ipv6.conf.lo.temp_valid_lft = 604800
          net.ipv6.conf.lo.use_tempaddr = -1
          net.ipv6.conf.wlan0.accept_dad = 1
          net.ipv6.conf.wlan0.accept_ra = 0
          net.ipv6.conf.wlan0.accept_ra_defrtr = 1
          net.ipv6.conf.wlan0.accept_ra_pinfo = 1
          net.ipv6.conf.wlan0.accept_ra_rt_info_max_plen = 0
          net.ipv6.conf.wlan0.accept_ra_rtr_pref = 1
          net.ipv6.conf.wlan0.accept_redirects = 1
          net.ipv6.conf.wlan0.accept_source_route = 0
          net.ipv6.conf.wlan0.autoconf = 1
          net.ipv6.conf.wlan0.dad_transmits = 1
          net.ipv6.conf.wlan0.disable_ipv6 = 0
          net.ipv6.conf.wlan0.force_mld_version = 0
          net.ipv6.conf.wlan0.force_tllao = 0
          net.ipv6.conf.wlan0.forwarding = 0
          net.ipv6.conf.wlan0.hop_limit = 64
          net.ipv6.conf.wlan0.max_addresses = 16
          net.ipv6.conf.wlan0.max_desync_factor = 600
          net.ipv6.conf.wlan0.mtu = 1500
          net.ipv6.conf.wlan0.optimistic_dad = 0
          net.ipv6.conf.wlan0.proxy_ndp = 0
          net.ipv6.conf.wlan0.regen_max_retry = 3
          net.ipv6.conf.wlan0.router_probe_interval = 60
          net.ipv6.conf.wlan0.router_solicitation_delay = 1
          net.ipv6.conf.wlan0.router_solicitation_interval = 4
          net.ipv6.conf.wlan0.router_solicitations = 3
          net.ipv6.conf.wlan0.temp_prefered_lft = 86400
          net.ipv6.conf.wlan0.temp_valid_lft = 604800
          net.ipv6.conf.wlan0.use_tempaddr = 0
          
          
          • [^] # Re: noyau sans support ipv6 ?

            Posté par  . Évalué à 2. Dernière modification le 24 septembre 2012 à 22:45.

            J'ai fait en sorte d'avoir les mêmes réglages sans effets apparents. Puis en regardant les trames réseaux avec tcpdump ça a décider à tomber en marche.
            Je verrai au prochain démarrage de conserver ou non tes réglages.

  • # Des fois oui, des fois non

    Posté par  . Évalué à 2.

    J'arrive à avoir une connectivité IPv6 mais elle n'est pas stable.
    Je fais des capture réseaux avec tcpdump -nvvv ip6 et ça marche, j'ai une réponse sur ping6 google.fr. Je stoppe les captures réseaux, quelques minutes plus tard ça ne marche plus, ping6 google.fr me dis que tous les paquets sont perdus.

    • [^] # Re: Des fois oui, des fois non

      Posté par  . Évalué à 3.

      Si mettre la carte en mode promiscuous résoud ton problème, c'est plus un bug de ta carte réseau/driver qu'autre chose.

      Essaye de lancer tcpdump avec l'option -p (sans promiscuous) et regarde si ça continue à ne pas marcher. Puis stoppe la capture et lance ip link set eth0 promisc. Si ça se met à marcher, alors c'est très certainement un bug du driver de ta carte réseau.

      Dans ce cas la, les diagnostics noyau habituels s'appliquent: Donne nous la version de ton noyau, et essaye un noyau plus récent si possible.

Suivre le flux des commentaires

Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.