perfsonar-user - Re: [perfsonar-user] mod_interface_route ipv6 issues
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: David Koski <>
- To: Casey Russell <>
- Cc:
- Subject: Re: [perfsonar-user] mod_interface_route ipv6 issues
- Date: Tue, 3 Feb 2015 07:58:26 -0500
There's actually 2 typos in the same if statement....
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;
}
}
}
should read
if ($parameters->{ipv6_addresses}) {
foreach my $addr (@{ $parameters->{ipv6_addresses} }) {
unless (system("ip", "-6", "rule", "add", "prio", "200", "from", $addr, "lookup", $parameters->{table}) == 0) {
print "Problem setting up ipv6 address rule\n";
return;
}
}
}
Note the ipv6_addresses (instead of ipv6_address) in the first line and $addr (instead of $parameters->{ip4_address}) in the this line.
This seems to setup the rule list correctly after making these changes.
Dave
------------
David Koski
ITS ISO Communications Systems and Data Centers Operations
734-647-8993 (Office) 734-678-5824 (Mobile)
On Mon, Feb 2, 2015 at 3:35 PM, Casey Russell <> wrote:
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 RussellNetwork EngineerKansas Research and Education Network2029 Becker Drive, Suite 282
Lawrence, KS 66047
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 list0: from all lookup local32766: from all lookup mainJust 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.ThanksDave
------------
David Koski
ITS ISO Communications Systems and Data Centers Operations
734-647-8993 (Office) 734-678-5824 (Mobile)
- [perfsonar-user] mod_interface_route ipv6 issues, David Koski, 02/02/2015
- Re: [perfsonar-user] mod_interface_route ipv6 issues, Casey Russell, 02/02/2015
- Re: [perfsonar-user] mod_interface_route ipv6 issues, David Koski, 02/03/2015
- Re: [perfsonar-user] mod_interface_route ipv6 issues, Aaron Brown, 02/06/2015
- Re: [perfsonar-user] mod_interface_route ipv6 issues, David Koski, 02/03/2015
- Re: [perfsonar-user] mod_interface_route ipv6 issues, Casey Russell, 02/02/2015
Archive powered by MHonArc 2.6.16.