IPV6 ip getting deleted after ping


 
Thread Tools Search this Thread
Operating Systems Linux IPV6 ip getting deleted after ping
# 1  
Old 05-13-2015
IPV6 ip getting deleted after ping

Hi,

IPV6 ip is getting deleted after ping,

PHP Code:
[root@mindlanf-~]# ifconfig eth4 add 7878:12::10/64 up
[root@mindlanf-~]# ifconfig eth4
eth4      Link encap:Ethernet  HWaddr 00:07:43:05:AA:29
          inet6 addr
fe80::207:43ff:fe05:aa29/64 Scope:Link
          inet6 addr
7878:12::10/64 Scope:Global
          
UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
          RX packets
:24031645 errors:166 dropped:8087 overruns:0 frame:166
          TX packets
:33924594 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000
          RX bytes
:9531309570 (8.8 GiB)  TX bytes:31712244556 (29.5 GiB)
          
Interrupt:56 Memory:fb881000-fb881fff

=======================================

[
root@mindnic-02 ~]# ifconfig eth4 add 7878:12::100/64 up
[root@mindnic-02 ~]# ifconfig eth4
eth4      Link encap:Ethernet  HWaddr 00:07:43:05:9F:7B
          inet6 addr
7878:12::100/64 Scope:Global
          
inet6 addrfe80::207:43ff:fe05:9f7b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          RX packets
:9937950108 errors:169919 dropped:0 overruns:0 frame:169919
          TX packets
:17023336684 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000
          RX bytes
:1016781713179 (946.9 GiB)  TX bytes:23062364317367 (20.9 TiB)
          
Interrupt:169 Memory:e8801000-e8801fff

[root@mindnic-02 ~]#

=========================================

