Forum Discussion
SSL connect time diffs between domains (VIPs)
Hi
I'm running activeperl version 5.14.2 on windows 7 64bit.
I'm getting the below errors while running the script:
C:\Downloads\F5>css2f5-tmsh.pl css2.txt
Global symbol "$exceptions_file" requires explicit package name at C:\Downloads\
F5\css2f5-tmsh.pl line 76.
Global symbol "$exceptions_file" requires explicit package name at C:\Downloads\
F5\css2f5-tmsh.pl line 78.
Global symbol "$exceptions_file" requires explicit package name at C:\Downloads\
F5\css2f5-tmsh.pl line 80.
Global symbol "@pool_list" requires explicit package name at C:\Downloads\F5\css
2f5-tmsh.pl line 81.
Global symbol "@virt_list" requires explicit package name at C:\Downloads\F5\css
2f5-tmsh.pl line 82.
Global symbol "@unique_VIP_list" requires explicit package name at C:\Downloads\
F5\css2f5-tmsh.pl line 83.
Global symbol "@pools" requires explicit package name at C:\Downloads\F5\css2f5-
tmsh.pl line 84.
Global symbol "@virtuals" requires explicit package name at C:\Downloads\F5\css2
f5-tmsh.pl line 85.
Global symbol "@servers" requires explicit package name at C:\Downloads\F5\css2f
5-tmsh.pl line 86.
Global symbol "$policy_count" requires explicit package name at C:\Downloads\F5\
css2f5-tmsh.pl line 87.
Global symbol "$virt_count" requires explicit package name at C:\Downloads\F5\cs
s2f5-tmsh.pl line 88.
Global symbol "$pool_count" requires explicit package name at C:\Downloads\F5\cs
s2f5-tmsh.pl line 89.
Global symbol "$policy_count" requires explicit package name at C:\Downloads\F5\
css2f5-tmsh.pl line 90.
Global symbol "@ssl_servers" requires explicit package name at C:\Downloads\F5\c
ss2f5-tmsh.pl line 91.
Global symbol "$one" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 98.
Global symbol "$two" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 98.
Global symbol "$three" requires explicit package name at C:\Downloads\F5\css2f5-
tmsh.pl line 98.
Global symbol "$four" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 98.
Global symbol "$five" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 98.
Global symbol "$six" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 98.
Global symbol "$seven" requires explicit package name at C:\Downloads\F5\css2f5-
tmsh.pl line 98.
Global symbol "$eight" requires explicit package name at C:\Downloads\F5\css2f5-
tmsh.pl line 98.
Global symbol "$nine" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 98.
Global symbol "$ten" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 98.
Global symbol "$one" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 100.
Global symbol "$two" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 103.
Global symbol "$two" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 103.
Global symbol "$two" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 104.
Global symbol "%users" requires explicit package name at C:\Downloads\F5\css2f5-
tmsh.pl line 106.
Global symbol "$two" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 106.
Global symbol "$two" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 106.
Global symbol "%vlans" requires explicit package name at C:\Downloads\F5\css2f5-
tmsh.pl line 110.
Global symbol "$two" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 110.
Global symbol "$two" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 110.
Global symbol "$i" requires explicit package name at C:\Downloads\F5\css2f5-tmsh
.pl line 111.
Global symbol "$mask" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 117.
Global symbol "%selfip" requires explicit package name at C:\Downloads\F5\css2f5
-tmsh.pl line 118.
Global symbol "$mask" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 118.
Global symbol "$two" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 118.
Global symbol "$i" requires explicit package name at C:\Downloads\F5\css2f5-tmsh
.pl line 120.
Global symbol "$i" requires explicit package name at C:\Downloads\F5\css2f5-tmsh
.pl line 121.
Global symbol "$two" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 126.
Global symbol "$mask" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 127.
Global symbol "$four" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 127.
Global symbol "%routes" requires explicit package name at C:\Downloads\F5\css2f5
-tmsh.pl line 128.
Global symbol "$three" requires explicit package name at C:\Downloads\F5\css2f5-
tmsh.pl line 128.
Global symbol "$four" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 128.
Global symbol "$three" requires explicit package name at C:\Downloads\F5\css2f5-
tmsh.pl line 128.
Global symbol "$mask" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 128.
Global symbol "$three" requires explicit package name at C:\Downloads\F5\css2f5-
tmsh.pl line 128.
Global symbol "$mask" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 128.
Global symbol "$five" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 128.
Global symbol "$two" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 130.
Global symbol "$three" requires explicit package name at C:\Downloads\F5\css2f5-
tmsh.pl line 130.
Global symbol "$mask" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 131.
Global symbol "$five" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 131.
Global symbol "%routes" requires explicit package name at C:\Downloads\F5\css2f5
-tmsh.pl line 132.
Global symbol "$four" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 132.
Global symbol "$five" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 132.
Global symbol "$four" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 132.
Global symbol "$mask" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 132.
Global symbol "$four" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 132.
Global symbol "$mask" requires explicit package name at C:\Downloads\F5\css2f5-t
msh.pl line 132.
Global symbol "$six" requires explicit package name at C:\Downloads\F5\css2f5-tm
sh.pl line 132.
syntax error at C:\Downloads\F5\css2f5-tmsh.pl line 137, near "when "interface""
C:\Downloads\F5\css2f5-tmsh.pl has too many errors.
I edit the script with the below changes in order to overcome the "swich" errors:
I comment the line "use Switch 'Perl6';" and added the line "use 5.14.2;" instead.
I added the "(" for all the when line like - when ("255.255.255.0") { return "24"}
Will you be able to help with the script?
- Jad_Tabbara__J1Jul 10, 2017
Cirrostratus
How did you add this route ? CLI or from GUI
- Jad_Tabbara__J1Jul 10, 2017
Cirrostratus
If you want to add a route using command line try the command below
tmsh create net route x.159.222.0/24 gw x.159.222.254
- TJ_VreugdenhilJul 10, 2017
Cirrus
Thanks for the comment. Yes, I tried it via the GUI, CLI, & tmsh all with the same message.
I believe because the self IP is on the subnet it is suggesting not to force to add a route since the upstream Gateway will be will automatically be sending ARP replies for the subnet.
You could probably set the self IP's to a /32 mask and then set the route, but not sure that is appropriate either.
I think I'm good, I apparently didn't get to my coffee before I posted this question ;)
- Faruk_AYDINJul 10, 2017
Altostratus
Before adding that route, try to change the self-ip subnet mask. I suggest you to change it from /24 to /28. Then you can add the route you want.
- VIJO_JOEY_32403Feb 17, 2018
Nimbostratus
what is the command to add kernel routes ?
- Boggs_5738Feb 17, 2018
Nimbostratus
the self ip is in the same subnet of the destination ip [implied route] in the route command so the route is not needed.
- VIJO_JOEY_32403Feb 17, 2018
Nimbostratus
Thanks for the response BOGGS.
But my question is regarding Kernel IP routing table (Linux kernel routing table). When we give route -n , can see a set of routes like below;
Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.xx.xy.1 0.0.0.0 UG 0 0 0 back 0.0.0.0 10.xx.xy.1 0.0.0.0 UG 9 0 0 mgmt 10.0.0.0 10.xx.xy.1 255.0.0.0 UG 0 0 0 back 10.bb.cc.130 10.xx.xy.1 255.255.255.255 UGH 9 0 0 mgmt
I think this routes has to be added (or can be added) from bash mode with some "ip route add" command(i m not sure about that complete command and also not sure about adding the GENMASK).this is the command I was looking for .
I think Ill be getting the same result if I add route from tmsh with the below command; as both are intended for management routes (for taking administrative traffic) tmsh create /sys management-route network / gateway
- Boggs_5738Feb 23, 2018
Nimbostratus
In general/recommended, you would use the tmsh commands on bigip to add the routes. and yes, tmsh sys management-route is another way of adding route entry specific to send traffic to a specific network via the mgmt interface.. the 'ip route' command will show all routes in the bigip, regardless if they are tmm or mgmt route..
here some reference that might be useful for this topic: K13284: Overview of management interface routing (11.x - 13.x)
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