Hi,

please take a minute and go through the whole wiki, as it will provide some
general insight. The answers to most questions are there.
For the specific question, see
http://noxrepo.org/noxwiki/index.php/NOX_Components, and specifically
"Discovery", "Topology" and "Authenticator", which are both used by the
'routing' application.

Also
http://noxrepo.org/noxwiki/index.php/FAQ#What_kind_of_routing_does_NOX_support.3F

Regards

2011/3/10 杨宇 <[email protected]>

>  Hi,Kyriakos Zarifis
>     I'm little confused by the followings;
>     In the webpage "http://noxrepo.org/noxwiki/index.php/Routing " there
> has the following sentences:
>  The routing application keeps track of shortest-path routes between any
> two authenticated datapaths in the network. Routing interacts with the
> Topology component in order to maintain routes. On link changes, the set of
> affected routes is updated.
>   " On link changes, the set of affected routes is updated."   How the
> routing application know about the link state changed? like sending the
> hello packet in OSPF?
>      What's the mechanism  of the routing application? How it works with
> the NOX..
>     Thanks a lot.
>
>
> Best regards
> ------------------
> Yang
> 2011-03-10
>
> -------------------------------------------------------------
> 发件人:Kyriakos Zarifis
> 发送日期:2011-03-10 10:24:20
> 收件人:杨宇
> 抄送:kk yap; nox-dev
> 主题:Re: [nox-dev] different between ofdatapath and dpctl
>
> >Hi,
> >
> >as KK said, if you want IP routing functionality you would have to build
> an
> >application with the routing logic yourself on top of NOX. The 'routing'
> >functionality that ships with nox does not do traditional IP routing (what
> >is does is briefly described here:
> >http://noxrepo.org/noxwiki/index.php/Routing )
> >
> >Depending on what you want to do, this existing "routing" component might
> >work for you. (you can decide after taking a look at how it works and what
> >it actually does) Otherwise, the wiki itself provides information on
> >developing your own components.
> >
> >If you just want to see the topology that you described working, running
> >./nox_core with the 'sample_routing' component should do it.
> >But implementing full traditional IP routing logic would require some more
> >effort.
> >
> >2011/3/9 杨宇 <[email protected]>
> >
> >> Hi,
> >>   Which webpage or tutorial may be a reference?
> >>   May you give me some suggestion?
> >>
> >> Best regards
> >> ------------------
> >> Yang
> >> 2011-03-10
> >>
> >> -------------------------------------------------------------
> >> 发件人:kk yap
> >> 发送日期:2011-03-10 09:46:14
> >> 收件人:杨宇
> >> 抄送:nox-dev
> >> 主题:Re: Re: Re: [nox-dev] different between ofdatapath and dpctl
> >>
> >> >
> >> Hi,
> >>
> >> You have to write your own controller components for this.  From what
> >> I remember, NOX does not ship with standard components that is "full
> >> IP routing".  I might be wrong.
> >>
> >> Regards
> >> KK
> >>
> >> 2011/3/9 杨宇 <[email protected]>:
> >> > Hi kk yap,
> >> >       Thanks for your reply.
> >> >       These days, I read a lot of tutorial of openflow and nox in the
> >> > website. Maybe I mixed these command line.
> >> >       Which I want to do is the followings:
> >> >
> >> >       I want to set up a topology like this:
> >> >
> >> >
> >> >           controller
> >> >     __________|__________
> >> >     |         |         |
> >> >  switch     switch     switch
> >> >
> >> >      |                   |
> >> >    PC1                 PC2
> >> >
> >> >     The  openflow switches should be worked as routers. PC1 and Pc2
> are
> >> in
> >> > the different subnet.
> >> >
> >> >     What should I configure the switches and controllers that Pc1 can
> >> ping
> >> > the PC2.
> >> >
> >> >     I was confused because lots of the experiment are in the mininet
> and
> >> all
> >> > of the hosts(like PC1 and Pc2)are in the same subnet in the Openflow
> >> > tutorial page.
> >> >
> >> >     These tutorial are not suitable to my experiments.
> >> >
> >> >
> >> >
> >> >     Thank you again.
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > Best regards
> >> >
> >> >
> >> >
> >> > yang
> >> > 2011-03-10
> >> > ________________________________
> >> > 发件人: kk yap
> >> > 发送时间: 2011-03-09  22:52:16
> >> > 收件人: 杨宇
> >> > 抄送: nox-dev
> >> > 主题: Re: Re: [nox-dev] different between ofdatapath and dpctl
> >> > Hi,
> >> > This is because you are trying to add a kernel datapath on a userspace
> >> > switch.  I do not see this pair of commands being used in the link you
> >> > provided (
> >>
> http://www.openflow.org/foswiki/bin/view/OpenFlow/Deployment/HOWTO/LabSetup
> >> ).
> >> >  Any reason for doing so?
> >> > /var/run/dp0 is the UNIX domain socket to communicate to the switch
> >> > with.  You need it when you run ofprotocol.  And the datapath id is
> >> > 004E46324304.  The userspace switch supports only one datapath from
> >> > what I recall.
> >> > Regards
> >> > KK
> >> > PS>> Please don't drop the mailing list.
> >> > On 9 March 2011 06:48, 杨宇 <[email protected]> wrote:
> >> >> hello, kk
> >> >>      thansk for your reply..
> >> >>
> >> >>
> >> >>>       # ./udatapath/ofdatapath --detach punix:/var/run/dp0 -d
> >> 004E46324304
> >> >>> -i eth1,eth2
> >> >> This runs the OpenFlow switch.
> >> >>
> >> >> I think the punix:/var/run/dp0  is the created switch.
> >> >> and the 004E46324304 is the datapath , is that true ?
> >> >>
> >> >>
> >> >> ________________________________
> >> >> 发件人: kk yap
> >> >> 发送时间: 2011-03-09  22:34:50
> >> >> 收件人: 杨宇
> >> >> 抄送: nox-dev
> >> >> 主题: Re: [nox-dev] different between ofdatapath and dpctl
> >> >> Hi,
> >> >> Comments inline.
> >> >> Regards
> >> >> KK
> >> >> 2011/3/9 杨宇 <[email protected]>:
> >> >>> hi, all
> >> >>>        when I follow the tutorial in the page
> >> >>> "
> >>
> http://www.openflow.org/foswiki/bin/view/OpenFlow/Deployment/HOWTO/LabSetup
> >> >>> "
> >> >>>        there is a command line:
> >> >>>       # ./udatapath/ofdatapath --detach punix:/var/run/dp0 -d
> >> 004E46324304
> >> >>> -i eth1,eth2
> >> >> This runs the OpenFlow switch.
> >> >>>       Is this same with the command line:
> >> >>>       ./dpctl adddp nl:0
> >> >> This commandline tool ask the switch you just ran to create a
> datapath.
> >> >>>
> >> >>>       what's the difference between this two commands?
> >> >>>
> >> >>>   Thans a lot
> >> >>>
> >> >>>   Best regards.
> >> >>>
> >> >>>
> >> >>> yang
> >> >>> _______________________________________________
> >> >>> nox-dev mailing list
> >> >>> [email protected]
> >> >>> http://noxrepo.org/mailman/listinfo/nox-dev
> >> >>>
> >> >>>
> >> _______________________________________________
> >> nox-dev mailing list
> >> [email protected]
> >> http://noxrepo.org/mailman/listinfo/nox-dev
> >>
> >
>
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to