Skip to Content.
Sympa Menu

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

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] mod_interface_route ipv6 issues


Chronological Thread 
  • From: Casey Russell <>
  • To: David Koski <>
  • Cc:
  • Subject: Re: [perfsonar-user] mod_interface_route ipv6 issues
  • Date: Mon, 2 Feb 2015 14:35:18 -0600

David,

     Thank you for posting.  I don't have any help to offer, but I can confirm I see the same problem on 3 different multi-interface systems now. 

     I posted my question about a week ago, and then thought I'd fixed the problem.  However when I moved to my next box, I ran into the same problem again (this script refusing to set up IPv6 routes) and have been mired down with it ever since.  I was about to post to the list again.  It's good to see I'm not alone.

Casey Russell
Network Engineer
Kansas Research and Education Network

2029 Becker Drive, Suite 282

Lawrence, KS  66047

(785)856-9820  ext 9809

On Mon, Feb 2, 2015 at 2:27 PM, David Koski <> wrote:
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