User Tools

Site Tools


how_configure_bgp_with_tunnelbroker.net_with_quagga

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
how_configure_bgp_with_tunnelbroker.net_with_quagga [2017/12/17 00:54] – adminhow_configure_bgp_with_tunnelbroker.net_with_quagga [2018/01/23 15:04] (current) – admin
Line 1: Line 1:
 How configure **BGP** with tunnelbroker.net (**Hurricane Electric**, AS 6939) with **Quagga** How configure **BGP** with tunnelbroker.net (**Hurricane Electric**, AS 6939) with **Quagga**
 +
 +**__Require public fixed IPv4__**
  
 == Note == == Note ==
Line 8: Line 10:
   * Firstly we run: Example Configurations -> Linux-net-tools   * Firstly we run: Example Configurations -> Linux-net-tools
   * echo '' > /var/log/bgpd.log;chown quagga.quagga /var/log/bgpd.log   * echo '' > /var/log/bgpd.log;chown quagga.quagga /var/log/bgpd.log
 +  * **Always check your internet MTU support.** Change MTU for limited MTU as GPON
 +    * ifconfig sit0 mtu 1280 up
 +    * ifconfig sit0 mtu 1280 up
 +    * On the avanced option into tunnel broker
  
 == zebra.conf == == zebra.conf ==
Line 27: Line 33:
   !   !
   router bgp 266671   router bgp 266671
-   bgp router-id 192.168.0.9 +   bgp router-id [190.186.245.10 your public ip] 
-   neighbor [2001:470... Server IPv6 Address] remote-as 6939+   neighbor [IPv6 Tunnel Endpoints, Server IPv6 Address] remote-as 6939
   !   !
    address-family ipv6    address-family ipv6
    network 2803:1920::/32    network 2803:1920::/32
-   neighbor [2001:470... Server IPv6 Address] activate+   neighbor [IPv6 Tunnel Endpoints, Server IPv6 Address] activate
    exit-address-family    exit-address-family
    exit    exit
Line 38: Line 44:
   line vty   line vty
   !   !
 +
 +== ifconfig ==
 +  eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
 +          inet 190.186.245.10  netmask 255.255.255.0  broadcast 190.186.203.255
 +  
 +  sit0: flags=193<UP,RUNNING,NOARP>  mtu 1480
 +          inet6 ::192.168.0.9  prefixlen 96  scopeid 0x80<compat,global>
 +          inet6 ::127.0.0.1  prefixlen 96  scopeid 0x90<compat,host>
 +          inet6 ::172.20.0.9  prefixlen 96  scopeid 0x80<compat,global>
 +          inet6 ::190.186.203.22  prefixlen 96  scopeid 0x80<compat,global>
 +          sit  txqueuelen 1000  (IPv6-in-IPv4)
 +  
 +  sit1: flags=209<UP,POINTOPOINT,RUNNING,NOARP>  mtu 1480
 +          inet6 2001:470:10:31::2  prefixlen 64  scopeid 0x0<global>
 +          inet6 fe80::beba:cb16  prefixlen 64  scopeid 0x20<link>
 +          inet6 fe80::c0a8:9  prefixlen 64  scopeid 0x20<link>
 +          inet6 fe80::ac14:9  prefixlen 64  scopeid 0x20<link>
 +          sit  txqueuelen 1000  (IPv6-in-IPv4)
 +
 +== check BGP ==
 +  * vtysh
 +  * show ip bgp summary
 +    * Should show:
 +
 +  BGP router identifier 190.186.203.2, local AS number 266671
 +  RIB entries 0, using 0 bytes of memory
 +  Peers 1, using 4944 bytes of memory
 +  Neighbor        V         AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
 +  2001:470:1
 +                  4  6939  219827    2721        0    0    0 1d21h10m        0
 +  Total number of neighbors 1
 +  Total num. Established sessions 1
 +  Total num. of routes received     0
 +  
 +
how_configure_bgp_with_tunnelbroker.net_with_quagga.1513472047.txt.gz · Last modified: by admin