|
|
|
@ -3,8 +3,6 @@
|
|
|
|
|
###########################
|
|
|
|
|
host h1 10.1.0.2/24 10.1.0.1
|
|
|
|
|
host h2 10.2.0.2/24 10.2.0.1
|
|
|
|
|
# host h3 10.3.0.2/24 10.2.0.1
|
|
|
|
|
# host h4 10.4.0.2/24 10.2.0.1
|
|
|
|
|
|
|
|
|
|
#### Set routers ###
|
|
|
|
|
## router name ip ##
|
|
|
|
@ -37,8 +35,6 @@ router r2 10.2.0.1/24
|
|
|
|
|
#####################################################
|
|
|
|
|
linkHR h1 r1 r1-eth1 10.1.0.1/24
|
|
|
|
|
linkHR h2 r2 r2-eth1 10.2.0.1/24
|
|
|
|
|
# linkRR h1 r1 h1-eth0 r1-eth0 10.0.0.2/24 10.0.0.1/24
|
|
|
|
|
# linkRR h2 r2 h2-eth0 r2-eth0 10.0.1.2/24 10.0.1.1/24
|
|
|
|
|
|
|
|
|
|
######################### Set links #########################
|
|
|
|
|
## linkRR router1, router2, intfName1, intfName2, ip1, ip2 ##
|
|
|
|
|