Forum Discussion
hooleylist
Apr 08, 2010Cirrostratus
I think you'll want to use $node_ip instead of &node_ip. The ping command seems to work on a test unit:
ping -I `awk 'BEGIN {RS="}\n";FS=RS} /^self 10.42./ {print $1;} ' /config/bigip_base.conf |head -1|awk '{print $2}'` -c 1 -W 1 10.41.0.22
PING 10.41.0.22 (10.41.0.22) from 10.42.2.2 : 56(84) bytes of data.
64 bytes from 10.41.0.22: icmp_seq=1 ttl=127 time=1.68 ms
--- 10.41.0.22 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.687/1.687/1.687/0.000 ms
Aaron