Hi, I want to implement a router using NOX. I have a topology in which Host1 is connected to Switch1, Host2 is connected to Switch2 and both the switches are connected to the router. When Host1 sends ICMP packet to Host2, it will set the destination mac address as the interface on router to which switch is connected. Now on the router, when I see that the mac address is some as one of it's interfaces, it will check the ip address. Since the ip address is Host2's ip address, it has to replace the mac with Host2's mac address and forward it to switch 2.
But on the router, after I change the destination mac in packet_in_callback, when the packet reaches switch 2, I still see the old mac address. Please let me know if I am missing something or if there is a simpler way to change mac address of a packet in packet_in_callback function. Uday
_______________________________________________ nox-dev mailing list [email protected] http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