[
root@mindnic-02 ~]# ping6 7878:12::10
PING 7878:12::10(7878:12::1056 data bytes
64 bytes from 7878
:12::10icmp_seq=0 ttl=64 time=0.118 ms
64 bytes from 7878
:12::10icmp_seq=1 ttl=64 time=0.198 ms
64 bytes from 7878
:12::10icmp_seq=2 ttl=64 time=0.193 ms
64 bytes from 7878
:12::10icmp_seq=3 ttl=64 time=0.134 ms
64 bytes from 7878
:12::10icmp_seq=4 ttl=64 time=0.176 ms
64 bytes from 7878
:12::10icmp_seq=5 ttl=64 time=0.193 ms
64 bytes from 7878
:12::10icmp_seq=6 ttl=64 time=0.164 ms
64 bytes from 7878
:12::10icmp_seq=7 ttl=64 time=0.175 ms
64 bytes from 7878
:12::10icmp_seq=8 ttl=64 time=0.165 ms
64 bytes from 7878
:12::10icmp_seq=9 ttl=64 time=0.145 ms
64 bytes from 7878
:12::10icmp_seq=10 ttl=64 time=0.141 ms

==========================================

[
root@mindlanf-~]# ping6 7878:12::100
PING 7878:12::100(7878:12::10056 data bytes
64 bytes from 7878
:12::100icmp_seq=1 ttl=64 time=0.139 ms
64 bytes from 7878
:12::100icmp_seq=2 ttl=64 time=0.137 ms
64 bytes from 7878
:12::100icmp_seq=3 ttl=64 time=0.131 ms
64 bytes from 7878
:12::100icmp_seq=4 ttl=64 time=0.151 ms
64 bytes from 7878
:12::100icmp_seq=5 ttl=64 time=0.135 ms
64 bytes from 7878
:12::100icmp_seq=6 ttl=64 time=0.124 ms
64 bytes from 7878
:12::100icmp_seq=7 ttl=64 time=0.139 ms
64 bytes from 7878
:12::100icmp_seq=8 ttl=64 time=0.137 ms
64 bytes from 7878
:12::100icmp_seq=9 ttl=64 time=0.155 ms
64 bytes from 7878
:12::100icmp_seq=10 ttl=64 time=0.142 ms
64 bytes from 7878
:12::100icmp_seq=11 ttl=64 time=0.130 ms

==============================================

[
root@mindlanf-~]# ethtool eth4
Settings for eth4:
        
Supported ports: [ AUI FIBRE ]
        
Supported link modes:   10000baseT/Full
        Supported pause frame 
use: No
        Supports auto
-negotiationNo
        Advertised link modes
:  Not reported
        Advertised pause frame 
use: No
        Advertised auto
-negotiationNo
        Speed
10000Mb/s
        Duplex
Full
        Port
FIBRE
        PHYAD
0
        Transceiver
external
        Auto
-negotiationoff
        Supports Wake
-ond
        Wake
-ond
        Current message level
0x000000ff (255)
                               
drv probe link timer ifdown ifup rx_err tx_err
        Link detected
yes
[root@mindlanf-~]# ifconfig eth4
eth4      Link encap:Ethernet  HWaddr 00:07:43:05:AA:29
          inet6 addr
fe80::207:43ff:fe05:aa29/64 Scope:Link
          inet6 addr
7878:12::10/64 Scope:Global
          
UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
          RX packets
:24032308 errors:166 dropped:8087 overruns:0 frame:166
          TX packets
:33924696 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000
          RX bytes
:9531366714 (8.8 GiB)  TX bytes:31712256832 (29.5 GiB)
          
Interrupt:56 Memory:fb881000-fb881fff 
now IPV6 ip got erased and ping will stop

PHP Code:
[root@mindlanf-~]# ifconfig eth4
eth4      Link encap:Ethernet  HWaddr 00:07:43:05:AA:29
          inet6 addr
fe80::207:43ff:fe05:aa29/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU
:9000  Metric:1
          RX packets
:24032426 errors:166 dropped:8087 overruns:0 frame:166
          TX packets
:33924717 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000
          RX bytes
:9531376502 (8.8 GiB)  TX bytes:31712259478 (29.5 GiB)
          
Interrupt:56 Memory:fb881000-fb881fff

[root@mindlanf-~]#

============================================

[
root@mindnic-02 ~]# ping6 7878:12::10
PING 7878:12::10(7878:12::1056 data bytes
64 bytes from 7878
:12::10icmp_seq=0 ttl=64 time=0.118 ms
64 bytes from 7878
:12::10icmp_seq=1 ttl=64 time=0.198 ms
64 bytes from 7878
:12::10icmp_seq=2 ttl=64 time=0.193 ms
64 bytes from 7878
:12::10icmp_seq=3 ttl=64 time=0.134 ms
64 bytes from 7878
:12::10icmp_seq=4 ttl=64 time=0.176 ms
64 bytes from 7878
:12::10icmp_seq=5 ttl=64 time=0.193 ms
64 bytes from 7878
:12::10icmp_seq=6 ttl=64 time=0.164 ms
64 bytes from 7878
:12::10icmp_seq=7 ttl=64 time=0.175 ms
64 bytes from 7878
:12::10icmp_seq=8 ttl=64 time=0.165 ms
64 bytes from 7878
:12::10icmp_seq=9 ttl=64 time=0.145 ms
64 bytes from 7878
:12::10icmp_seq=10 ttl=64 time=0.141 ms
64 bytes from 7878
:12::10icmp_seq=11 ttl=64 time=0.212 ms
64 bytes from 7878
:12::10icmp_seq=12 ttl=64 time=0.111 ms
64 bytes from 7878
:12::10icmp_seq=13 ttl=64 time=0.158 ms
64 bytes from 7878
:12::10icmp_seq=14 ttl=64 time=0.246 ms
64 bytes from 7878
:12::10icmp_seq=15 ttl=64 time=0.163 ms
64 bytes from 7878
:12::10icmp_seq=16 ttl=64 time=0.195 ms
64 bytes from 7878
:12::10icmp_seq=17 ttl=64 time=0.203 ms
64 bytes from 7878
:12::10icmp_seq=18 ttl=64 time=0.196 ms
64 bytes from 7878
:12::10icmp_seq=19 ttl=64 time=0.236 ms
64 bytes from 7878
:12::10icmp_seq=20 ttl=64 time=0.199 ms
64 bytes from 7878
:12::10icmp_seq=21 ttl=64 time=0.182 ms
64 bytes from 7878
:12::10icmp_seq=22 ttl=64 time=0.171 ms
64 bytes from 7878
:12::10icmp_seq=23 ttl=64 time=0.213 ms
64 bytes from 7878
:12::10icmp_seq=24 ttl=64 time=0.137 ms
64 bytes from 7878
:12::10icmp_seq=25 ttl=64 time=0.203 ms
64 bytes from 7878
:12::10icmp_seq=26 ttl=64 time=0.170 ms
64 bytes from 7878
:12::10icmp_seq=27 ttl=64 time=0.159 ms
64 bytes from 7878
:12::10icmp_seq=28 ttl=64 time=0.145 ms
64 bytes from 7878
:12::10icmp_seq=29 ttl=64 time=0.154 ms
64 bytes from 7878
:12::10icmp_seq=30 ttl=64 time=0.200 ms
64 bytes from 7878
:12::10icmp_seq=31 ttl=64 time=0.140 ms
64 bytes from 7878
:12::10icmp_seq=32 ttl=64 time=0.147 ms
64 bytes from 7878
:12::10icmp_seq=33 ttl=64 time=0.205 ms
64 bytes from 7878
:12::10icmp_seq=34 ttl=64 time=0.134 ms
64 bytes from 7878
:12::10icmp_seq=35 ttl=64 time=0.142 ms
64 bytes from 7878
:12::10icmp_seq=36 ttl=64 time=0.178 ms
64 bytes from 7878
:12::10icmp_seq=37 ttl=64 time=0.214 ms
64 bytes from 7878
:12::10icmp_seq=38 ttl=64 time=0.201 ms

--- 7878:12::10 ping statistics ---
50 packets transmitted39 received22packet losstime 49005ms
rtt min
/avg/max/mdev 0.111/0.174/0.246/0.035 mspipe 2 
what could be the reason for this, please help me resolve this issue.

Thanks,
Muzaffar
# 2  
Old 05-13-2015
I'm not sure I understand what you describe nor what your question is. I can't see ping6 stopped. What I infer from your samples is that you add an IPv6 address on two different nodes (mindlanf-6 and mindnic-02). Deleting it from one node will keep the ping6 running, in accordance with what we see.
# 3  
Old 05-13-2015
I am not deleting ipv6 adress, once we issue ping command from one client after some time automatically ip will be erased from that interface and ping will stop.
# 4  
Old 05-13-2015
Not much of ipv6 experience i have, but here are some thoughts:

You are setting an IP manualy, have you disabled dhcp?
You are setting a 2nd ipv6 adress to your device.
Code:
          inet6 addr: fe80::207:43ff:fe05:aa29/64 Scope:Link
          inet6 addr: 7878:12::10/64 Scope:Global

To my eyes, the ipv6 you are setting, seems invalid (quite too short).

hth
# 5  
Old 05-13-2015
I am not using any dhcp server here, I am assigning it statically.
same thing works for Redhat client but we are facing the issue on fedora OS
PHP Code:
inet6 addr7878:12::10/64 Scope:Global 
Its correct I.P,

is there anything which I need to enable..?
# 6  
Old 05-13-2015
You probably have duplicate addresses on the interface. You can force Linux to disable duplicate address detection:

Code:
sysctl net.ipv6.conf.eth4.accept_dad=0

# 7  
Old 05-14-2015
Code:
sysctl net.ipv6.conf.eth4.accept_dad=0



I tried adding this, but after 15 mins I.P is getting erased again..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Just can't turn off ipv6?

I'm running a Linux OS that uses Debian as it's base. A commercial vpn is installed that uses OpenVPN. For some reason, I can't get ipv6 to tunnel properly .... and Ipleak.net shows that my location is being unmasked by ipv6. I've tried kernel commands at boot, I've tried sysctl.conf commands.... (2 Replies)
Discussion started by: benc
2 Replies

2. Programming

Ping test sends mail when ping fails

help with bash script! im am working on this script to make sure my server will stay online, so i made this script.. HOSTS="192.168.138.155" COUNT=4 pingtest(){ for myhost in "$@" do ping -c "$COUNT" "$myhost" &&return 1 done return 0 } if pingtest $HOSTS #100% failed... (4 Replies)
Discussion started by: mort3924
4 Replies

3. UNIX for Dummies Questions & Answers

Assigning ipv6 to bonding interface - getting old as well as changed ipv6 in ifconfig output

Hi, I have created a bonding bond1 interface with 6 Eth , mode=4. Recently i have changed my old ipv6 to new one and tried to restart as well as reload network service. Post which i can see old as well as changed ipv6 in ifconfig command output. Below are few files and command output for your... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies

4. Solaris

IPv6 question

I am currently trying to setup static ipv6 address with a persistent default gateway. This is on a Solaris 10 non global zone running inside a Solaris 10 global zone. My production server I am comparing against is a Solaris 10 xen instance running on a Oracle Solaris xen instance. I have got... (12 Replies)
Discussion started by: jpolachak
12 Replies

5. Shell Programming and Scripting

How to get reason for ping failure using perls Net::Ping->new("icmp");?

Hi I am using perl to ping a list of nodes - with script below : $p = Net::Ping->new("icmp"); if ($p->ping($host,1)){ print "$host is alive.\n"; } else { print "$host is unreacheable.\n"; } $p->close();... (4 Replies)
Discussion started by: tavanagh
4 Replies

6. Shell Programming and Scripting

Animation Ping on Solaris Like Cisco Ping

Hi, I develop simple animation ping script on Solaris Platform. It is like Cisco ping. Examples and source code are below. bash-3.00$ gokcell 152.155.180.8 30 Sending 30 Ping Packets to 152.155.180.8 !!!!!!!!!!!!!.!!!!!!!!!!!!!!!. % 93.33 success... % 6.66 packet loss...... (1 Reply)
Discussion started by: gokcell
1 Replies

7. Shell Programming and Scripting

[ASK] How to check whether ipv4 or ipv6 and ping those IP

I have perl script that I use to check and ping a list of ip, The problem is, I didnt understand how to ping ipv6 on perl, Could I use Ping::External??And how could I get the ping result (reply or not)? This is my code #!/usr/bin/perl -- use Net::Ping; use Data::Validate::IP; use... (3 Replies)
Discussion started by: franzramadhan
3 Replies

8. SuSE

Linux and IPv6

Hi gurus, In a few month, we must enable IPv6 on our Linux Server! Should we reinstall the Linux machine to enable IPv6 or could we just make some change in configuration's files? Could Linux run simultaneous IPv4 and IPv6? Thanks in advance for our help our ideas? Best regards, nm (3 Replies)
Discussion started by: hiddenshadow
3 Replies

9. AIX

IPv6 on AIX

Hi Every1, I want to configure IPv6 on AIX and want to communicate between IPv4 machine IP and IPv6 machine. Is it possible? (2 Replies)
Discussion started by: Shrek
2 Replies
Login or Register to Ask a Question