lkml.org 
[lkml]   [2003]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectInterface forgets IPv6 address
Hi,
I am trying to bring an interface down temporarily and bring it back up.
I have one IPv4 address and 1 IPv6 address (global scope) and the IPv6
link local address. The problem I have is that, after I bring the
interface back up, the IPv6 global scope address is lost from the interface
configuration. Is this expected behaviour?

Here is the sequence of commands to reproduce my problem
(I have tried it on multiple kernel versions, multiple IPv6 stacks and
having IPv6 as a module as well as compiled in the kernel ).

Initial state
=============
[root@spock home]#uname -a
Linux spock 2.4.20-19.9 #1 Tue Jul 15 17:18:13 EDT 2003 i686 i686 i386
GNU/Linux
[root@spock home]#ip address
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:08:74:cc:ef:ea brd ff:ff:ff:ff:ff:ff
inet 142.133.72.18/26 brd 142.133.72.63 scope global eth0
inet6 2001::1/64 scope global
inet6 fe80::208:74ff:fecc:efea/64 scope link
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0

Interface down state
====================
[root@spock home]#ifconfig eth0 down
[root@spock home]#ip address
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:08:74:cc:ef:ea brd ff:ff:ff:ff:ff:ff
inet 142.133.72.18/26 brd 142.133.72.63 scope global eth0
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0

Interface back up
=================
[root@spock home]#ifconfig eth0 up
[root@spock home]#ip a
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:08:74:cc:ef:ea brd ff:ff:ff:ff:ff:ff
inet 142.133.72.18/26 brd 142.133.72.63 scope global eth0
inet6 fe80::208:74ff:fecc:efea/64 scope link
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0

TIA
Suresh

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.198 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site