[Xorp-users] ERROR: xorp_fea:4361 FEA +324 fticonfig_entry_set_netlink.cc add_entry ] Error checking netlink request
Pavlin Radoslavov
pavlin at icir.org
Sun Dec 9 20:38:41 PST 2007
Ciobanu, Dragos O <Dragos.Ciobanu at xerox.com> wrote:
> Ok, here's some more specific details:
>
> - machine: r1 with eth0 and eth1
> - machine: r2 with eth0 and eth1
> - r1:eth0 and r2:eth0 are connected with a hub
> - r1:eth1 and r2:eth1 are on other subnets
>
> - r1:eth0 address is: 10.10.10.10.10.10.10.10/64
> - r2:eth0 address is: 10.10.10.10.10.10.10.20/64
> - r1:eth1 address is: 10.10.10.20.10.10.10.10/64
> - r2:eth1 address is: 10.10.10.30.10.10.10.10/64
>
> I'm trying to create static routes from r1 to r2:eth1 and from r2 to
> r1:eth1.
> When I'm doing that from r1 let's say:
>
> set protocols static route 10:10:10:30::/64 next-hop
> 10:10:10:10:10:10:10:20
>
> It accepts the command but when I commit it, it gives me that error.
Thank you for the detailed info.
After some investigation I believe the problem is in the particular
choice of the IPv6 addresses.
First I used the Linux "ip" command to add the route and I got
exactly same error which suggested to me that the problem is not
XORP-specific:
root at ixp[54] ip -f inet6 addr add 10:10:10:10:10:10:10:10/64 dev eth1
root at ixp[55] ip -f inet6 route add 10:10:10:30::/64 via 10:10:10:10:10:10:10:20
RTNETLINK answers: Invalid argument
Exit 2
In fact, if you check the following table with the assigned IPv6
addresses, you would see that the 10:10:10:10... addresses fail
within the 0000::/8 address range which is reserved by IETF:
http://www.iana.org/assignments/ipv6-address-space
In fact, if you replace the first two octets of the interface
addresses with 2010: instead of 10: then everything works as
expected:
interfaces {
interface eth1 {
vif eth1 {
address 2010:10:10:10:10:10:10:10 {
prefix-length: 64
}
}
}
}
fea {
unicast-forwarding6 {
disable: false
}
}
protocols {
static {
route 2010:10:10:30::/64 {
next-hop: 2010:10:10:10:10:10:10:20
}
}
}
Regards,
Pavlin
> -----Original Message-----
> From: Pavlin Radoslavov [mailto:pavlin at icir.org]
> Sent: Thursday, December 06, 2007 6:19 PM
> To: Ciobanu, Dragos O
> Cc: Pavlin Radoslavov; xorp-users at xorp.org
> Subject: Re: [Xorp-users] ERROR: xorp_fea:4361 FEA +324
> fticonfig_entry_set_netlink.cc add_entry ] Error checking netlink
> request
>
> Ciobanu, Dragos O <Dragos.Ciobanu at xerox.com> wrote:
>
> > Sorry Pavlin,
> >
> > But I couldn't log in to the CVS server. I tried leaving the password
> > blank and it gives me this error:
> > Cvs [login aborted]: end of file from server
> >
> > Is the CVS server up?
>
> I just tried it and it works for me:
>
> pavlin at xorp13[25] setenv CVSROOT :pserver:xorpcvs at anoncvs.xorp.org:/cvs
> pavlin at xorp13[26] cvs login
> Logging in to :pserver:xorpcvs at anoncvs.xorp.org:2401/cvs
> CVS password:
> pavlin at xorp13[27] cvs checkout xorp
> cvs checkout: Updating xorp
> U xorp/.cvsignore
> U xorp/BUGS
> U xorp/BUILD_NOTES
> U xorp/ERRATA
> ^Ccvs [checkout aborted]: received interrupt signal Exit 1
> pavlin at xorp13[28]
>
> Note that "setenv" is used by csh/tcsh; If your login shell is bash,
> then replace the first line with export
> CVSROOT=:pserver:xorpcvs at anoncvs.xorp.org:/cvs
>
> Pavlin
>
> > -----Original Message-----
> > From: Pavlin Radoslavov [mailto:pavlin at icir.org]
> > Sent: Thursday, December 06, 2007 4:59 PM
> > To: Ciobanu, Dragos O
> > Cc: xorp-users at xorp.org
> > Subject: Re: [Xorp-users] ERROR: xorp_fea:4361 FEA +324
> > fticonfig_entry_set_netlink.cc add_entry ] Error checking netlink
> > request
> >
> > Ciobanu, Dragos O <Dragos.Ciobanu at xerox.com> wrote:
> >
> > >
> > > I'm trying to configure a xorp router with static routes for IPv6.
> > > In xorpsh I can commit the static route, but the output for
> > > xorp_rtrmgr gives me this error:
> > >
> > > ERROR: xorp_fea:4361 FEA +324 fticonfig_entry_set_netlink.cc
> > > add_entry
> >
> > > ] Error checking netlink request: AF_NETLINK NLMSG_ERROR message:
> > > Invalid argument.
> > >
> > > I'm using xorp 1.4.
> > >
> > > Has anyone else seen this and could help me?
> >
> > What OS and kernel version are you using?
> >
> > Also, can you try the latest code from anon. CVS:
> > http://www.xorp.org/cvs.html
> > It contains various bug fixes, but no guarantee it contains the fix
> > for the error you see.
> >
> > Regards,
> > Pavlin
> >
> > _______________________________________________
> > Xorp-users mailing list
> > Xorp-users at xorp.org
> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
>
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
More information about the Xorp-users
mailing list