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