[python]Using F5 iControl API without F5-SDK

I am experimenting myself, I have not worked with json type before, I worked frequently with the xml type, I will need to learn how to parse json type data to get meaningful output.. here's the sample code to test on GET.

Advertisements

[python]Creating bigip pool and pool members with F5 icontrol

I have recently downloaded the F5 SDK which helped to use the iControl REST API easily, it has a documentation here: https://f5-sdk.readthedocs.io, there are some coding example too, however not too in depth. So i started by just trying to create a new pool and iterate the pool members. This is a sample code to … Continue reading [python]Creating bigip pool and pool members with F5 icontrol

bigip tcpdump

Capture inbound and outbound from an interface [root@bigip1:Active:In Sync] config # tcpdump -nni 1.1 This command disables ip address and port resolution and from interface 1.1. Capture inbound and outbound and filter by address and port [root@bigip1:Active:In Sync] config # tcpdump host 172.16.5.254 and port 80 -nnvvi 1.1 This command filter the host by 172.16.5.254 … Continue reading bigip tcpdump

Simple load balancing with bigip

Lab information 2x DVWA servers in vmnet3 1x Lubuntu client in vmnet5 Use round robin as load balancing method. DVWA has a login page, hence enable persistence source address. Enable health monitor for the DVWA servers. Create DVWA pool DVWA has two servers namely 172.16.3.130 and .131 root@(bigip1)(cfg-sync Standalone)(Active)(/Common)(tmos)# /ltm pool root@(bigip1)(cfg-sync Standalone)(Active)(/Common)(tmos.ltm.pool)# create dvwa … Continue reading Simple load balancing with bigip

Configuring bigip from the start

To use the command line to achieve the following: mgmt ip address: 10.10.10.1, mask /24 ntp service to pool.ntp.org dns for bigip to 8.8.8.8 and 8.8.4.4 interface 1.1 to vmnet5, interface 1.2 vlan10, interface 1.3 vmnet3 default route test routing to the internet from pc in vmnet3 and vmnet4. change default password. change hostname to … Continue reading Configuring bigip from the start