Hello you can use OFPActionSetField
for example: actions = [ofp_parser.OFPActionSetField(eth_dst=new_mac_address, ipv4_dst=new_ip_addr), ofp_parser.OFPActionOutput(1)] 2015-09-22 13:04 GMT+08:00 Anees Mohsin Hadi Al-Najjar < [email protected]>: > Dear all, > > > > Kindly, how can I rewrite IP and MAC addresses in Ryu? > > I know that in POX by using *EthAddr()* and *IPAddr()*, but I don’t know > that in Ryu. > > > > Thanks For your helping > > > > Anees > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > > -- Yi Tseng (a.k.a Takeshi) Taiwan National Chiao Tung University Department of Computer Science W2CNLab http://blog.takeshi.tw
------------------------------------------------------------------------------
_______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
