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 new file mode 100755 index 0000000..ae4eb8d --- /dev/null +++ b/Server-switch.startup @@ -0,0 +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/Server-switch/etc/resolvconf/resolv.conf.d/base b/Server-switch/etc/resolvconf/resolv.conf.d/base new file mode 100755 index 0000000..caa02b9 --- /dev/null +++ b/Server-switch/etc/resolvconf/resolv.conf.d/base @@ -0,0 +1,2 @@ +# hosts external to fido +nameserver 8.8.8.8 diff --git a/lab.conf b/lab.conf index 3a501a2..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 @@ -29,3 +30,6 @@ Staff-3[0]=Staff Services-switch[0]=Services Int-WWW[0]=Services Int-DNS[0]=Services + +# Server subnet +Server-switch[0]=Server