Archive

标签为 ‘srv6’的文章

Segment Routing Hands-on

I summaried the hands-on at 2019.7, public on my blog now. So you will find the version is old (652/661), new version(721/731) include more inovation features in SR solution.

Introduction

I summarized SR/SRTE hands-on-deck that includes our highlight features and show information in the same topology, content includes the following topic, now revised version is v3:

  • Hands-on Brief
  • Segment Routing Basic
  • L3VPN in Segment Routing
  • Interworking between LDP and SR
  • TI-LFA in Segment Routing
  • SRTE Solution in MPLS SR
  • SR IGP Flexible Algorithms
  • Egress Peer Engineering(EPE)
  • SRv6 Solution
完整阅读

DX6 on Linux by uSID

The Linux come from by my compiled kernel that supports uSID, please check my last blog: Compile SRv6 uSID and VPP on ubuntu 20.04

Before doing SRv6 lab, please double confirm enable the function by following cmd:

sysctl -w net.ipv6.conf.all.forwarding=1
sysctl -w net.ipv4.conf.all.forwarding=1
sysctl -w net.ipv6.conf.all.seg6_enabled=1

Check by following cmd:

[email protected]:/home/cisco# sysctl -a |grep net.ipv6.conf.all.forwarding
net.ipv6.conf.all.forwarding = 1

Above cmd will disappear after reboot, you can permanently write to “/etc/sysctl.conf”.

Btw, how to config srv6 and usid, reference follows:

SRv6 uSID Linux Iproute2

SRv6 – Linux Kernel Implementation

Topology

完整阅读

Compile SRv6 uSID and VPP on ubuntu 20.04

PS: Compile Server base on “focal-server-cloudimg-amd64.vmdk”, 20200706 update.

General Config on ubuntu

Config port by new “ip” cmd, and DNS

[email protected]:/opt# ip addr add 10.75.37.59/24 dev ens4
# config addr for one port 
[email protected]:/opt# ip addr del 172.16.1.163/24 dev ens3
# delet addr for one port
[email protected]:/opt# ip addr
# equal with ifconfig
[email protected]:/opt# ip link set ens4 up
# up one port 
[email protected]:/opt# ip -s link ls ens4
# cool cmd, check RX/TX packets, errors, dropped, overrun, mcast
[email protected]:/opt# ip route add default via 10.75.37.1 
# config default route
[email protected]:/opt# ip route
# check v4 route table
[email protected]:/opt# ip -6 route
# check v6 route table
[email protected]:/opt# echo 'nameserver 64.104.123.144' > /etc/resolv.conf

完整阅读

blonde teen swallows load.xxx videos