Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2008 13:38:30 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Prabhu Hariharan <prabhuh@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: IPv6 address persistent configuration thru ifconfig
Message-ID:  <20080122133735.P2408@wojtek.tensor.gdynia.pl>
In-Reply-To: <dfdae4690801220407q73fc8eadwe461c473597ae754@mail.gmail.com>
References:  <dfdae4690801220407q73fc8eadwe461c473597ae754@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         options=8<VLAN_MTU>
         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<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
         options=8<VLAN_MTU>
         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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         options=8<VLAN_MTU>
         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"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080122133735.P2408>