1CONFIG_NETWORKING=y
2CONFIG_NET_LOG=y
3CONFIG_NET_IPV6=y
4CONFIG_NET_IPV4=y
5CONFIG_NET_DHCPV4=n
6CONFIG_NET_UDP=y
7CONFIG_NET_TCP=y
8CONFIG_NET_STATISTICS=y
9CONFIG_NET_STATISTICS_USER_API=y
10
11CONFIG_TEST_RANDOM_GENERATOR=y
12
13CONFIG_NET_PKT_RX_COUNT=32
14CONFIG_NET_PKT_TX_COUNT=32
15CONFIG_NET_BUF_RX_COUNT=32
16CONFIG_NET_BUF_TX_COUNT=32
17CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=5
18CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=5
19CONFIG_NET_IF_UNICAST_IPV4_ADDR_COUNT=1
20CONFIG_NET_MAX_CONTEXTS=2
21CONFIG_NET_IF_MAX_IPV6_COUNT=3
22CONFIG_NET_IF_MAX_IPV4_COUNT=3
23
24CONFIG_INIT_STACKS=y
25CONFIG_PRINTK=y
26CONFIG_NET_SHELL=y
27
28# Ethernet is needed for LLDP
29CONFIG_NET_L2_ETHERNET=y
30
31CONFIG_NET_CONFIG_NEED_IPV6=y
32CONFIG_NET_CONFIG_NEED_IPV4=y
33CONFIG_NET_CONFIG_SETTINGS=y
34
35# There will be three network interfaces. This is just an example
36# how to do this kind of setup.
37
38# First ethernet interface will use these settings
39CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
40CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::2"
41CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
42CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
43
44# Second ethernet interface will have these settings
45CONFIG_NET_SAMPLE_IFACE2_MY_IPV6_ADDR="2001:db8:100::1"
46# TEST-NET-2 from RFC 5737
47CONFIG_NET_SAMPLE_IFACE2_MY_IPV4_ADDR="198.51.100.1"
48# VLAN tag for the second interface
49CONFIG_NET_SAMPLE_IFACE2_VLAN_TAG=100
50
51# Settings for the third network interface
52CONFIG_NET_SAMPLE_IFACE3_MY_IPV6_ADDR="2001:db8:200::1"
53# TEST-NET-3 from RFC 5737
54CONFIG_NET_SAMPLE_IFACE3_MY_IPV4_ADDR="203.0.113.1"
55# VLAN tag for the second interface
56CONFIG_NET_SAMPLE_IFACE3_VLAN_TAG=200
57
58# Logging
59CONFIG_LOG=y
60
61# VLAN settings. We will have two VLANs in this sample.
62CONFIG_NET_VLAN=y
63CONFIG_NET_VLAN_COUNT=2
64
65# LLDP settings
66CONFIG_NET_LLDP=y
67
68# The configuration here is just an example, you must set proper values
69# according to your network needs. Also the ethernet driver must create
70# LLDPDU and register it to LLDP sub-system.
71CONFIG_NET_LLDP_PORT_ID_SUBTYPE=5
72CONFIG_NET_LLDP_PORT_ID="lldp-test"
73
74# How often to send LLDPDUs to network (in seconds)
75CONFIG_NET_LLDP_TX_INTERVAL=30
76
77# How many traffic classes to enable
78CONFIG_NET_TC_TX_COUNT=6
79CONFIG_NET_TC_RX_COUNT=4
80