-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.cfg
46 lines (40 loc) · 1.13 KB
/
example.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# config over the whole packet
interface = eth0
pkt_size = 160
dstmac = 04:3f:72:a9:5f:20
pkt_num = 0
# tos = 0
# vlan = 13
# svlan = 89
cpulist = 0-3
rxqlist = 4-7
# bps_limit = 10000
# pps_limit = 100000
# clone = 100
# burst = 32
# l3/4 setting, could be inner setting if tunnel exists
dst_ip = 10.157.89.95
#src_ip = 192.168.0.58
# if not set, this is the default value
# udp_src_port = 9-1009
udp_dst_port = 9-1009
# if config items below exist, config above should be taken as inner l3/4 setting
# tun_vni = 3002-3005
# tun_udp_port means udp dest port, while udp source port calculated accoding to inner five tuples
# tun_udp_port = 4789
# tun_src_ip = 10.157.89.102
# tun_dst_ip = 10.157.89.95
#inner_dstmac = fa:16:3e:67:00:38
#inner_srcmac = 00:00:0a:e3:c4:01
# inner_dmac_num = 10
# inner_smac_num = 100
# Below are two models
# micro burst mean send a burst in very short period,
# format is poll_time,pause_time , and time unit is ms
#micro_burst = 100,200
# imix send mixed length of packets
# format is len:weight,...
# imix_weight = 40:7,576:4,1500:1
# tcp_syn = syn
# start_xmit, netif_receive, queue_xmit
# mode = netif_receive