We need to set a proper IPv4 netmask to each VLAN interface so that IPv4 source address selection will work properly. If we do not do this, then the network interface could be selected incorrectly for the VLAN interfaces which could then mean that the packet might get dropped by the target device. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
79 lines
2.0 KiB
Plaintext
79 lines
2.0 KiB
Plaintext
# Private config options for echo-server sample app
|
|
|
|
# Copyright (c) 2018 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
mainmenu "Networking echo-server sample application"
|
|
|
|
config NET_SAMPLE_NUM_HANDLERS
|
|
int "How many connections to serve at the same time"
|
|
default 1
|
|
help
|
|
Each connection is served by a thread which needs
|
|
memory. Only increase the value here if really needed.
|
|
|
|
config NET_SAMPLE_IFACE2_MY_IPV6_ADDR
|
|
string "My IPv6 address for second interface"
|
|
help
|
|
The value depends on your network setup.
|
|
|
|
config NET_SAMPLE_IFACE2_MY_IPV4_ADDR
|
|
string "My IPv4 address for second interface"
|
|
help
|
|
The value depends on your network setup.
|
|
|
|
config NET_SAMPLE_IFACE2_MY_IPV4_NETMASK
|
|
string "My IPv4 netmask for second interface"
|
|
help
|
|
The value depends on your network setup.
|
|
|
|
config NET_SAMPLE_IFACE2_VLAN_TAG
|
|
int "VLAN tag for second interface"
|
|
default 100
|
|
range 0 4094
|
|
depends on NET_VLAN
|
|
help
|
|
Set VLAN (virtual LAN) tag (id) that is used in the sample
|
|
application.
|
|
|
|
config NET_SAMPLE_IFACE3_MY_IPV6_ADDR
|
|
string "My IPv6 address for third interface"
|
|
help
|
|
The value depends on your network setup.
|
|
|
|
config NET_SAMPLE_IFACE3_MY_IPV4_ADDR
|
|
string "My IPv4 address for third interface"
|
|
help
|
|
The value depends on your network setup.
|
|
|
|
config NET_SAMPLE_IFACE3_MY_IPV4_NETMASK
|
|
string "My IPv4 netmask for third interface"
|
|
help
|
|
The value depends on your network setup.
|
|
|
|
config NET_SAMPLE_IFACE3_VLAN_TAG
|
|
int "VLAN tag for third interface"
|
|
default 200
|
|
range 0 4094
|
|
depends on NET_VLAN
|
|
help
|
|
Set VLAN (virtual LAN) tag (id) that is used in the sample
|
|
application.
|
|
|
|
config NET_SAMPLE_PSK_HEADER_FILE
|
|
string "Header file containing PSK"
|
|
default "dummy_psk.h"
|
|
depends on MBEDTLS_KEY_EXCHANGE_PSK_ENABLED
|
|
help
|
|
Name of a header file containing a
|
|
pre-shared key.
|
|
|
|
config NET_SAMPLE_CERTS_WITH_SC
|
|
bool "Signed certificates"
|
|
depends on NET_SOCKETS_SOCKOPT_TLS
|
|
help
|
|
Enable this flag, if you are interested to run this
|
|
application with signed certificates and keys.
|
|
|
|
source "Kconfig.zephyr"
|