IPv6 address persistent configuration thru ifconfig

Prabhu Hariharan prabhuh at gmail.com
Tue Jan 22 06:06:11 PST 2008


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 <wojtek at wojtek.tensor.gdynia.pl>
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 at 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 at wojtek ~]# ifconfig fxp0 down
> [root at 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 at wojtek ~]# ifconfig fxp0 up
> [root at 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
> >
> >
>


More information about the freebsd-questions mailing list