Documentation > Kernel Module Arguments > jool
NAT64 Jool’s Kernel Module Arguments
Index
Syntax
# /sbin/modprobe jool \
[pool6=<IPv6 prefix>] \
[pool4=<IPv4 prefixes>] \
[disabled] \
[no_instance]
Example
# /sbin/modprobe jool \
pool6=64:ff9b::/96 \
pool4="198.51.100.1, 203.0.113.0/28" \
disabled
Arguments
IPv4 prefix lengths default to 32 and IPv6 prefix lengths default to 128.
Comma-separated arguments can contain up to 5 entries. If you need more, use the userspace application counterpart.
pool6
- Name: IPv6 Pool
- Type: IPv6 prefix
- Userspace Application Counterpart:
--pool6
- Default: -
The RFC 6052 translation prefix of the Jool instance. It defines the IPv6 representation of the addresses of the IPv4 nodes. See the NAT64 introduction.
If this is not present, Jool cannot translate. You can therefore use the default to pause translation, just like disabled
.
The prefix length must be 32, 40, 48, 56, 64 or 96 as per RFC 6052.
pool4
- Name: IPv4 Transport Address Pool
- Type: Comma-separated list of IPv4 addresses/prefixes
- Userspace Application Counterpart:
--pool4
- Default: Port range 61001-65535 of whatever addresses the node has in its interfaces.
IPv4 addresses the instance can mask IPv6 nodes with. See IPv4 Transport Address Pool for details.
Any address you insert via pool4
defaults to use mark zero and contain port range 1-65535 and ICMP identifiers 0-65535. You can’t change this during the modprobe; the userspace application version of this argument is therefore recommended instead.
disabled
- Name: Insert the Jool instance, but do not translate yet.
- Type: -
- Userspace Application Counterpart:
--enable
and--disable
Hooks the Jool instance inactive. If you’re using the userspace application, you can use it to ensure you’re done configuring before your traffic starts getting translated.
If not present, the instance starts translating traffic right away.
no_instance
- Name: Do not create a translator instance
- Type: -
- Userspace Application Counterpart:
--instance --add
Prevents the modprobe from hooking a translator instance on the current network namespace.
no_instance
invalidates the rest of the arguments since all of them are intended to configure the default instance.