關於ovs與ryu的問題

81 views
Skip to first unread message

吳昊穎

unread,
Apr 16, 2015, 11:14:34 AM4/16/15
to sdnd...@googlegroups.com
各位大大
小弟這裡有一些基本的問題想請問一下
ryu執行simple_switch_13.py這支py程式
其中的in_port參數在以下的狀況分別是代表什麼意思
topology: 
host1---->ovs1----->ovs2----->host2

吳昊穎

unread,
Apr 16, 2015, 11:23:10 AM4/16/15
to sdnd...@googlegroups.com
各位大大
小弟這裡有一些基本的問題想請問一下
ryu執行simple_switch_13.py這支py程式
其中的in_port參數在以下的狀況分別是代表什麼意思
topology: 
host1(eth0)----(eth1)ovs1(eth2)------(eth3)vlan switch(eth4)----(eth5)ovs2(eth6)---(eth7)host2
                                 (eth8)                   
                                     |
                                 (eth9)
                              ryu controller
情形1: 一個封包進入ovs1,ovs1不懂轉送給controller,這時的in_port代表哪一個port(eth0~9)
情形2:一個封包進入ovs1而ovs1查entry結果送到ovs2,但ovs2不知道如何處理,於是將封包轉送controller,這時in_port是代表哪一個port(eth0~9)

Ping Chun Huang

unread,
Apr 16, 2015, 11:29:03 AM4/16/15
to 吳昊穎, sdnd...@googlegroups.com
hi,

in_port 後面數字對應的是 physical interface
可用 ovs-ofctl show <ovs-br name> 查詢

這樣你應該可以看得懂各 interface 再 ovs-bridge 上對應的 in_port number

謝謝



pichuang, Ping-Chun Huang 黃秉鈞


Wireless Internet Laboratory
Computer Center, Department of Computer Science
National Chiao Tung University

吳昊穎 <namea...@gmail.com> 於 2015年4月16日 下午11:23 寫道:
各位大大
小弟這裡有一些基本的問題想請問一下
ryu執行simple_switch_13.py這支py程式
其中的in_port參數在以下的狀況分別是代表什麼意思
topology: 
host1(eth0)----(eth1)ovs1(eth2)------(eth3)vlan switch(eth4)----(eth5)ovs2(eth6)---(eth7)host2
                                 (eth8)                   
                                     |
                                 (eth9)
                              ryu controller
情形1: 一個封包進入ovs1,ovs1不懂轉送給controller,這時的in_port代表哪一個port(eth0~9)
情形2:一個封包進入ovs1而ovs1查entry結果送到ovs2,但ovs2不知道如何處理,於是將封包轉送controller,這時in_port是代表哪一個port(eth0~9)
吳昊穎 <namea...@gmail.com> 於 2015年4月16日 下午11:14 寫道:
各位大大
小弟這裡有一些基本的問題想請問一下
ryu執行simple_switch_13.py這支py程式
其中的in_port參數在以下的狀況分別是代表什麼意思
topology: 
host1---->ovs1----->ovs2----->host2

--
Welcome to http://sdnds.tw/
---
這是 Google 網上論壇針對「SDNDS-tw」群組發送的訂閱通知郵件。
如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到 sdnds-tw+u...@googlegroups.com
如要在這個群組張貼留言,請傳送電子郵件到 sdnd...@googlegroups.com
請前往以下網址造訪這個群組:http://groups.google.com/group/sdnds-tw
如要在網路上查看這項討論,請造訪 https://groups.google.com/d/msgid/sdnds-tw/CAJXM0WXoAmh8V-5hOWwmeXOsy69qNM4EcVzEpuVN9ZC2x8PKUQ%40mail.gmail.com
如需更多選項,請前往:https://groups.google.com/d/optout

Reply all
Reply to author
Forward
0 new messages