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.

39 lines
2.0 KiB
Plaintext

1 year ago
######### Set Network Nodes #########
1 year ago
## N_host name ##
## N_switch name ##
1 year ago
## host name intfIP/mask defRoute ##
## router name intfIP/mask ##
#####################################
host H4 161.46.247.131/26 161.46.247.129
host H3 161.46.247.196/27 161.46.247.195
host H2 161.46.247.3/25 161.46.247.1
host H1 161.46.247.2/25 161.46.247.1
router R1 161.46.247.1/25
router R2 161.46.247.253/30
N_switch S1
############################################
## The interface details defined inside ##
## the node during its creation must be ##
## used in the links before new ##
## interfaces can be defined for the node.##
1 year ago
############################################# Set Network Links ############################################
1 year ago
## NN_link node1, node2 ##
## SN_link switch, node, bandwidth(Mbps) ##
1 year ago
## linkRR router1, router1_intfName, router1_intfIP/mask, router2, router2_intfName, router2_intfIP/mask ##
## linkRH host, host_intfName, router, router_intfName, router_intfIP/mask ##
## linkRS switch, router, router_intfName, router_intfIP/mask ##
## linkSS switch1, switch2 ##
## linkSH switch, host, host_intfName ##
1 year ago
############################################################################################################
linkRS S1 R1 R11 161.46.247.1/25
linkRR R1 R13 161.46.247.254/30 R2 R21 161.46.247.253/30
linkSH S1 H1 H11
linkSH S1 H2 H21
linkRH H3 H31 R2 R22 161.46.247.195/27
linkRH H4 H41 R2 R23 161.46.247.129/26
1 year ago
################## Route Table ################
## route name final_destIP/mask nextHop intf ##
###############################################
# TODO