Forum Discussion
JDamian
Nimbostratus
Mar 22, 2020Is possible to create a down Virtual Server when creating the first VIP?
Hi
When I create the first VIP for an IP address, an up-and-running Virtual Server Address is also created -- "up-and-running" means replying ICMP and ARP.
This is true even when that first VIP is created "disabled".
Is any way to create that fist VIP and its associated Virtual Address both disabled?
Best regards
- Pedro_HaoaRet. Employee
Hi,
Here some quick alternatives for your project.
Option 1: Concatenate tmsh in Advanced Shell
tmsh create ltm virtual test_vs destination 10.1.1.5:80 disabled pool test_pool ip-protocol tcp source-address-translation { type automap } && tmsh modify ltm virtual-address 10.1.1.5 enabled no arp disabled icmp-echo disabled
Option 2: Concatenate iControl REST
curl -sku admin:admin https://<host>/mgmt/tm/ltm/virtual -H "Content-Type: application/json" -X POST -d '{"name":"test_vs", \ "destination":"10.1.1.5:80", \ "mask":"255.255.255.255", \ "pool":"test_pool", \ "profilesReference": {"items": [ {"context": "all", "name": "tcp"}] }, \ "sourceAddressTranslation": {"type": "automap"} }' curl -sku admin:admin https://<host>/mgmt/tm/ltm/virtual-address -H "Content-Type: application/json" -X POST -d '{"name":"10.1.1.5", \ "address":"10.1.1.5", \ "arp":"enabled", \ "enabled":"yes", \ "icmpEcho":"enabled" }'
I hope it helps.
Cheers!
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects