SD-WAN

 View Only
last person joined: 3 days ago 

Ask questions and share experiences with SD-WAN and Session Smart Router (formerly 128T).
  • 1.  eBGP between two 128T routers

    Posted 10-11-2019 22:01
    HI,

            In my lab, I have two routers which like this, they can't connect each other whith eBGP,

                       OA-SH  -------------   CustomerA-SH
         OA-SH run BGP AS 65001  and CustomerA-SH run BGP AS 65002


    the configuration :

    admin@oashanghai1.OA-SH (routing[type=default-instance])# show
    type default-instance

    interface rtg-int-oash
    name rtg-int-oash
    ip-address 10.0.0.1
    exit

    routing-protocol bgp
    type bgp
    local-as 65001
    router-id 10.0.0.1

    address-family ipv4-unicast
    afi-safi ipv4-unicast

    network 10.0.254.0/24
    network-address 10.0.254.0/24
    exit

    network 192.168.61.0/24
    network-address 192.168.61.0/24
    exit
    exit

    neighbor 10.0.0.3
    neighbor-address 10.0.0.3
    neighbor-as 65001

    transport

    local-address
    routing-interface rtg-int-oash
    exit
    exit

    address-family ipv4-unicast
    afi-safi ipv4-unicast
    next-hop-self true
    exit
    exit

    neighbor 10.0.0.2
    neighbor-address 10.0.0.2
    neighbor-as 65001

    transport

    local-address
    routing-interface rtg-int-oash
    exit
    exit

    address-family ipv4-unicast
    afi-safi ipv4-unicast
    next-hop-self true
    exit
    exit

    neighbor 10.0.0.9
    neighbor-address 10.0.0.9
    neighbor-as 65002
    local-as 65001

    transport

    local-address
    routing-interface rtg-int-oash
    exit
    exit

    address-family ipv4-unicast
    afi-safi ipv4-unicast
    next-hop-self true
    exit
    exit
    exit



    admin@CustomerA-SH.CustomerA-SH (routing[type=default-instance])# show
    type default-instance

    interface rt-int-sh1
    name rt-int-sh1
    ip-address 10.0.0.9
    exit

    routing-protocol bgp
    type bgp
    local-as 65002
    router-id 10.0.0.9

    address-family ipv4-unicast
    afi-safi ipv4-unicast

    network 192.168.64.0/24
    network-address 192.168.64.0/24
    exit
    exit

    neighbor 10.0.0.1
    neighbor-address 10.0.0.1
    neighbor-as 65001
    local-as 65002

    transport

    local-address
    routing-interface rt-int-sh1
    exit
    exit

    address-family ipv4-unicast
    afi-safi ipv4-unicast
    next-hop-self true
    exit
    exit
    exit



    admin@oashanghai1.OA-SH# show bgp neighbors 10.0.0.9
    Sat 2019-10-12 09:24:31 CST
    BGP neighbor is 10.0.0.9, remote AS 65002, local AS 65001, external link
    BGP version 4, remote router ID 0.0.0.0
    BGP state = Idle
    Last read 23:35:14, Last write 00:02:18
    Hold time is 90, keepalive interval is 30 seconds
    Configured hold time is 90, keepalive interval is 30 seconds
    Message statistics:
    Inq depth is 0
    Outq depth is 0
    Sent Rcvd
    Opens: 469 0
    Notifications: 938 0
    Updates: 0 0
    Keepalives: 0 0
    Route Refresh: 0 0
    Capability: 0 0
    Total: 1407 0
    Minimum time between advertisement runs is 30 seconds
    Update source is rtg-int-oash

    For address family: IPv4 Unicast
    Not part of any update group
    Inbound soft reconfiguration allowed
    NEXT_HOP is always this router
    Community attribute sent to this neighbor(all)
    0 accepted prefixes

    Connections established 0; dropped 0
    Last reset 23:35:14, due to NOTIFICATION sent (Cease/Connection collision resolution)
    Local host: 10.0.0.1, Local port: 33507
    Foreign host: 10.0.0.9, Foreign port: 179
    Nexthop: 10.0.0.1
    Nexthop global: ::
    Nexthop local: ::
    BGP connection: non shared network
    BGP Connect Retry Timer in Seconds: 30
    Next start timer due in 43 seconds
    Read thread: off Write thread: off


    Completed in 0.37 seconds


    admin@oashanghai1.OA-SH# show bgp summary
    Sat 2019-10-12 09:25:10 CST

    IPv4 Unicast Summary:
    BGP router identifier 10.0.0.1, local AS number 65001 vrf-id 0
    BGP table version 3
    RIB entries 7, using 1064 bytes of memory
    Peers 4, using 82 KiB of memory

    Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
    10.0.0.2 4 65001 2834 2834 0 0 0 23:35:29 1
    10.0.0.3 4 65001 2835 2835 0 0 0 23:35:48 1
    10.0.0.9 4 65002 0 1407 0 0 0 never Idle

    Total number of neighbors 3


    Completed in 0.35 seconds


    admin@oashanghai1.OA-SH# show bgp force
    Sat 2019-10-12 09:29:28 CST
    BGP table version is 3, local router ID is 10.0.0.1, vrf id 0
    Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
    i internal, r RIB-failure, S Stale, R Removed
    Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
    Origin codes: i - IGP, e - EGP, ? - incomplete

    Network Next Hop Metric LocPrf Weight Path
    10.0.254.0/24 0.0.0.0 0 32768 i
    *> 192.168.61.0 0.0.0.0 0 32768 i
    *>i192.168.62.0 10.0.0.2 0 100 0 i
    *>i192.168.63.0 10.0.0.3 0 100 0 i

    Displayed 4 routes and 4 total paths


    Completed in 0.33 seconds

    admin@CustomerA-SH.CustomerA-SH# show bgp neighbors
    Sat 2019-10-12 09:25:01 CST
    BGP neighbor is 10.0.0.1, remote AS 65001, local AS 65002, external link
    BGP version 4, remote router ID 0.0.0.0
    BGP state = OpenSent
    Last read 23:45:32, Last write 00:00:15
    Hold time is 90, keepalive interval is 30 seconds
    Configured hold time is 90, keepalive interval is 30 seconds
    Message statistics:
    Inq depth is 0
    Outq depth is 0
    Sent Rcvd
    Opens: 939 0
    Notifications: 1874 0
    Updates: 0 0
    Keepalives: 0 0
    Route Refresh: 0 0
    Capability: 0 0
    Total: 2813 0
    Minimum time between advertisement runs is 30 seconds
    Update source is rt-int-sh1

    For address family: IPv4 Unicast
    Not part of any update group
    Inbound soft reconfiguration allowed
    NEXT_HOP is always this router
    Community attribute sent to this neighbor(all)
    0 accepted prefixes

    Connections established 0; dropped 0
    Last reset 23:45:32, due to NOTIFICATION sent (Hold Timer Expired)
    Local host: 10.0.0.9, Local port: 43669
    Foreign host: 10.0.0.1, Foreign port: 179
    Nexthop: 10.0.0.9
    Nexthop global: ::
    Nexthop local: ::
    BGP connection: shared network
    BGP Connect Retry Timer in Seconds: 30
    Read thread: on Write thread: on


    Completed in 0.39 seconds


    admin@CustomerA-SH.CustomerA-SH# show bgp summary
    Sat 2019-10-12 09:25:59 CST

    IPv4 Unicast Summary:
    BGP router identifier 10.0.0.9, local AS number 65002 vrf-id 0
    BGP table version 1
    RIB entries 1, using 152 bytes of memory
    Peers 1, using 21 KiB of memory

    Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
    10.0.0.1 4 65001 0 2813 0 0 0 never OpenSent

    Total number of neighbors 1


    Completed in 0.39 seconds


    admin@CustomerA-SH.CustomerA-SH# show bgp force
    Sat 2019-10-12 09:29:54 CST
    BGP table version is 1, local router ID is 10.0.0.9, vrf id 0
    Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
    i internal, r RIB-failure, S Stale, R Removed
    Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
    Origin codes: i - IGP, e - EGP, ? - incomplete

    Network Next Hop Metric LocPrf Weight Path
    *> 192.168.64.0 0.0.0.0 0 32768 i

    Displayed 1 routes and 1 total paths


    Completed in 0.38 seconds

                   It seems that the BGP status between the two routers is 'OpenSent'.  Which means they can't connect BGP correctly. Is there anything that I missed?

    ------------------------------
    Alex Fang
    engineer
    ------------------------------


  • 2.  RE: eBGP between two 128T routers

     
    Posted 10-18-2019 13:46
    Hi Alex,
    Here's a link to the guide for BGP over SVR: https://community.128technology.com/viewdocument/bgp-with-128t?CommunityKey=a3c08933-8ef0-490a-9861-e91f17cfd1fa&tab=librarydocuments .

    I think specifying the multihop TTL should resolve the issue

    ------------------------------
    Vanya Dasari
    Technical Support Engineer
    ------------------------------



  • 3.  RE: eBGP between two 128T routers

    Posted 10-20-2019 21:38
    Hi Vanya,

             You are  right, it is the hop TTL. After I post the question, I have done a few tests at that day, and I also downloaded two documents from the community and look it carefully, finally I find out the problem and solve it, great thanks!

    ------------------------------
    Alex Fang
    engineer
    ------------------------------