# NetworkloadbalancerCreate Creates an Network Load Balancer within the datacenter. ```text knife ionoscloud networkloadbalancer create (options) ``` ## Available options: ### Required options: * datacenter\_id * name * listener\_lan * target\_lan * ips ```text ionoscloud_url: --url URL the Ionoscloud API URL extra_config_file: --extra-config EXTRA_CONFIG_FILE_PATH, -e EXTRA_CONFIG_FILE_PATH path to the additional config file datacenter_id: --datacenter-id DATACENTER_ID, -D DATACENTER_ID name of the data center (required) name: --name NAME, -n NAME name of the load balancer (required) listener_lan: --listener-lan LISTENER_LAN_ID, -l LISTENER_LAN_ID id of the listening LAN. (inbound) (required) target_lan: --target-lan TARGET_LAN_ID, -t TARGET_LAN_ID id of the balanced private target LAN. (outbound) (required) ips: --ips IP[,IP,...], -i IP[,IP,...] collection of IP addresses of the Network Load Balancer. (inbound and outbound) IP of the listenerLan must be a customer reserved IP for the public load balancer and private IP for the private load balancer. (required) lb_private_ips: --private-ips IP[,IP,...] collection of private IP addresses with subnet mask of the Network Load Balancer. IPs must contain valid subnet mask. If user will not provide any IP then the system will generate one IP with /24 subnet. ionoscloud_username: --username USERNAME, -u USERNAME your Ionoscloud username ionoscloud_password: --password PASSWORD, -p PASSWORD your Ionoscloud password ionoscloud_token: --token PASSWORD your Ionoscloud access token ``` ## Example ```text knife ionoscloud networkloadbalancer create --url URL --extra-config EXTRA_CONFIG_FILE_PATH --datacenter-id DATACENTER_ID --name NAME --listener-lan LISTENER_LAN_ID --target-lan TARGET_LAN_ID --ips IP[,IP,...] --private-ips IP[,IP,...] --username USERNAME --password PASSWORD --token PASSWORD ```