How to set_dl_dst opendaylight Helium SR4

asked 2016-12-09 15:25:31 -0700

ybpranawa gravatar image

updated 2016-12-09 15:27:26 -0700

Hello this is my another question about flow programming in opendaylight.

SO, I want to create some flow to forward packets through this scenario: host A <-----------> ofswitch <-----------> host B (act as internet router) <------> internet

host A : IP 192.168.1.4 gateway 192.168.1.1 (eth0)

host B : IP 192.168.1.6 gateway 192.168.1.1 (eth0)

I'm able to PING host B. if I want to forward packet from host A to internet via host B, I should config gateway host A to host B IP Address, like this scenario:

host A : IP 192.168.1.4 gateway 192.168.1.6

host B : IP 192.168.1.6 gateway 192.168.1.1 (eth0)

this is work.

My question is how to forward packets from host A to internet via host B without change gateway of host A?

I think it should be any flow setting that enables setdldst, but I didn't see setdldst any dropdown list in my opendaylight helium SR4. I only have this :

  1. DROP
  2. FLOOD
  3. FLOOD ALL
  4. HARDWARE PATH
  5. OUTPUT
  6. SET VLAN ID
  7. SOFTWARE PATH

Please Help me, thankyou

edit retag flag offensive close merge delete