Also, if I only modify DL_DST, NW_DST, (and not the TCP_DST port) it does not seem to improve performance.
Thanks, Aaron On Sun, Jun 26, 2011 at 1:33 PM, Aaron Rosen <aro...@clemson.edu> wrote: > Hello, > > I'm using openflow to match a TCP packet and then modifying the packet > to get it to connect to a different host. > > To do this I need to modify the DL_DST, NW_DST, TP_DST (to get the > packets to the new host) and to get them back to the original host I > need to modify (DL_DST, NW_SRC, TP_SRC). Though I find when I do this > the connection is slowed down greatly. > > Here is the flow entry that is getting installed to modify the > connection to get it to the new host. > > cookie=0, duration_sec=13s, duration_nsec=623000000s, table_id=2, > priority=32768, n_packets=719, n_bytes=1085694, > idle_timeout=50,hard_timeout=0,tcp,in_port=36,dl_src=00:1b:21:43:a1:e4,nw_src=10.42.100.105,nw_dst=10.42.100.96,tp_src=48480,tp_dst=5001,actions=mod_dl_dst:00:1b:21:75:7a:92,mod_nw_dst:10.42.100.104,mod_tp_dst:9877,output:39 > > > When I use iperf to measure the bandwidth I find that if i use packet > rewrite I get 645Kbit/sec and If I don't I get 683 Mbits/sec. This > traffic is passing though an HP ProCurve J8693A Switch 3500yl-48G. > > > Is this what is expected? > > Thanks, > > Aaron > > -- > Aaron O. Rosen > Masters Student - Network Communication > 306B Fluor Daniel > -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel _______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss