Hello, I am running a SDWAN test and need to bring down the MTU. However when I look at the capture on the wire from the trex port I see full 1460 mss.
Below are the configurations.
root@ansible-/home/bkelly/trex/v2.56#cat astf/vip1.py
from trex.astf.api import *
class Prof1():
def __init__(self):
pass
def get_profile(self, **kwargs):
ip_gen_c = ASTFIPGenDist(ip_range=["16.0.0.1", "16.0.0.255"], distribution="seq")
ip_gen_s = ASTFIPGenDist(ip_range=["48.0.0.1", "48.0.0.255"], distribution="seq")
ip_gen = ASTFIPGen(dist_client=ip_gen_c, dist_server=ip_gen_s)
c_glob_info = ASTFGlobalInfo()
c_glob_info.tcp.mss = 1300
c_glob_info.tcp.initwnd = 1
s_glob_info = ASTFGlobalInfo()
s_glob_info.tcp.mss = 1300
s_glob_info.tcp.initwnd = 1
return ASTFProfile(default_ip_gen=ip_gen, cap_list=[
ASTFCapInfo(file="../avl/delay_10_http_browsing_0.pcap", cps=1)
])
def register():
return Prof1()
[root@trex astf]# cat /etc/trex_cfg.yaml
prefix : trex-1
limit_memory : 2048
#List of interfaces. Change to suit your setup. Use ./dpdk_setup_ports.py -s to see available options
interfaces : ["81:00.2","81:00.3"]
stack: linux_based
port_info : # Port IPs. Change to suit your needs. In case of loopback, you can leave as is.
- ip : 4.4.0.2
default_gw : 4.4.0.254
#dest_mac : 3c:fd:fe:a4:ca:2b
vlan : 104
- ip : 12.12.0.2
default_gw : 12.12.0.254
#dest_mac : 3c:fd:fe:a4:ca:2a
vlan : 112