Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: IPv6 quagga mess  (Read 13537 times)

edv

  • Guest
IPv6 quagga mess
« on: December 05, 2008, 02:34:04 PM »

Hi there!

Im trying to setup a new tunnel, my first v6, using quagga 0.99.4 over FreeBSD 6.1-release.

If its true thats it grow some hair on my chest, Im quite sure looking like Chewbacca. After spending some time looking for a bgp mess, Im almost to conclude that the problem is more relacted to zebra then bgp.

Please, somebody out there could share zebra setup for the interface tunnel, over wich bgp session rely on?

From the shell of my router I can ping6 all the world, but I think the config should do on zebra, and not simply creating tunnel interface by hand.

Thanks!

Edv @ americanadigital.com.br
Brasil

Logged

broquea

  • Sr. Network Engineer, HE.NET AS6939
  • Administrator
  • Hero Member
  • *****
  • Posts: 1720
Re: IPv6 quagga mess
« Reply #1 on: December 05, 2008, 04:05:45 PM »

Here is a sanitized version of what we have with a working freebsd quagga/IPv6 bgp speaker (quagga 0.86.4? stable basically, not the 0.99 branch)

zebra.conf:
Code: [Select]
interface bge0
 ip address x.x.x.x/30
 ipv6 address 2001:470:y:y::2/64
 ipv6 nd suppress-ra

bgpd.conf:
Code: [Select]
router bgp 6939
 bgp router-id x.x.x.x
 redistribute connected metric 1
 redistribute static metric 1
 neighbor 2001:470:y:y::1 remote-as 6939
 neighbor 2001:470:y:y::1 update-source bge0
!
 address-family ipv6
 network 2001:470:yx::/48
 network 2001:470:yy::/48
 neighbor 2001:470:y:y::1 activate
 exit-address-family

So I'd guess for your zebra.conf you'll have a GIF# interface defined with the tunnel's IPv6 address on it, kind of like:
Code: [Select]
interface gif0
 ipv6 address 2001:470:y:y::2/64

And If the update-source helps any, your bgpd.conf would have:
Code: [Select]
neighbor 2001:470:y:y::1 update-source gif0
« Last Edit: December 05, 2008, 04:33:16 PM by broquea »
Logged

edv

  • Guest
Re: IPv6 quagga mess
« Reply #2 on: December 08, 2008, 04:07:57 AM »

Mr. Broque, good morning!

Thank you for examples using Quagga!

I still cannot setup the p2p v6 over zebra daemon, cause I cannot found any documentation on how can I setup the tunnel over zebra.

In the other hand, our peering v6 session is UP and running, doing tunnel configuration direct on FreeBSD!

Thank you for help!

Logged

jrowens

  • Newbie
  • *
  • Posts: 13
Re: IPv6 quagga mess
« Reply #3 on: December 12, 2008, 02:16:47 PM »

Just checking, though you say it's sanitized, should we be using 'router bgp 6939' too, or should we use one of the private ASs, like 64512?  And should we be using /48s all around?
Logged

broquea

  • Sr. Network Engineer, HE.NET AS6939
  • Administrator
  • Hero Member
  • *****
  • Posts: 1720
Re: IPv6 quagga mess
« Reply #4 on: December 12, 2008, 02:20:52 PM »

Just checking, though you say it's sanitized, should we be using 'router bgp 6939' too, or should we use one of the private ASs, like 64512?  And should we be using /48s all around?

You should be using your AS, since that is what you want to originate as. We do not do any BGP tunnels with private ASNs. The /48s are just examples of having network statements. If you have a /32 you want to announce to us, you'd have your /32 listed there.
Logged