Question

In: Computer Science

How to design a SCADA network and integrate with the topology stated in the background. In...

How to design a SCADA network and integrate with the topology stated in the background. In terms of performance and data packets size.

Let's say for : topo-3sw-3host.py

Solutions

Expert Solution

"""Custom topology example
Two directly connected switches plus a host for each switch:
host --- switch --- switch --- host
Adding the 'topos' dict with a key/value pair to generate our newly defined
topology enables one to pass in '--topo=mytopo' from the command line.
"""
from mininet.topo import Topo
class MyTopo( Topo ):
"Simple topology example."
def __init__( self ):
"Create custom topo."
# Initialize topology
Topo.__init__( self )
# Add hosts and switches
leftHost = self.addHost( 'h1' )
rightHost = self.addHost( 'h2' )
middleHost = self.addHost( 'h3' )
leftSwitch = self.addSwitch( 's3' )
rightSwitch = self.addSwitch( 's5' )
middleSwitch = self.addSwitch( 's4' )
# Add links
self.addLink( leftSwitch, middleSwitch )
self.addLink( middleSwitch, rightSwitch )
self.addLink( leftHost, leftSwitch )
self.addLink( rightSwitch, rightHost )
self.addLink( leftSwitch, middleHost )
self.addLink( rightSwitch, middleHost )
topos = { 'mytopo': ( lambda: MyTopo() ) }


Related Solutions

what is meant by network topology
what is meant by network topology
What is a Network Topology? What are the types of network topologies? 2. What are the...
What is a Network Topology? What are the types of network topologies? 2. What are the types of Ethernet cables? 3. What to use when connecting: a) Switch – switch b) Hub- hub c) Switch – hub d) Switch – end device (e.g. computer) How to create subnets in a LAN including one switch?
In a    network topology, all network devices are connected to a common backbone that serves as...
In a    network topology, all network devices are connected to a common backbone that serves as a shared communications medium.
What is called Supertargetting in Heat Exchanger Network Design? How Heat Exchanger Network Design can be...
What is called Supertargetting in Heat Exchanger Network Design? How Heat Exchanger Network Design can be done by paying attention to Supertargetting?
Computer A is sending a packet to Computer B, and the network topology says it must...
Computer A is sending a packet to Computer B, and the network topology says it must go through Switch A, then a router, the Switch B, and then the packet reaches switch B. I'm trying to describe this process of sending the packet with OSI model. My book says switches are layer 2 and routers are layer 3. If the packet is traveling down the OSI model from application to physical, how does it go through the router before the...
Given a network topology of 3 or more routers with an IPv4 and IPv6 addressing scheme,...
Given a network topology of 3 or more routers with an IPv4 and IPv6 addressing scheme, implement the appropriate technology to ensure connectivity to the Internet.
Given a network topology and three routers and an IPv4 or IPv6 addressing scheme, implement the...
Given a network topology and three routers and an IPv4 or IPv6 addressing scheme, implement the correct routing protocol and confirm layer connectivity.
Consider a 10Mbps Ethernet network consisting of 20 nodes interconnected by a bus topology with a...
Consider a 10Mbps Ethernet network consisting of 20 nodes interconnected by a bus topology with a single bridge placed in the approximate centre of the network resulting in an equal number of nodes on each side of the bridge. a) Briefly explain why collisions can/cannot occur. b) If two pairs of nodes attempted to communicate at the same time, discuss the throughput they can achieve.
Network Design proposal for a University Problem: Suppose you are asked to design of a network...
Network Design proposal for a University Problem: Suppose you are asked to design of a network infrastructure for a university. The university has 7 departments namely, IT, Finance, HR, Management, Faculty, students and R&D. The university also has an ADSL internet connection which is shared for the different departments. It is required that all the departments should have intercommunication. The R&D department should not have access to the internet. Each of the department contain 50-100 users. Explain your design giving...
Given a network topology of 3 or more routers with bandwidth designations, compare the metrics used...
Given a network topology of 3 or more routers with bandwidth designations, compare the metrics used during the route selection process and the resulting routing tables generated by the dual algorithm and static routing.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT