Skip to content
This repository was archived by the owner on Nov 11, 2021. It is now read-only.
This repository was archived by the owner on Nov 11, 2021. It is now read-only.

Enable IPv6 mroute creation on RedHat based  #261

Description

@benibr

Expected Behavior

When creating IPv6 routes with mroute.pp the routes should be in a route6-${name} file under RedHat like Systems

Actual Behavior

The Class writes all kind of routes together in the /etc/sysconfig/network-scripts/route-${name} file, no matter which protocol version cause in https://github.com/example42/puppet-network/blob/master/manifests/mroute.pp only the route-${name} template is used.

Steps to Reproduce the Problem

Code like this will reproduce the behaviour:

network::mroute { 'eth0':
  routes => {
   '0.0.0.0/0' => '192.168.1.1',
   '::/0'      => '2a00:1450:4001:81c::2003',
  }
}

and will result in the following route-eth0 file:

### File managed by Puppet
###
0.0.0.0/0 via 192.168.1.1
::/0 via 2a00:1450:4001:81c::2003

On CentOS 7 the IPv4 route will work the IPv6 route won't be applied. There is an implementation in the route Class which was merged a few months ago #214

Hopefully I find the time in january to fix it myself :-)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions