Modify config.ini

This commit is contained in:
fengbojiang 2018-11-13 22:11:05 +08:00
parent 412fc42f8b
commit 81bb5483fe
1 changed files with 4 additions and 13 deletions

View File

@ -39,10 +39,10 @@ port_list=0
# Port config section # Port config section
# Correspond to dpdk.port_list's index: port0, port1... # Correspond to dpdk.port_list's index: port0, port1...
[port0] [port0]
addr=10.139.144.123 addr=192.168.1.2
netmask=255.255.224.0 netmask=255.255.225.0
broadcast=10.139.159.255 broadcast=192.168.1.255
gateway=10.139.128.1 gateway=192.168.1.1
# lcore list used to handle this port # lcore list used to handle this port
# the format is same as port_list # the format is same as port_list
@ -55,21 +55,12 @@ gateway=10.139.128.1
# all packets that do not belong to the following tcp_port and udp_port # all packets that do not belong to the following tcp_port and udp_port
# will transmit to kernel; if method=accept, all packets that belong to # will transmit to kernel; if method=accept, all packets that belong to
# the following tcp_port and udp_port will transmit to kernel. # the following tcp_port and udp_port will transmit to kernel.
<<<<<<< HEAD
#[kni] #[kni]
#enable=1 #enable=1
#method=reject #method=reject
# The format is same as port_list # The format is same as port_list
#tcp_port=80,443 #tcp_port=80,443
#udp_port=53 #udp_port=53
=======
[kni]
enable=1
method=reject
# The format is same as port_list
tcp_port=80,443
udp_port=53
>>>>>>> 387425b16df2b02c99c1583c2f9c376c1fb05ca4
# FreeBSD network performance tuning configurations. # FreeBSD network performance tuning configurations.
# Most native FreeBSD configurations are supported. # Most native FreeBSD configurations are supported.