diff --git a/Central-router.startup b/Central-router.startup index 9a0d3e9..f785610 100755 --- a/Central-router.startup +++ b/Central-router.startup @@ -20,3 +20,7 @@ ip link set up dev eth3 # Gateway IP for Services-switch ip addr add 10.0.4.1/24 dev eth4 ip link set up dev eth4 + +# Gateway IP for Server-switch +ip addr add 10.0.5.1/24 dev eth5 +ip link set up dev eth5 diff --git a/Server-switch.startup b/Server-switch.startup index 602df77..ae4eb8d 100755 --- a/Server-switch.startup +++ b/Server-switch.startup @@ -1,3 +1,6 @@ # IP of Server-switch ip addr add 10.0.5.2/24 dev eth0 ip link set up dev eth0 + +# Gateway IP to Central-router +ip route add default via 10.0.5.1 dev eth0 diff --git a/lab.conf b/lab.conf index 3661d76..aa80db0 100755 --- a/lab.conf +++ b/lab.conf @@ -8,6 +8,7 @@ Central-router[1]=DMZ Central-router[2]=External Central-router[3]=Staff Central-router[4]=Services +Central-router[5]=Server # DMZ subnet DMZ-switch[0]=DMZ