NETWORK
The NETWORK statement defines address families for sockets. It is necessary if the facility needs the socket domains.
Example: If you are activating IPv6, add a second NETWORK
statement.
FILESYSTYPE Type (INET) Entrypoint (EZBPFINI)
NETWORK DOMAINNAME (AF_INET) TYPE(INET)
DOMAINNUMBER(2) MAXSOCKETS(64000)
NETWORK DOMAINNAME(AF_INET6) DOMAINNUMBER(19) TYPE(INET)
Rule: You must configure just AF_INET or both AF_INET and AF_INET6. You cannot configure AF_INET6 alone.
Some tips:
- You can specify separate MAXSOCKETS values. The default MAXSOCKET value for AF_INET6 is the value that was specified or defaulted to for AF_INET.
- The INADDRANYPORT range for CINET is shared across both address families and the values are taken from the AF_INET statement. Any value specified on the AF_INET6 statement is ignored.
- You can also add the second NETWORK statement with SETOMVS RESET, but the TCP/IP stacks will have to be recycled in order to activate IPv6.