Forum Discussion
EllisD_26132
Nimbostratus
Oct 14, 2009Default route for Route Domain
Can anyone tell me why I cannot add a default route for a non-default route domain on my 10.0.1 HF2 box?
route domain 1 {
description "Front_End"
vlans {
WF_Front_Ext
WF_Front_Int
}
}
self 10.0.41.251%1 {
netmask 255.255.255.0
vlan WF_Front_Ext
allow default
}
self 10.0.42.251%1 {
netmask 255.255.255.0
vlan WF_Front_Int
allow default
}
Trying to add a default route as:
route any%1 {
gateway 10.0.41.1
}
Results in an error "01070330:3: Static route gateway 10.0.41.1 is not directly connected via an interface."
It does allow me to add the route as:
route any%1 {
gateway 10.0.41.1%1
}
But it doesn't appear to work. The documentation on page 10-13 of the "TMOS Management Guide" says that you *don't* need to append "%X" prefix when specifying the gateway for a default route.
Clearly 10.0.41.1 *is* directly connected out of my "WF_Front_Ext" interface vlan......
Any help appreciated!
Thanks,
Ellis
14 Replies
- Sriram_87174
Nimbostratus
Can you check the default route you created is 0.0.0.0%2
Thanks,
Sriram - Lguidoux_118802
Nimbostratus
Hello
I am using Icontrol with 10.2 Version.
I created an RD (ID 25) on a given partition.
Do you know if it is possible to set this RD as default inside this partition via the Icontrol API.
If yes what is the method with 10.2 Version ?
Thanks for your help
Laurent - AP_129594
Nimbostratus
Check your self/float IP if you have the correct netmask. I run into the same issue today and sure enough, my vlan is setup to be /23 instead of /24.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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