Hi Ricardo,
Try matching on the old IP, then rewrite to the new IP.
Regards
KK
On 20 July 2011 14:50, Ricardo Bennesby wrote:
> Hi all. I would like to forward packets from one host to another.
> I have the following topology:
> c0 c0
> | |
> s3---
Hi,
This is a standard procedure in NOX. You need to include the header file
for the definition of the event, then create the event, populate it and post
it. One of the lavi component (though I forgot which one) will listen for
that event and send a message to ENVI. Look at lavi_hosts (I think)
Hi All,
I am not able to delete a flow entry. Following is my code snippet, I have
added to the "switch" module in NOX.
Basically, I store the flows that I want to delete.
The delete is sending flow_mod to switch. But, I am not receiving Flow
Removed or a New Packet In for the deleted flows. Dpc
Hi KK. I tested as you suggested.
*ofm->match.nw_dst = htons(36677824); // I tested also ofm->match.nw_dst =
flow.nw_dst;*
and in the action I did:
*
*
*nwaction->nw_addr = htons(new_ip);*
*
*
But it continue trying to send to IP *192.168.47.2...*
The Wireshark continues showing these:
*Etherne
A tcpdump of the control traffic will be useful and easier.
Regards
KK
On 21 July 2011 16:04, Ricardo Bennesby wrote:
> Hi KK. I tested as you suggested.
> ofm->match.nw_dst = htons(36677824); // I tested also ofm->match.nw_dst =
> flow.nw_dst;
> and in the action I did:
> nwaction->nw_addr = ht
Is there a question in this email?
KK
2011/7/21 Min-Hyup KANG
> Thank you for your response.
>
>
> 1. " You need to include the header file for the definition of the event,
> then create the event, populate it and post it."
>
> ->Basically, there is part of flow_route_event in lavi_hostflow.c
Sorry, I continue to be lost.
if you want to send flows to ENVI, look at lavi_hostflow.cc line 34 to 60
for an example. Basically, a list of flow is created and the send_flow_list
function is called.
Regards
KK
2011/7/21 Min-Hyup KANG
> Yes, sorry for not clearness.
>
>
> 2, "One of the lav
Thank you for your great response.Yes, handle_flow_route is existing in lavi_hostflow.cc line 34~60.and handle_flow_route event call send_flow_list_function.My main question is "when does handle_flow_route event occur? "for example handle_req handling JSON event occur, when lavi receive json
2011/7/21 Min-Hyup KANG
> Thank you for your great response.
>
> Yes,
>
> handle_flow_route is existing in lavi_hostflow.cc line 34~60.
>
> and handle_flow_route event call send_flow_list_function.
>
>
> My main question is "when does handle_flow_route event occur? "
>
I guess the answer is wh
thank you so much !I will try it !!- 원본 메일 -보낸사람: kk yap 받는사람 : Min-Hyup KANG 참조 : NOX-dev 날짜: 2011년 7월 22일 금요일, 12시 44분 27초 +0900제목: Re: [nox-dev] handle_flow_route Event
2011/7/21 Min-Hyup KANG
Thank you for your great response
10 matches
Mail list logo