Comments (3)
@s-kojima ありがとうございます。これを再現する手順 (trema run, send_packets, dump_flows) を載せてもらえると助かります。
from learning_switch.
すいません,これは昨日までのconfファイルのときに生じていた問題についてでした(授業中に質問に伺ったとおりです),
現在のconfファイルの問題ではありません.
誤解をさせてしまったのでしたら申し訳ありません.
質問に伺ったときの内容は「このネットワークの構造の場合(古いほうのconfファイル),以下のコマンドを実行した場合(host1->host2,host2->host1というパケットの送信),フローテーブルはhost2が属しているスイッチのみ更新されていると思うが,なぜ2つのスイッチともフローテーブルが更新されているのか?」でした.
きちんと図にかいてスイッチとコントローラの動作を検証したところ,古いほうのconfファイルでhost1とhost2がいるスイッチそれぞれでフローテーブルが更新されているのは正しい動作でした(フローテーブルの内容は全く同じというわけでもない気がします)
confファイルが更新されたのでもう問題ないかと思いましたが,質問に伺った手前そのまま放置しておくのもどうかと思ったので,検証した結果をお伝えしたくて上のissueのとおりそのまま残しておかせていただいておりました.それで誤解をまねいたようでしたら(現在のconfファイルの問題であるかのように)大変申し訳ありません.
現在のファイルの問題ではないので,申し訳ありませんがこのissueを正しいステータスにしていただけたらと思います.
ちなみに以下の通りのことをしました.
$ ./bin/trema send_packets --source host1 --dest host2
$ ./bin/trema send_packets --source host2 --dest host1
$./bin/trema dump_flows lsw1
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=2.609s, table=0, n_packets=0, n_bytes=0, idle_age=2, priority=65535,udp,in_port=2,vlan_tci=0x0000,dl_src=84:32:d0:57:56:14,dl_dst=4a:9b:9e:f2:10:7a,nw_src=192.168.0.2,nw_dst=192.168.0.1,nw_tos=0,tp_src=0,tp_dst=0 actions=output:1
$./bin/trema dump_flows lsw2
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=7.452s, table=0, n_packets=0, n_bytes=0, idle_age=7, priority=65535,udp,in_port=1,vlan_tci=0x0000,dl_src=84:32:d0:57:56:14,dl_dst=4a:9b:9e:f2:10:7a,nw_src=192.168.0.2,nw_dst=192.168.0.1,nw_tos=0,tp_src=0,tp_dst=0 actions=output:2
from learning_switch.
@s-kojima 了解しました! この後の演習でも、おかしいなと思うことがあったら遠慮せずイシューを切ってみてください。
from learning_switch.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learning_switch.