Forum Discussion
rest api payload for network virtual server
Hi
I want to create a virtual server of type network. In order to do this in rest api I understand that I need to provide a destination address with the host bit 0. Does it imply that for the host bit to be zero I have to provide a mask: like 255.255.255.0 and the address: as ex 192.120.112.0 for destination type network.
Does f5 use a class C network address?
1 Reply
Hello,
You can find below a test payload from my lab :
{"kind":"tm:ltm:virtual:virtualstate","name":"vs-forward","fullPath":"vs-forward","generation":2644,"selfLink":"","addressStatus":"yes","autoLasthop":"default","cmpEnabled":"yes","connectionLimit":0,"destination":"/Common/192.168.1.0:80","enabled":true,"gtmScore":0,"ipForward":true,"ipProtocol":"tcp","mask":"255.255.255.0","mirror":"disabled","mobileAppTunnel":"disabled","nat64":"disabled","rateLimit":"disabled","rateLimitDstMask":0,"rateLimitMode":"object","rateLimitSrcMask":0,"source":"0.0.0.0/0","sourceAddressTranslation":{"type":"none"},"sourcePort":"preserve","synCookieStatus":"not-activated","translateAddress":"disabled","translatePort":"disabled","vlansDisabled":true,"vsIndex":24,"policiesReference":{"link":"","isSubcollection":true},"profilesReference":{"link":"","isSubcollection":true}}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com