Yang,

The setup described in the link is valid for your intended use. It doesn't say 
anything about the IP address
assignment on PC1 and PC2  (Terminal A & B in the link)). The IP address 
assignment in the link is for
the control channel between switches and the controller, not for the packets 
forwarded by OpenFlow switches.

What you need to do is to write your controller program (on top of NOX, for 
example) that makes OpenFlow switch 
act as a router. Unfortunately, there is no example 'router' program provided 
in NOX (or in any open source controller 
as far as I know).

"Create Router" section in HOT-I OpenFlow Tutorial Page 
(http://openflowswitch.org/wk/index.php/HOTITutorial2010)
gives some hints what you need to (at least) implement on the controller (ARP, 
Static Routing and ICMP).
This tutorial uses 'mininet' (emulation environment) but the controller 
programming part applies to any OpenFlow network.
Mininet is actually very useful when you write/debug your controller program. 
It's a good idea to start with it and then move to
the real network.

 Masa

On Mar 9, 2011, at 5:57 PM, 杨宇 wrote:

> Hi, Masayoshi Kobayashi
> 
>       Thanks for your reply.
>> The second link  covers only the setup of a real OpenFlow network (using 
>> Linux PCs). 
> yes, this page 
> http://www.openflow.org/foswiki/bin/view/OpenFlow/Deployment/HOWTO/LabSetup 
> covers how to  setup a rea openflowl network, but this not satisfy my 
> requests, all the hosts in this webpage are in the same subnet. The switches 
> are just worked in the L2. We need these Switches worked as a router? What 
> should I do ?
>      What 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
> 
> -------------------------------------------------------------
> 发件人:Masayoshi Kobayashi
> 发送日期:2011-03-10 04:00:35
> 收件人:杨宇
> 抄送:openflow-discuss
> 主题:Re: [openflow-discuss] how to install the openflow in a real network
> 
>> 
> Can you be more specific?
> The first link (tutorial) would be the best to start learning OpenFlow 
> protocol & controller (including how to install flow tables).
> The second link covers only the setup of a real OpenFlow network (using Linux 
> PCs). 
> 
> - Masa
> 
> On Mar 8, 2011, at 6:56 PM, 杨宇 wrote:
> 
>> hi all:
>>      I have read the tutorial in the page 
>> "http://www.openflow.org/wk/index.php/OpenFlow_Tutorial";
>>      but almost of the experiment is in the mininet,
>>      I also read the deployment of installing the openflow on " with 
>> multiple PCs" in the page 
>> http://www.openflow.org/foswiki/bin/view/OpenFlow/Deployment/HOWTO/LabSetup
>>      I think this page is too hard to understand, how to add a flowtable 
>> item and how to add a datapath.
>>      It's puzzled me a lot.
>>      Who can help me?
>> Best regards
>>  yu yang  
>> 
>> _______________________________________________
>> openflow-discuss mailing list
>> [email protected]
>> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

- Masa

_______________________________________________
openflow-discuss mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to