Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IETF 122 Hackathon

Setup

  1. Clone the repository with submodules:

    git clone --recurse-submodules https://github.com/watal/ietf122_hackathon
    cd ietf122_hackathon/gobgp/cmd/gobgp
  2. Build GoBGP:

    go build .
    cd ../gobgpd
    go build .
  3. Build the Docker image:

    cd ../../../bgp-ls-service-segment
    docker build . -t ubuntu:watal
  4. Deploy the network using [containerlab]:

    sudo containerlab deploy -t bgp-ls-service-segment-gobgp-only.clab.yml

GoBGP (Sender Side)

  1. Enter the GoBGP container:

    docker exec -it clab-bgp-ls-service-segment-gobgp-only-gobgp1 bash
  2. Start the GoBGP daemon:

    gobgpd -f config/gobgpd.yml
  3. Add a route:

    gobgp global rib add -a ls srv6sid bgp identifier 1 local-asn 65001 \
      local-bgp-ls-id 10 local-bgp-router-id 10.0.0.1 local-bgp-confederation-member 1 \
      sids fc00:0:1::2 multi-topology-id 1 service-type 1 traffic-type 1 \
      opaque-type 1 value test

GoBGP (Receiver Side)

  1. Enter the GoBGP container:

    docker exec -it clab-bgp-ls-service-segment-gobgp-only-gobgp2 bash
  2. Start the GoBGP daemon:

    gobgpd -f config/gobgpd.yml
  3. Display the BGP-LS information:

    gobgp global rib -a ls

ExaBGP (Sender Side)

  1. Enter the ExaBGP container:

    docker exec -it clab-bgp-ls-service-segment-exabgp bash
  2. Start ExaBGP in sender mode:

    sbin/exabgp ../config/conf-srv6-bgpls-sender.conf

ExaBGP (Receiver Side)

  1. Enter the ExaBGP container:

    docker exec -it clab-bgp-ls-service-segment-exabgp bash
  2. Navigate to the ExaBGP directory:

    cd exabgp/
  3. Start ExaBGP in receiver mode:

    sbin/exabgp ../config/conf-srv6-bgpls-receiver.conf
  4. To stop ExaBGP, press Ctrl+C.

  5. Check the logs to verify:

    cat bgpls-receiver.log

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages