Mininet Update
parent
6ad1ef7dde
commit
6b5870a48c
@ -1,54 +1,35 @@
|
|||||||
# L'ordine deve rimanee questo
|
######### Set Network Nodes #########
|
||||||
|
## host name intfIP/mask defRoute ##
|
||||||
############# Set hosts #############
|
## router name intfIP/mask ##
|
||||||
## host name intfIP/mask defRoute ###
|
## switch name ##
|
||||||
#####################################
|
#####################################
|
||||||
host H4 161.46.247.131/26 161.46.247.129
|
host H4 161.46.247.131/26 161.46.247.129
|
||||||
host H3 161.46.247.196/27 161.46.247.195
|
host H3 161.46.247.196/27 161.46.247.195
|
||||||
|
|
||||||
######## Set routers ########
|
|
||||||
## router name intfIP/mask ##
|
|
||||||
#############################
|
|
||||||
router R1 161.46.247.254/30
|
router R1 161.46.247.254/30
|
||||||
router R2 161.46.247.253/30
|
router R2 161.46.247.253/30
|
||||||
|
|
||||||
## Set switches ##
|
# The interface details defined inside
|
||||||
## switch name ##
|
# the node during its creation must be
|
||||||
##################
|
# reused in the links before new
|
||||||
# switch s1
|
# interfaces can be defined for the node.
|
||||||
# switch s2
|
############################################# Set Network Links ############################################
|
||||||
|
## linkRR router1, router1_intfName, router1_intfIP/mask, router2, router2_intfName, router2_intfIP/mask ##
|
||||||
#l'interfaccia con cui creo il ruter deve essere la aprima su cui faccio il link
|
## linkRH host, host_intfName, router, router_intfName, router_intfIP/mask ##
|
||||||
################################################ Set links ################################################
|
## linkRS ##
|
||||||
## linkRR router1, router1_intfName, router1_intfIP/mask, router2, router2_intfName, router2_intfIP/mask ##
|
## linkSS switch1, switch2 ##
|
||||||
###########################################################################################################
|
## linkSH switch, host ,host_intfName ##
|
||||||
|
############################################################################################################
|
||||||
linkRR R1 R13 161.46.247.254/30 R2 R21 161.46.247.253/30
|
linkRR R1 R13 161.46.247.254/30 R2 R21 161.46.247.253/30
|
||||||
|
|
||||||
######################## Set links and router interfaces #####################
|
|
||||||
## linkRH host, host_intfName, router, router_intfName, router_intfIP/mask ###
|
|
||||||
##############################################################################
|
|
||||||
linkRH H3 H31 R2 R22 161.46.247.195/27
|
linkRH H3 H31 R2 R22 161.46.247.195/27
|
||||||
linkRH H4 H41 R2 R23 161.46.247.129/26
|
linkRH H4 H41 R2 R23 161.46.247.129/26
|
||||||
|
|
||||||
##################### Set links and router interfaces #####################
|
|
||||||
## linkRS ##
|
|
||||||
#####################################################
|
|
||||||
# linkRS
|
# linkRS
|
||||||
# linkRS
|
# linkRS
|
||||||
|
|
||||||
###### Set links ######
|
|
||||||
## linkSS switch1, switch2 ##
|
|
||||||
######################
|
|
||||||
# linkSS s2 s1
|
# linkSS s2 s1
|
||||||
|
|
||||||
############### Set links ###############
|
|
||||||
## linkSH switch, host ,host_intfName ###
|
|
||||||
#########################################
|
|
||||||
# linkSH S1 H1 H11
|
# linkSH S1 H1 H11
|
||||||
# linkSH S1 H2 H21
|
# linkSH S1 H2 H21
|
||||||
|
|
||||||
################## route table ################
|
################## Route Table ################
|
||||||
## route name final_destIP/mask nextHop intf ###
|
## route name final_destIP/mask nextHop intf ##
|
||||||
################################################
|
###############################################
|
||||||
route R1 161.46.247.192/27 161.46.247.254 R13
|
route R1 161.46.247.192/27 161.46.247.254 R13
|
||||||
route R1 161.46.247.128/26 161.46.247.254 R13
|
route R1 161.46.247.128/26 161.46.247.254 R13
|
||||||
|
Loading…
Reference in New Issue