Hi Linbo.

I attached a script in Python that Bob Lantz sent me once. If you are using
Mininet is just edit the file with your topology and change the hosts IPs to
the desired ones. In this case you will not have to be worried about switch.
I think the script solve you problem.

But you can also configure switch with ifconfig command and set it as
default route to the host in subnet. Then you can create ARP packets or
insert entries in its ARP entries, using the command  *arp -s
ip_of_default_switch mac_of_default_switch, *as explained in exercise of
Router Creating.

Let me know the result after you try it.

Hope it helps.

Best Regards.

2011/9/4 linbo <li...@csnet1.cs.tsinghua.edu.cn>

> **
> Hi Ricardo.
> Thank you for your reply.
>
>  I have read the page:
> http://www.openflow.org/wk/index.php/OpenFlow_Tutorial#Create_Router, and
> I try it,is there anything else to do except configing the ip
> address,routing info ?
>
> Does the SW need to be configed ?If so,how to config it?
>
> Thank you!
>
>
> 2011-09-05
> ------------------------------
>  linbo
> ------------------------------
> *发件人:* Ricardo Bennesby
> *发送时间:* 2011-09-03  08:22:41
> *收件人:* linbo
> *抄送:* nox-dev
> *主题:* Re: [nox-dev] routing module
>  Hi Linbo.
>
> You can take a look on this link, it might helps:
>
> http://www.openflow.org/wk/index.php/OpenFlow_Tutorial#Create_Router
>
> This exercise of create a router to link two subnets helped on my group
> ongoing research. We are developing a NOX component that can do routing
> between two or more Networks or Domains. We are using multiples Mininets.
> Each Mininet represents a domain.
>
> If you have any doubt, feel free to ask.
>
> Best regards.
>
>  2011/9/1 linbo <li...@csnet1.cs.tsinghua.edu.cn>
>
>> **
>>  I want to know whether nox  implement the function that enalbe two hosts
>> in different subnets ping each other?
>>
>> Here is my topo:
>>
>> host1
>> host2                                                                        
>>                   host3
>> host4
>>  |
>>  |
>> |          |
>>  ====================OFSWE1------OFSWC1-------OFSWE2=========== ======
>>
>>
>>
>>
>> 192.168.1.0/24
>>                                                           192.168.2.0/24
>>
>>
>> _____________________________|________________________________|_______________________________
>>
>> 1.Can host1 ping host3,the routing module can do this?
>>
>> 2.and I also want to know how the routing module to recompute the "route
>> path" when  a link failure happend?
>>
>> Hope someone can help me.
>>
>> Thank you!
>>
>> 2011-09-02
>> ------------------------------
>> linbo
>>
>> _______________________________________________
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev
>>
>>
>
>
> --
> Ricardo Bennesby da Silva
> Ciência da Computação - UFAM
> LabCIA - Laboratório de Computação Inteligente e Autonômica
>
> !DSPAM:1,4e61735132087516139689!
>



-- 
Ricardo Bennesby da Silva
Ciência da Computação - UFAM
LabCIA - Laboratório de Computação Inteligente e Autonômica

Attachment: script.py
Description: Binary data

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to