首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
讲解Python程序设计、辅导Python编程、data程序辅导 讲解留学生Processing|辅导R语言编程
项目预算:
开发周期:
发布时间:
要求地区:
Final Project : Setting up your own Enterprise
Network
The project demo sign up sheets will be posted on Wednesday after class.
All code must be submitted BEFORE the demo presentation on the following
dates:
Early Birds submission due date for the code: Monday, May 24th 11:59pm
Regular submission due date for the code: Sunday, May30th 11:59pm
NOTE : No late submissions will be accepted for the final project
Background
In the previous labs you implemented a simple firewall that allowed ARP and ICMP
packets, but blocked some TCP packets. For your final project, you will be building your
own network with DHCP servers assigning IP addresses to devices, implementing
routing forwarding functions between devices on different subnets and expanding on the
previous lab’s firewall for certain subnets. You will first construct your own enterprise
network based on the given constraints. You will be using ideas from Lab 1 to help
construct the Mininet topology, and ideas from Prelab3 and Lab 3 to implement the rules
allowing for traffic to flow through your network based upon given constraints. Please
refer back to the previous Labs for guidance on how to complete this assignment.
Assignment
For this lab, you will set up a small enterprise network. The main idea is to connect a
campus network and home network to a computing cluster network. Once the network
is set up, your next task is to enable routing rules/policies for the various devices with
given constraints in different networks, and in particular enable access from the campus
and home networks to the servers that reside on the computing cluster through a proper
route path. The topology should be as follows:
Task1 : Creating the Topology
Useful Resources:
https://openflow.stanford.edu/display/ONL/POX+Wiki
You are going to create the designed network given in the previous image, and enable
DHCP servers to assign the IPv4 addresses to the devices inside the Campus network
and Home networks.
In Mininet, the DHCP server can be implemented with the remote pox controller,
dhcpd.py. You can execute the DHCP server as follows:
./pox.py proto.dhcpd --network=x.x.x.0/24 --ip=x.x.x.1 --first=x --last=None….
(reference: https://openflow.stanford.edu/display/ONL/POX+Wiki)
In order to get an IP address assigned, DHCP must be enabled in the client/host that
needs an IP address. You can find the example in dhcp-example.py.
Hint: You have to run one DHCP server at a time. For example, when you have DHCP
Server 1 running with the specific Hosts/Clients who need IP addresses assigned, you
must stop/revoke DHCP Server 1 before running DHCP Server 2.
Campus Network:
In the Campus network, there are 4 hosts, h1, h2, h3, h4.
● Assign valid IP addresses to these hosts through DHCP server1, which is
implemented by you.
○ IP address constraints: any IPv4 address, with network address 10.1.1.0,
and subnet mask /24
● h1, h2, h3, h4 connect to switch1
Home Network:
The Home Network has two connected devices, d1 and d2.
● Assign valid IP addresses to these devices through DHCP server2, which is
implemented by you.
○ IP address constraints: any IPv4 address, with network address 10.2.2.0,
and subnet mask /24
● d1, d2 connect to switch3
Computing Cluster:
The computing cluster has two servers - CCServer1, CCServer2. The Computing
Cluster subnet has the network address 10.3.3.0 /29. Choose valid addresses for the
servers accordingly.
● Note: these IPv4 addresses should be pre-assigned, as in previous labs, i.e.,
they are NOT required to be assigned by DHCP server.
● CCServer1 connects to Switch4
● CCServer2 connects to Switch5
Link Parameters:
As you did in previous labs, you must set the link parameters while building the network
topology.
Link Parameter settings are as follows:
● The link between Switch 4 and CCServer 1 has bandwidth 10Mbps.
● All other links in the topology have bandwidth 3Mbps.
Testing Task 1: Using a command of your choice, demonstrate how your
implementation meets all the requirements of task1. In specific, run a command that
can demonstrate that your topology is set up as required. Add tests to Readme.
Controllers for Task2 and Task 3:
For Task2 and Task 3 you will use the POX Controller finalcontroller_skel.py for
routing and the firewall implementation. To assign IP Addresses to hosts in the network,
you can choose to either use the DHCP Controller as you did in Task 1 ( DHCP server1
and DHCP server2) or you can just apply the IP addresses assigned through Task1 by
directly incorporating these addresses into your final_skel.py
Task2: Routing Function
In this part, you are going to implement the routing forwarding functions between
devices in different subnets based on some constraints.
Based on the topology you built in Task 1, there might be multiple paths between the
hosts(clients or servers) in different networks. For instance, the host1 in the Campus
Network needs to communicate with Servers in the Computing Cluster Network. Host1
can reach CCServer1 over multiple ways/paths.
Implement the flow table to achieve the following routing forwarding functions on
switches:
1) Clients in the campus network communicate with the devices in the Home
Network through the shortest path (Hint: through the least number/hops through
switches from the source to destination) NOTE: if there is more than one shortest
path, either one can be selected.
2) Clients in the campus network communicate with one of the servers in the
Computing Cluster Network through the shortest best performance links (e.g.,
higher bandwidth link), which means, finding the best performance links first,
then selecting the shortest link among the best performance links. NOTE: if there
are more than one shortest path, either one can be selected.
a) Which server, CCServer 1 or CCServer 2, will be selected based on the
shortest best performance link constraints?
Testing Task 2:
Using commands of your choice, demonstrate how your implementation meets all the
requirements of task2. Add the command(s) used and explanation to your README file.
NOTE:
Before you run any commands in mininet>, to verify Task2 and Task3, we need to
bring down two links by using the following two commands:
For example:
mininet> link s4 s5 down
mininet> link s1 s5 down
mininet> h1 ping ccs1
mininet> all other test commands
If you restart your topology, you have to run these two commands again.
Task3: Firewall
Device 1 (d1) in the Home network has some malicious behavior detected. Implement a
firewall to completely isolate Device 1 (d1) from the network.. In addition, block all IP
traffic from d2 as well.
Testing Task 3:
Using commands of your choice, demonstrate how your implementation meets all the
requirements of Task3. Add the command(s) used and explanation to your README
file.
NOTE:
Before you run any commands in mininet>, to verify Task2 and Task3, we need to
bring down two links by using the following two commands:
For example:
mininet> link s4 s5 down
mininet> link s1 s5 down
mininet> h1 ping ccs1
mininet> all other test commands
Note:
● You may do the routing and firewall implementation however you choose --
however, you may find it easiest to determine the correct destination switch port
by using the destination IP address and source IP address, as well as the source
port on the switch that the packet originated from. Additional information has
been given to you in the do_final() function to allow you to make these decisions.
Please see the comments in the provided code for guidance.
● Based on your personal topology, the IP addresses of hosts and devices might
vary.
Provided Code :
Final_skel.py
finalcontroller_skel.py
Dhcp-example.py
We have provided you with starter code (skeletal files) to get you started on this
assignment.
● The dhcp-example.py shows an example of how to get IP addresses assigned
through a DHCP server. You have to make your own final-dhcp.py to satisfy Task
1. Note: You don’t have to change the dhcpd.py in proto.
● The controller file (finalcontroller_skel.py) serves as a skeletal for implementing
task2 and task3.
● The controller file for task2 and task 3 needs to be placed in ~/pox/pox/misc and
mininet file (final_skel.py) needs to be placed in your home directory (~).
You need to modify all three files to meet the lab requirements.
You will be using slightly different commands to create the Hosts and Links in the
Mininet file to give you more information to make decisions within the Controller file.
Additionally, you will notice that you have additional information provided in the do_final
function. This is documented in the comments within the files.
Summary of Goals:
1) Creating a Mininet Topology to represent the above topology and assign IP
Addresses to hosts through the DHCP servers.
2) Implement routing, considering shortest path and link bandwidth, using the Pox
Controller.
3) For the Firewall, all hosts are able to communicate EXCEPT :
a) d1 cannot send or receive any traffic at all
b) All IP traffic to and from d2 will be blocked
Testing:
You may test with Mininet commands and observe packets with Wireshark inside your
VM. We will not be telling you what commands to run to verify the assignment goals are
met in this document. Figuring out how to prove your work is a part of this assignment.
Please test your code comprehensively before coming to the demo sessions.
Grading Rubric:
Total: 100 points
25 points: Mininet Topology (tested with Mininet commands in the demo)
5: Devices are successfully created. Please name your hosts and servers using the
names specified in the topology, and in specifications listed. Do not assign
different names.
10: Links are successfully created, and the topology is correct.
10: IP addresses are assigned correctly (using DHCP and based on constraints )
15 Points: Commands for Testing Task1, Task2 and Task3 in README file.
40 points: POX Controller for routing and firewall implementation
20 points: Quality of your demo presentation with the TAs.
You will need to attend the demo sessions and explain your code and results to the
TAs/Tutors. Credit is given based on the clarity of your explanation and justification of
results in the demo presentation. Before attending the demo sessions, you have to
submit your code files on Canvas according to the due date. Partial credit may be
awarded for incomplete assignments based upon the submitted code and explanations
in the demo as to why something may not be functioning properly. If you are not able to
get the expected results, you could explain what you think is going on (for partial credit).
10 extra points for Early Birds: You can choose to submit your code and present the
demo earlier than the project due date to earn 10 extra points for the project. To do
that, you need to commit your code on Canvas by 11:59:59 pm on May 24th and sign
up the early bird demo in Week 9.
Deliverables on Canvas:
1. final_dhcp.py: you topology code with dhcp for task1
2. final_skel.py: Your topology code for take2 and task3.
3. finalcontroller_skel.py: Your controller code for task2 and task3.
4. README.txt: A readme file explaining your submission and also the commands
used to verify and test your implementations (Task1, Task2 and Task3).
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代做ceng0013 design of a pro...
2024-11-13
代做mech4880 refrigeration a...
2024-11-13
代做mcd1350: media studies a...
2024-11-13
代写fint b338f (autumn 2024)...
2024-11-13
代做engd3000 design of tunab...
2024-11-13
代做n1611 financial economet...
2024-11-13
代做econ 2331: economic and ...
2024-11-13
代做cs770/870 assignment 8代...
2024-11-13
代写amath 481/581 autumn qua...
2024-11-13
代做ccc8013 the process of s...
2024-11-13
代写csit040 – modern comput...
2024-11-13
代写econ 2070: introduc2on t...
2024-11-13
代写cct260, project 2 person...
2024-11-13
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!