-
Notifications
You must be signed in to change notification settings - Fork 2
add network
stack add network {name} {subnet} {netmask} [dnszone=string] [mtu=string] [netmask=string] [servedns=boolean] [subnet=string]
Add a network to the database. By default both the "public" and "private" networks are already defined by Rocks.
-
{name}
Name of the new network.
-
{subnet}
The IP network address for the new network.
-
{netmask}
The IP network mask for the new network.
-
[dnszone=string]
The Domain name or the DNS Zone name to use for all hosts of this particular subnet. Default is set to the name of the subnet
-
[mtu=string]
The MTU for the new network. Default is 1500.
-
[netmask=string]
Can be used in place of the netmask argument.
-
[servedns=boolean]
Parameter to decide whether this zone will be served by the nameserver on the frontend.
-
[subnet=string]
Can be used in place of the subnet argument.
-
stack add network optiputer 192.168.1.0 255.255.255.0
Adds the optiputer network address of 192.168.1.0/255.255.255.0.
-
stack add network optiputer subnet=192.168.1.0 netmask=255.255.255.0 mtu=9000 dnszone="optiputer.net" servedns=true
Same as above, but set the MTU to 9000.
-
add
- add appliance
- add appliance attr
- add appliance firewall
- add appliance route
- add attr
- add bootaction
- add copyright
- add distribution
- add environment attr
- add firewall
- add host
- add host alias
- add host attr
- add host bonded
- add host bridge
- add host firewall
- add host interface
- add host key
- add host partition
- add host route
- add network
- add os attr
- add os firewall
- add os route
- add pallet
- add route
- add storage controller
- config
- create
- disable
- dump
- enable
- help
- iterate
- list
- load
- open
- remove
- report
- run
- set
- swap
- sync
- unload