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
9
10CONFIG_TEST_RANDOM_GENERATOR=y
11
12CONFIG_NET_PKT_RX_COUNT=32
13CONFIG_NET_PKT_TX_COUNT=32
14CONFIG_NET_BUF_RX_COUNT=32
15CONFIG_NET_BUF_TX_COUNT=32
16CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=5
17CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=5
18CONFIG_NET_IF_UNICAST_IPV4_ADDR_COUNT=1
19CONFIG_NET_MAX_CONTEXTS=10
20
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 VLAN
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# IPv6 prefix len
36CONFIG_NET_SAMPLE_IFACE_MY_IPV6_PREFIXLEN=64
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 VLAN supported network 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"
48CONFIG_NET_SAMPLE_IFACE2_MY_IPV4_NETMASK="255.255.255.0"
49# VLAN tag for the second interface
50CONFIG_NET_SAMPLE_IFACE2_VLAN_TAG=100
51
52# Settings for the third VLAN supported network interface
53CONFIG_NET_SAMPLE_IFACE3_MY_IPV6_ADDR="2001:db8:200::1"
54# TEST-NET-3 from RFC 5737
55CONFIG_NET_SAMPLE_IFACE3_MY_IPV4_ADDR="203.0.113.1"
56CONFIG_NET_SAMPLE_IFACE3_MY_IPV4_NETMASK="255.255.255.0"
57# VLAN tag for the second interface
58CONFIG_NET_SAMPLE_IFACE3_VLAN_TAG=200
59
60# Logging
61CONFIG_LOG=y
62
63# VLAN settings.
64CONFIG_NET_VLAN=y
65CONFIG_NET_VLAN_COUNT=2
66