Forum Discussion

EllisD_26132's avatar
EllisD_26132
Icon for Nimbostratus rankNimbostratus
Oct 14, 2009

Default 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

  • Can you check the default route you created is 0.0.0.0%2

     

     

    Thanks,

     

    Sriram
  • 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
  • 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.