This doesn't sound like learning behavior. Do you just want to set up the table by hand? Do that by just crafting a flow_mod for each direction of communication. Match on a destination MAC address, and include actions to change the dl_dst (possibly) and send out a specific port (definitely).
-- Murphy On Nov 29, 2014, at 4:55 PM, Ali Reza Zamani <az...@cs.rutgers.edu> wrote: > Hi, > > I have a question regarding the changing the destination of the packet in the > switches. I am using l2_learning controller in pox. I was wondering how can I > forward packet to one host to another host. For example if I have 3 hosts e.g > h1 h2 h3; and if h1 ping h3 the traffic should go from h1 to h2 and then h2 > sends it to h3. > > Thanks, >