Hi,
That elaborate answer was indeed very helpful. Much appreciated Tommaso.
About the last lines, I meant SetDefaultRouteInAllNodes and not SetDefaultRoute (my typo mistake). Does this require Ipv6StaticRoutinghelper to be installed on the node??
basically, its not letting me use ListRoutingHelper, AodvIpv6 and SetDefaultNodeInAllRoutes together on a host node which is connected to a Router.
To clarify the setup,
I have a src node (not a router), connected to a routerA
I have a dst node (not a router), connected to routerD
when configuring this interface, when i use SetDefaultNodeInAllRoutes(i), where i being interface index of router, it throws an error. does this have to do with static routing?
Code snippet:
ipv6.SetBase (Ipv6Address ("2001:1::"), Ipv6Prefix (64));
Ipv6InterfaceContainer iic1 = ipv6.Assign (ndc1);
iic1.SetForwarding (1, true);
iic1.SetDefaultRouteInAllNodes (1); (error)
ipv6.SetBase (Ipv6Address ("2001:2::"), Ipv6Prefix (64));
Ipv6InterfaceContainer iic7 = ipv6.Assign (ndc7);
iic7.SetForwarding (0, true);
iic7.SetDefaultRouteInAllNodes (0); (error)
/*****for reference, nodes assigned in same order to ndc via a nodecontainer*****/
ndc1=src,a
ndc7=d,dst
Regards
Shashidhar B.L