You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to use Ryu restAPI to add stream entries to a switch?
for example:
curl -X POST -d '{
"dpid": 2,
"cookie": 1,
"cookie_mask": 1,
"table_id": 0,
"idle_timeout": 0,
"hard_timeout": 0,
"priority": 11111,
"flags": 1,
"match":{
"in_port":3,
"dl_dst":"00:00:00:00:00:01"
},
"actions":[
{
"type":"OUTPUT",
"port": 1
}
]
}' http://localhost:8080/stats/flowentry/add
In the example above, what format should the MAC address match be in? What went wrong?
The text was updated successfully, but these errors were encountered:
Thanks! now,I have a new question.The OVS is used as a router to connect two hosts on different network segments. In this case, the host will send ARP broadcast packets to ask for the MAC address of the gateway when the ping command is executed between the hosts, but the gateway does not reply. How to set the flow entry so that the host can get the MAC address of the gateway
How to use Ryu restAPI to add stream entries to a switch?
for example:
curl -X POST -d '{
"dpid": 2,
"cookie": 1,
"cookie_mask": 1,
"table_id": 0,
"idle_timeout": 0,
"hard_timeout": 0,
"priority": 11111,
"flags": 1,
"match":{
"in_port":3,
"dl_dst":"00:00:00:00:00:01"
},
"actions":[
{
"type":"OUTPUT",
"port": 1
}
]
}' http://localhost:8080/stats/flowentry/add
In the example above, what format should the MAC address match be in? What went wrong?
The text was updated successfully, but these errors were encountered: