From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 14:06:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CBED16A41B for ; Tue, 22 Jan 2008 14:06:11 +0000 (UTC) (envelope-from prabhuh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id AF16813C474 for ; Tue, 22 Jan 2008 14:06:10 +0000 (UTC) (envelope-from prabhuh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so4409115waf.3 for ; Tue, 22 Jan 2008 06:06:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=3OOLUORhArJpZN9JYLsKnEpd4T+QGhqSAOsWUjU/4pY=; b=ZWvtS58kEs9PLS9sGE4eAas/XGF79W8ppnr+U98McyIEMKOiOo2GinaEtDlcOWaV/JbUUX3LDqzHpqC6vtm1G5BT8s4WhmJvaQ4wl1yKIofOYQfxwLU3QBo/os4WT+Aid24vFZipjTPp7zAKsVnO9RRIKFi6RKCfeY3Kd+DoS5g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=IIw5tJH0r5lfF+VLY+Re1ywakj4VUWiBl1cQ3ZMgFAwoJz9TtfbaZ4ZaiCm94LzrR8vTqwM31gbBK41HsO3ppttxz2jzF8pdrIlKMBFB6PuSKg2Zd/FSzKh9UOcjiuq5FtgE5S8vlhETwUgJofxAtZUE5iAHd57SQjcE/2HvmGg= Received: by 10.115.88.1 with SMTP id q1mr6420671wal.64.1201010760653; Tue, 22 Jan 2008 06:06:00 -0800 (PST) Received: by 10.115.91.19 with HTTP; Tue, 22 Jan 2008 06:06:00 -0800 (PST) Message-ID: Date: Tue, 22 Jan 2008 19:36:00 +0530 From: "Prabhu Hariharan" To: "Wojciech Puchar" In-Reply-To: <20080122133735.P2408@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 References: <20080122133735.P2408@wojtek.tensor.gdynia.pl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: IPv6 address persistent configuration thru ifconfig X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 14:06:11 -0000 Is this behavior exists from the beginning of KAME integration or available in latest freebsd code? Because I was using a box which derives its ipv6 code from KAME project and the behavior was different from this. Also, in a host which uses Red Hat Enterprise Linux AS release 4 (Nahant Update 4), I've seen the ipv6 addresses get removed when I do an interface down. Please let me know, if you have any thoughts on the same. Regards, Prabhu H On Jan 22, 2008 6:08 PM, Wojciech Puchar wrote: > > In host implementation, if I manually configure global ipv6 address via > > ifconfig command then those addresses are not persistent after making > the > > interface DOWN and again UP, which is not the case for IPv4 addresses. > Is > > this an intentional behavior that all ipv6 address needs to be removed > from > > interface if it goes DOWN? I feel the configurations that have been > made > > nothing gets removed > [root@wojtek ~]# ifconfig fxp0 > fxp0: flags=8843 mtu 1500 > options=8 > inet6 fe80::2d0:59ff:febe:fadc%fxp0 prefixlen 64 scopeid 0x1 > inet 10.255.245.1 netmask 0xffffff00 broadcast 10.255.245.255 > inet6 2001:4070:101:2::1 prefixlen 64 > ether 00:d0:59:be:fa:dc > media: Ethernet autoselect (none) > status: no carrier > [root@wojtek ~]# ifconfig fxp0 down > [root@wojtek ~]# ifconfig fxp0 > fxp0: flags=8802 mtu 1500 > options=8 > inet6 fe80::2d0:59ff:febe:fadc%fxp0 prefixlen 64 scopeid 0x1 > inet 10.255.245.1 netmask 0xffffff00 broadcast 10.255.245.255 > inet6 2001:4070:101:2::1 prefixlen 64 > ether 00:d0:59:be:fa:dc > media: Ethernet autoselect (none) > status: no carrier > [root@wojtek ~]# ifconfig fxp0 up > [root@wojtek ~]# ifconfig fxp0 > fxp0: flags=8843 mtu 1500 > options=8 > inet6 fe80::2d0:59ff:febe:fadc%fxp0 prefixlen 64 scopeid 0x1 > inet 10.255.245.1 netmask 0xffffff00 broadcast 10.255.245.255 > inet6 2001:4070:101:2::1 prefixlen 64 > ether 00:d0:59:be:fa:dc > media: Ethernet autoselect (none) > status: no carrier > > > > manually, needs to get unconfigured manually and not programatically. > > > > Regards, > > Prabhu H > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > > >