Forum Discussion
ping from a route domain
just wondering, in order to test the routing on a route domain do you ping to the destination with the %id after it?
ie for route domain 13 - ping 10.10.10.10%13
- Josh_Hill_17083NimbostratusExactly how it is done.
- kev_245_28249Nimbostratusthanks
- hooleylistCirrostratusSee SOL10467 for details on using CLI utilities to check virtual servers and pool members when using route domains:
- jzhyc5_48613Nimbostratus
Used when troubleshootign wioth telnet in a vrd environemnt (as per SOL10467)
!/usr/bin/perl telnetvrd: Simple perl wrapper when trying to troubleshoot using telnet and Virtual Route Domains, (See VRD, SOL10467) Use as you would with ping, e.g. telnet 192.168.99.1%1902 8080 It'll save going through the Hex conversion. There are plenty of ways to improve it but its simple enough for my needs. Easily converted to bash shell if required. Note: If BigIP is running code pre 10.1.0, the baseStr value should be changed to: "2610:0000:0C10:F501:0000:"; $baseStr="2620:0000:0C10:F501:0000:"; $vrd = ""; $hexvrd = ""; $ip = ""; $port = ""; $arg = ""; ($ip, $vrd) = split(/%/, $ARGV[0]); $port = $ARGV[1]; $hexvrd = sprintf("%04x", $vrd); $arg = $baseStr.$hexvrd.":".$ip." ".$port; `telnet $arg`;
- Jason_40733Cirrocumulus
Also, note there is the "rdsh" command in 11.x. This sets a unix shell from the cli that then uses the route domain normally.
e.g.
rdsh 1105 ping 10.10.10.10 PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data. 64 bytes from 10.10.10.10: icmp_seq=1 ttl=255 time=2.20 ms 64 bytes from 10.10.10.10: icmp_seq=2 ttl=255 time=0.975 ms telnet 10.10.10.10 890 Trying 10.10.10.10... Connected to 10.10.10.10 (10.10.10.10). Escape character is '^]'. ^] telnet> quit Connection closed.
- kev_245_28249Nimbostratusreally hoping 'rdsh' introduces a cmd prompt change, so you can tell when you are not in rdsh 0. Have given F5 this feedback. Its annoying because certain commands won't work until you jump back into rdsh 0, which can lead one to researching the command etc only to remember to jump back into rdsh 0.
- Chris_MK_203298NimbostratusThanks for this, it helped me.
- FredO_01_141598Nimbostratus
What about testing in 10.2.4? Seems like F5 doesnt want to help those that cant get to new code.
- Stanislas_Piro2Cumulonimbus
Hi fredO 01,
BIGIP 10.2.4 released in 2012 is not supported anymore since 2015.
Don't blame F5 to stop support of old versions!
The answer was provided in this thread!
Execute
if route domain I'd is 10rdsh 10
- FredO_01_141598Nimbostratus
Except that rdsh 10 (or route domain number) doesn't work in 10.2.4(or at least I haven't been able to make it work) so you simply confirmed what I said that similar facility to rdsh on pre 11.x code, isn't available. Having to convert to an ipv6 address to test L4 route domain functionality isn't super useful. Blaming F5 for not supporting old versions? No. Blaming F5 for introducing route domains in 10.x and not providing better testing tools in 10.x? you decide.
find / -iname "rdsh"
- Stanislas_Piro2Cumulonimbus
Look this article
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