ping do interfejsow lokalnych

Rafal Maszkowski rzm w icm.edu.pl
Wto, 1 Cze 1999, 19:50:11 MEST


On Tue, Jun 01, 1999 at 07:37:53PM +0200, Robert Milkowski wrote:
> Witam.
> [root w rudy ~]# ping6 ::1
> PING ::1 (::1): 56 data bytes
> --- ::1 ping statistics ---
> 1 packets transmitted, 0 packets received, 100% packet loss

Moze nie masz tego patcha?

Delivered-To: netdev-outgoing w peyote-asesino.nuclecu.unam.mx
From: kuznet w ms2.inr.ac.ru
Subject: Re: Fwd: Questions about IPv6 and ping (FIX)
To: pb w bieringer.DE (Peter Bieringer)
Date:   Wed, 19 May 1999 22:16:18 +0400 (MSK DST)
Cc: netdev w nuclecu.unam.mx, davem w redhat.com (Dave Miller)
In-Reply-To: <3.0.6.32.19990518211503.007cecd0 w mail.bieringer.de> from "Peter Bieringer" at May 19, 99 08:13:05 am
X-Mailer: ELM [version 2.4 PL24]
Precedence: bulk

Hello!

> I get a question relating to IPv6 and a non working ping, can't solve but
> reproduce it. Looks like there is something going wrong somewhere:

I apoliguze, the patch was wrong. Correct one is:

--- ../orig/linux/net/ipv6/icmp.c       Sun Mar 21 17:33:49 1999
+++ linux/net/ipv6/icmp.c       Wed May 19 21:18:06 1999
@@ -315,6 +315,7 @@
        fl.nl_u.ip6_u.daddr = &hdr->saddr;
        fl.nl_u.ip6_u.saddr = saddr;
        fl.oif = iif;
+       fl.fl6_flowlabel = 0;
        fl.uli_u.icmpt.type = type;
        fl.uli_u.icmpt.code = code;

@@ -388,6 +389,7 @@
        fl.nl_u.ip6_u.daddr = &hdr->saddr;
        fl.nl_u.ip6_u.saddr = saddr;
        fl.oif = skb->dev->ifindex;
+       fl.fl6_flowlabel = 0;
        fl.uli_u.icmpt.type = ICMPV6_ECHO_REPLY;
        fl.uli_u.icmpt.code = 0;


Alexey




Więcej informacji o liście dyskusyjnej 6BONE-PL