Forum Discussion

Bharath_Swamina's avatar
Bharath_Swamina
Icon for Nimbostratus rankNimbostratus
May 01, 2016

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}}