Re: New IPv6 settings in rc.conf

2010-04-26 Thread Bruce Cran
On Monday 26 April 2010 03:01:39 Doug Barton wrote:
 On 04/25/10 00:00, Bruce Cran wrote:
  On Sunday 25 April 2010 02:55:16 Doug Barton wrote:
  On 04/24/10 17:54, Bruce Cran wrote:
  # if_bridge doesn't have a link-local address by default, so add one
  ifconfig_bridge0_ipv6=fe80::2%bridge0 prefixlen 64
  
  It's likely that you need to add inet6 before fe80 there:
  ifconfig_bridge0_ipv6=inet6 fe80::2%bridge0 prefixlen 64
  
  Thanks, adding 'inet6' before all the IPv6 addresses fixed the problem.
 
 I'm glad to hear that, although now I have a sinking feeling about the
 state of the -current code. In your OP you said you updated to
 -current, what version of FreeBSD did you upgrade from?

It was an earlier version of -CURRENT from maybe a couple of months ago.

-- 
Bruce Cran
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: New IPv6 settings in rc.conf

2010-04-25 Thread Bruce Cran
On Sunday 25 April 2010 02:55:16 Doug Barton wrote:
 On 04/24/10 17:54, Bruce Cran wrote:

  # if_bridge doesn't have a link-local address by default, so add one
  ifconfig_bridge0_ipv6=fe80::2%bridge0 prefixlen 64
 
 It's likely that you need to add inet6 before fe80 there:
 ifconfig_bridge0_ipv6=inet6 fe80::2%bridge0 prefixlen 64

Thanks, adding 'inet6' before all the IPv6 addresses fixed the problem.

-- 
Bruce Cran
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: New IPv6 settings in rc.conf

2010-04-25 Thread Doug Barton
On 04/25/10 00:00, Bruce Cran wrote:
 On Sunday 25 April 2010 02:55:16 Doug Barton wrote:
 On 04/24/10 17:54, Bruce Cran wrote:
 
 # if_bridge doesn't have a link-local address by default, so add one
 ifconfig_bridge0_ipv6=fe80::2%bridge0 prefixlen 64

 It's likely that you need to add inet6 before fe80 there:
 ifconfig_bridge0_ipv6=inet6 fe80::2%bridge0 prefixlen 64
 
 Thanks, adding 'inet6' before all the IPv6 addresses fixed the problem.

I'm glad to hear that, although now I have a sinking feeling about the
state of the -current code. In your OP you said you updated to
-current, what version of FreeBSD did you upgrade from?


Doug

-- 

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover!http://SupersetSolutions.com/

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: New IPv6 settings in rc.conf

2010-04-24 Thread Doug Barton
On 04/24/10 17:54, Bruce Cran wrote:
 I updated my router to the latest -CURRENT yesterday

Did you run mergemaster after you upgraded? How old/what version of
FreeBSD did you upgrade from?

 and now I'm getting an 
 error on startup from ifconfig saying the the IPv6 addresses I've configured 
 are wrong (bad value).

Can you please paste the exact error message?

 The settings I've got in rc.conf are:
 # IPv6 setup
 ipv6_prefer=YES

This is no longer needed.

 ipv6_gateway_enable=YES
 ipv6_defaultrouter=2001:abcd:abcd:abc::x
 
 gif_interfaces=gif0 gif1
 gifconfig_gif0=a.b.c.d e.f.g.h
 gifconfig_gif1=a.b.c.d i.j.k.l
 ifconfig_gif0_ipv6=2001:abcd:abcd:abc::x abcd:abc:abcd:abc::x prefixlen 128
 ifconfig_gif1_ipv6=2a01:abcd:a:bc::x abcd:abc:x:ab::x prefixlen 128
 
 # if_bridge doesn't have a link-local address by default, so add one
 ifconfig_bridge0_ipv6=fe80::2%bridge0 prefixlen 64

It's likely that you need to add inet6 before fe80 there:
ifconfig_bridge0_ipv6=inet6 fe80::2%bridge0 prefixlen 64

 ifconfig_bridge0_ipv6_alias0=2001:abcd:abcd:abcd::x

See the rc.conf man page on this one, this should probably be:
ifconfig_bridge0_alias0=inet6 2001:abcd:abcd:abcd::x prefixlen 64

 I can manually run ifconfig once the systems running so I guess I've missed 
 out a required setting somewhere?

If the above doesn't fix your problems, what ifconfig command line(s)
work for you?


hth,

Doug

-- 

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover!http://SupersetSolutions.com/

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org