根据pox和pyretic的例子,写自己的firewall

来源:互联网 发布:知轻重明得失的意思 编辑:程序博客网 时间:2024/04/30 09:16

跟着这个做:

https://www.udacity.com/wiki/cn/assignment7-sdn-firewall


Steps:


1.Update your repo(不知道在干嘛,照做)

2.Run the hub example(在pox/forwarding/hub中):

4.用mininet建立topo:ovsk switch

5.In the virtualbox terminal, run the command $ pox.py log.level --DEBUG forwarding.hub

pox文件夹下有pox.py ,对我来说应该进入pox文件夹,然后./pox.py log.level --DEBUG forwarding.hub

6.打开刚建好的三个host:h1, h2, h3

7.在h2 h3中看traffic,出现了下图

后续有出现了很多东西 类似0x000的那些

8.在H1中ping


 you should see that the same ARP and ICMP packets should be visible on hosts 2 and 3. (此时h2,h3没有任何反应 不造为啥)

9.ping不存在的, notice that hosts h2 and h3 both see 3 unanswered ARP requests.(h2,h3窗口没有任何反应,不造为啥)



3.Run the switch example.(下一贴写)




0 0
原创粉丝点击