I attach the patch.
Now the 2 hosts in the same collision domain ping each other.

There is another error that causes ntkd to abort. I will post about it
in a while.

Other than the mod that Eriol is working on, about the RPCServer to
start on all NICs, there is still a little difference that is needed
in my tests, that I did not send a patch for, because I'm awaiting for
comments from the devs.
See http://lists.dyne.org/lurker/message/20090227.103112.c956d9a1.en.html
and the first part of
http://lists.dyne.org/lurker/message/20090227.141032.056ea9e7.en.html

Regards
--Luca
Index: pyntk/ntk/network/linux/adapt.py
===================================================================
--- pyntk/ntk/network/linux/adapt.py	(revision 1513)
+++ pyntk/ntk/network/linux/adapt.py	(working copy)
@@ -133,7 +133,7 @@
 
         if dev is not None:
             cmd += ' dev %s' % dev
-        if gateway is not None:
+        if gateway is not None and gateway != ip:
             cmd += ' via %s' % gateway
 
         cmd += ' protocol ntk'
_______________________________________________
Netsukuku mailing list
[email protected]
http://lists.dyne.org/mailman/listinfo/netsukuku

Reply via email to