Ticket #2008 (closed defect: fixed)
Static Routes CIDR Picklist has gap between /16 and /8
| Reported by: | kamilion@… | Owned by: | jacalvo@… |
|---|---|---|---|
| Milestone: | 2.0 | Component: | base |
| Severity: | minor | Keywords: | static route picklist |
| Cc: |
Description
In trying to set up 1.5.7 on a Rackspace instance, static route configuration lacks picklist selections between a /16 and /8.
http://forum.ebox-platform.com/index.php?topic=4331.0
Initially, I tried to keep ebox from messing with it by setting the /etc/network/interfaces file chattr +i, but ebox-network did not appreciate not being able to write to it, so I've tried a different route.
The /etc/network/interfaces looks similar to this on a fresh rackspace instance:
auto eth0
iface eth0 inet static
address 174.143.151.138
netmask 255.255.255.0
gateway 174.143.151.1
dns-nameservers 72.3.128.240 72.3.128.241
auto eth1
iface eth1 inet static
address 10.177.34.130
netmask 255.255.224.0
up route add -net 10.176.0.0 netmask 255.248.0.0 gw 10.177.32.1
down route del -net 10.176.0.0 netmask 255.248.0.0 gw 10.177.32.1
up route add -net 10.191.192.0 netmask 255.255.192.0 gw 10.177.32.1
down route del -net 10.191.192.0 netmask 255.255.192.0 gw 10.177.32.1
My routes in this case should be:
10.176.0.0/13 gw:10.177.32.1 10.191.192.0/18 gw:10.177.32.1
So, for now, I'm working around it like this: I need 10.176.0.0 - 10.183.255.255
so:
10.191.192.0/18 gw: 10.177.32.1 10.176.0.0/16 gw:10.177.32.1 10.177.0.0/16 gw:10.177.32.1 10.178.0.0/16 gw:10.177.32.1 10.179.0.0/16 gw:10.177.32.1 10.180.0.0/16 gw:10.177.32.1 10.181.0.0/16 gw:10.177.32.1 10.182.0.0/16 gw:10.177.32.1 10.183.0.0/16 gw:10.177.32.1
This is icky, but it works. I'd much prefer to be able to select the /13.
Just saw http://trac.ebox-platform.com/changeset/18374/ pop in the commits list.
Changelog Entry: Added missing CIDR values between /16 and /8
http://lists.ebox-platform.com/pipermail/ebox-commits/2010-August/003379.html
Manually applied; all is well -- I have my /13 route.
Thanks!