Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] mod_interface_route ipv6 issues

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] mod_interface_route ipv6 issues


Chronological Thread 
  • From: David Koski <>
  • To:
  • Subject: [perfsonar-user] mod_interface_route ipv6 issues
  • Date: Mon, 2 Feb 2015 15:27:37 -0500

I'm in the process of setting up ipv6 on a multi-interface system.  Seems I'm having issues getting any ipv6 route lists.

The first thing I noticed starting around line 197 in the script:

    if ($parameters->{ipv6_address}) {
        foreach my $addr (@{ $parameters->{ipv6_addresses} }) {
            unless (system("ip", "-6", "rule", "add", "prio", "200", "from", $parameters->{ipv4_address}, "lookup", $parameters->{table}) == 0) {
                print "Problem setting up ipv6 address rule\n";
                return;
            }
        }
    } 

Shouldn't this read:

 unless (system("ip", "-6", "rule", "add", "prio", "200", "from", $parameters->{ipv6_address}, "lookup", $parameters->{table}) == 0) {

instead if ipv4_address?

even if modifying this, I get ip rules for ipv4 but just:

[root@ntap-bin-arbl tmp]# ip -6 rule list
0:      from all lookup local 
32766:  from all lookup main 

Just wondering if I'm doing something wrong of if there is a bug in the script.  It seems to set the ipv4 correctly but nothing for ipv6.  Could be something I'm doing wrong, just apparently can't see it at the moment.

              Thanks

                     Dave


------------

David Koski

ITS ISO Communications Systems and Data Centers Operations

734-647-8993 (Office)                                                                                     734-678-5824 (Mobile)
Description: cid:3337913627_541106




Archive powered by MHonArc 2.6.16.

Top of Page