Skip to content

Example: tcp mss in

Alt text

r1

hostname r1
vrf def v1
 rd 1:1
 exit
int ser1
 mtu 1500
 enforce-mtu both
 vrf for v1
 ipv4 addr 1.1.1.1 255.255.255.0
 ipv6 addr 1234::1 ffff::
 ipv4 tcp-mss-in 1280
 ipv6 tcp-mss-in 1280
 exit
ipv4 pool p4 2.2.2.1 0.0.0.1 254
int di1
 enc ppp
 vrf for v1
 ipv4 addr 2.2.2.0 255.255.255.255
 ppp ip4cp local 2.2.2.0
 ipv4 pool p4
 ppp ip4cp open
 exit
server pckotcp pou
 clone di1
 vrf v1
 exit
client tcp-segments 1024 4096

r2

hostname r2
vrf def v1
 rd 1:1
 exit
vrf def v2
 rd 1:1
 exit
vrf def v3
 rd 1:1
 exit
proxy-profile p1
 vrf v1
 exit
prefix-list p1
 permit 0.0.0.0/0
 exit
int ser1
 mtu 1500
 enforce-mtu both
 vrf for v1
 ipv4 addr 1.1.1.2 255.255.255.0
 ipv6 addr 1234::2 ffff::
 ipv4 tcp-mss-in 1280
 ipv6 tcp-mss-in 1280
 exit
int di2
 enc ppp
 vrf for v2
 ipv4 addr 4.4.4.4 255.255.255.128
 ppp ip4cp open
 ppp ip4cp local 0.0.0.0
 exit
vpdn di2
 interface di2
 proxy p1
 target 1.1.1.1
 vcid 2554
 prot pckotcp
 exit
int di3
 enc ppp
 vrf for v3
 ipv4 addr 4.4.4.4 255.255.255.128
 ppp ip4cp open
 ppp ip4cp local 0.0.0.0
 exit
vpdn di3
 interface di3
 proxy p1
 target 1234::1
 vcid 2554
 prot pckotcp
 exit
client tcp-segments 1024 4096
r1 tping 100 15 1.1.1.2 vrf v1
r2 tping 100 15 1.1.1.1 vrf v1
r1 tping 100 15 1234::2 vrf v1
r2 tping 100 15 1234::1 vrf v1
r2 tping 100 30 2.2.2.0 vrf v2 siz 3000
r2 tping 100 30 2.2.2.0 vrf v3 siz 3000
  1. Install ContainerLab as described here
  2. Fetch conn-frag06 file
  3. Launch ContainerLab conn-frag06.yml topology:

   containerlab deploy --topo conn-frag06.yml  
4. Destroy ContainerLab conn-frag06.yml topology:

   containerlab destroy --topo conn-frag06.yml  
5. Copy-paste configuration for each node in the lab topology

  1. Fetch or compile freeRtr rtr.jar file.
    You can grab it here
  2. Fetch conn-frag06.tst file here
  3. Launch conn-frag06.tst test:

   java -jar ../../rtr.jar test tester conn-frag06 path ./ temp ./ wait
4. Destroy freeRtr conn-frag06.tst test:

   Ctrl-C (In freeRtr test window)