You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.7 KiB
Plaintext

# L'ordine deve rimanee questo
############# Set hosts #############
## host name intfIP/mask defRoute ###
#####################################
host H4 161.46.247.131/26 161.46.247.129
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 R2 161.46.247.253/30
## Set switches ##
## switch name ##
##################
# switch s1
# switch s2
################################################ Set links ################################################
## linkRR router1, router1_intfName, router1_intfIP/mask, router2, router2_intfName, router2_intfIP/mask ##
###########################################################################################################
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 H4 H41 R2 R23 161.46.247.129/26
##################### Set links and router interfaces #####################
## linkRS ##
#####################################################
# linkRS
# linkRS
###### Set links ######
## linkSS switch1, switch2 ##
######################
# linkSS s2 s1
###### Set links ######
## linkSH switch, host ##
##########
# linkSH s1 h1
# linkSH s1 h2
# linkSH s2 h3
# linkSH s2 h4
################## route table ################
## route name final_destIP/mask nextHop intf ###
################################################
route R1 161.46.247.192/27 161.46.247.254 R13
route R1 161.46.247.128/26 161.46.247.254 R13