Forum Discussion
ashish_6700
Mar 26, 2010Nimbostratus
Need iRule setup for Diameter protocol
Hi,
We are trying Load balancing for application which uses Diameter protocol......We are configuring Big IP(V9.4.3) which does not have Diameter profile as it's supported from V10.1......
...
Praveen_73364
Mar 31, 2010Nimbostratus
Yes. We have gone through that example. Can you please let know what level of customization we need to do that in that code. Basically on the following part. Do we need to make any other change in the IRule to make this works.
origin-host
set ohostval "dlbbel.tmo.com"
set ohostdlen [string len $ohostval]
set ohostlen [expr $ohostdlen + 8]
set ohostpad [expr (4 - ( ${ohostdlen} % 4) )%4 ]
set ohostlen_pad [expr $ohostlen + $ohostpad ]
log local0. "ohostval = $ohostval, ohostdlen = $ohostdlen, ohostpad = $ohostpad, ohostlen_pad = $ohostlen_pad"
set my_ohostavp [binary format IIa${ohostdlen}H[expr 2 * ${ohostpad}] 264 [expr (0x40<<24)| ${ohostlen}] $ohostval 000000]
binary scan $my_ohostavp H* ohosthex
log local0. "ohost(hex) = $ohosthex"
Regards,
Praveen
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