[netmap/vale-ctl] when could process packet
upyzl
zj262144 at gmail.com
Thu Sep 18 07:45:45 UTC 2014
Hi Luigi,
glad to see you :)
I just implement the datapath of the switch (base on openflow 1.0)
For the basis, a FreeBSD act as the switch
typical topo: (there should be a controller link with the switch, we
currently ignore it)
host1[eth0] -------- [em0]switch[em1] ------- [eth0]host2
[em2] [em3]
| |
host3[eth0] --------------| |----------------[eth0]host4
In OpenFlow std. there may be some rules like (just an example):
TCP packet: host1 --> host 3 & host 4
I think I should analysis all incoming em0 packets which match the
rules(flow table), forward only matched packets to em2 & em3 (forward
itself using netmap)
( I use like this:
./vale-ctl -a vale0:em0
./vale-ctl -a vale0:em1
./vale-ctl -a vale0:em2
./vale-ctl -a vale0:em3
then host1 send packets )
the point is, I don't know when/where to process it before forwarding ( as
vale.ctl.c is very simple... I could do the match on bridge.c with 2
interfaces)
Additional, I don't use OpenvSwitch since it's too complex (conclusion of
talked with my advisor)
Thanks!
Jaye
2014-09-18 15:07 GMT+08:00 Luigi Rizzo <rizzo at iet.unipi.it>:
> Please tell me more details on what are your goals. We already have some
> work on progress on the topic and it might make sense for you to start from
> what we have already, rather than restart from scratch. Of course, if your
> advisor agrees - you may want to involve him in the discussion.
>
> Cheers
> Luigi
>
> On Thursday, September 18, 2014, upyzl <zj262144 at gmail.com> wrote:
>
>> Hi,
>>
>> I think it's right place to talk about FreeBSD 10 - netmap question
>> (location at FreeBSD 10: /usr/src/tools/tools/netmap ; with kernel device
>> netmap on)
>>
>> I'm (entry) study on openflow software switch based on netmap/vale
>>
>> It seems very simple in vale-ctl.c and hard to add features for packet
>> process (such as flow match and forward actions apply)
>>
>> Could anyone give me some advice? thanks.
>>
>> Best regards,
>> Jaye
>> _______________________________________________
>> freebsd-net at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>
>
>
> --
> -----------------------------------------+-------------------------------
> Prof. Luigi RIZZO, rizzo at iet.unipi.it . Dip. di Ing. dell'Informazione
> http://www.iet.unipi.it/~luigi/ . Universita` di Pisa
> TEL +39-050-2211611 . via Diotisalvi 2
> Mobile +39-338-6809875 . 56122 PISA (Italy)
> -----------------------------------------+-------------------------------
>
>
More information about the freebsd-net
mailing list