Routing

last person joined: 3 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  IPv6 peering with native IPv4 BGP sessions...

     
    Posted 08-11-2013 11:38

    Hi All !

     

    I have some questions relative to v6 peering overa IPv4 BGP sessions.

     

    I have R1 <=> C1, with family inet and inet.6 unicast configured.

     

    1. C1 advertise IPv6 routes to R1

     

    toto@C1# run show route advertising-protocol bgp 192.168.4.0 
    
    inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
      Prefix                  Nexthop              MED     Lclpref    AS path
    * 192.4.0.0/24            Self                                    I
    * 192.4.0.1/32            Self                                    I
    * 192.4.1.0/24            Self                                    I
    * 192.4.2.0/24            Self                                    I
    * 192.4.3.0/24            Self                                    I
    
    inet6.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden)
      Prefix                  Nexthop              MED     Lclpref    AS path
    * 2004:fff0::/32          Self                                    I
    * 2004:fff0::1/128        Self                                    I
    * 2004:fff1::/32          Self                                    I
    * 2004:fff2::/32          Self                                    I
    * 2004:fff3::/32          Self                                    I
    

     

     

     

    2. R1 doesn't not accept the IPv6 route until a set "accept-remote-nexthop". But after that my IPv6 still stay hidden :

     

    toto@R1# run show route receive-protocol bgp 192.168.4.1 hidden    
    
    inet.0: 30 destinations, 30 routes (30 active, 0 holddown, 0 hidden)
    
    inet.3: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
    
    iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
    
    mpls.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden)
    
    inet6.0: 12 destinations, 17 routes (7 active, 0 holddown, 5 hidden)
      Prefix                  Nexthop              MED     Lclpref    AS path
      2004:fff0::/32          ::ffff:192.168.4.1                      65004 I
      2004:fff0::1/128        ::ffff:192.168.4.1                      65004 I
      2004:fff1::/32          ::ffff:192.168.4.1                      65004 I
      2004:fff2::/32          ::ffff:192.168.4.1                      65004 I
      2004:fff3::/32          ::ffff:192.168.4.1                      65004 I
    
    inet6.3: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
    

     

    3. I know that the routes are hidden because the next-hope is not reacheable. I'm using JunOS 10.4R8 and I have configured the interface like this :

     

    ge-0/0/8 {
        unit 204 {
            description "C4 connection";
            vlan-id 204;
            family inet {
                address 192.168.4.0/31;
            }
            family inet6 {
                address ::192.168.4.0/127;
            }
        }
    }

     

    4. I know how I can solve the problem : is to replace ::192.168.4.0 with ::ffff:192.168.4.0

     

    5. My question is : is it the only solution ?

     

    Thanks for your help

     

    Salah

     



  • 2.  RE: IPv6 peering with native IPv4 BGP sessions...
    Best Answer

    Posted 08-11-2013 15:07

    Hi, 

     

    Set the next-hop to peer address on the received route.

     

    Apply the below policy in the import direction on the ebgp neighbour..

     

    lab@Juniper1# show policy-options policy-statement test-import
    term 1 {
    then {
    next-hop peer-address;
    }
    }

    [edit]
    lab@Juniper1#

     

    Regards

    Satinder Singh



  • 3.  RE: IPv6 peering with native IPv4 BGP sessions...

     
    Posted 08-13-2013 06:39

    yeah that works !

     

    Thanks !



  • 4.  RE: IPv6 peering with native IPv4 BGP sessions...

     
    Posted 08-13-2013 07:08

    Well actually it doesn' work...

     

    When I update the next-hop with a policy, the route is not hidden anymore, but the I can't not reach the other customer (6PE),

     

    When I update the ip address on the interface, ie when I use an IPv6 address like ::ffff:x.x.x.x it works !

     

    Any thing I forget ?

    --
    Salah



  • 5.  RE: IPv6 peering with native IPv4 BGP sessions...

     
    Posted 08-13-2013 07:35

     

    More details :

    Well I found that we can't have a mix, ie R1 configured with IPv6 address like ::x.x.x.x and C1 configured with IPv6 address like ffff:x.x.x.x

     

    Thanks for your help...

     

    --

    Salah