You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/01/29 19:51:40 UTC

[jira] [Commented] (CLOUDSTACK-9264) Create of /32 static route on private gw fails

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15123971#comment-15123971 ] 

ASF GitHub Bot commented on CLOUDSTACK-9264:
--------------------------------------------

GitHub user remibergsma opened a pull request:

    https://github.com/apache/cloudstack/pull/1383

    CLOUDSTACK-9264: Make /32 static routes for private gw work

    Static routes for private gateways that were /32 failed because the `route` command used had `-net` in it and a `/32` requires `-host` instead. I rewrote it to `ip` commands.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/remibergsma/cloudstack slash32routefix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1383.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1383
    
----
commit 78c43669e5c175bf4bbe6b4857ec4c9fcd53b402
Author: Remi Bergsma <gi...@remi.nl>
Date:   2016-01-29T18:25:29Z

    CLOUDSTACK-9264: Make /32 static routes for private gw work

----


> Create of /32 static route on private gw fails
> ----------------------------------------------
>
>                 Key: CLOUDSTACK-9264
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9264
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Virtual Router
>    Affects Versions: 4.7.0, 4.7.1
>            Reporter: Remi Bergsma
>            Assignee: Remi Bergsma
>            Priority: Critical
>
> The /32 static route creation fails. When trying manual the command it runs we see why:
> root@r-2934-VM:~# route add -net 172.16.1.4/32 gw 172.16.1.1
> SIOCADDRT: Invalid argument
> Let's use 'ip' toolset or use -host for /32



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)