d1e3f164fa80828655b1904817ccdd02db8addc5
[GitHub/Stricted/sm-g903f-system.git] / etc / clatd.conf
1 # Host IID to use as the source of CLAT traffic.
2 # This is a /128 taken out of the /64 on the parent interface.
3 # A host IID of :: means to generate a checksum-neutral, random IID.
4 ipv6_host_id ::
5
6 # IPv4 address configuration to use when selecting a host address. The first
7 # clat daemon started will use the address specified by ipv4_local_subnet. If
8 # more than one daemon is run at the same time, subsequent daemons will use
9 # other addresses in the prefix of length ipv4_local prefixlen that contains
10 # ipv4_local_subnet. The default is to use the IANA-assigned range 192.0.0.0/29,
11 # which allows up to 8 clat daemons (.4, .5, .6, .7, .0, .1, .2, .3).
12 ipv4_local_subnet 192.0.0.4
13 ipv4_local_prefixlen 29
14
15 # get the plat_subnet from dns lookups (requires DNS64)
16 plat_from_dns64 yes
17 # hostname to use to lookup plat subnet. must contain only A records
18 plat_from_dns64_hostname ipv4only.arpa
19
20 # plat subnet to send ipv4 traffic to. This is a /96 subnet.
21 # This setting only makes sense with: plat_from_dns64 no
22 #plat_subnet 2001:db8:1:2:3:4::
23
24 # The maximum number of waiting packets to process on a given filedescriptor
25 # before we read from any other waiting filedescriptor(s) and/or call poll()
26 # again.
27 packet_burst 50
28
29 # The send buffer for the raw socket. Set to 0 to use the default.
30 send_buffer 262144
31
32 # The receive buffer for the packet socket. Set to 0 to use the default.
33 receive_buffer 1048576