Skip to content

Commit

Permalink
Merge pull request #24 from iArcanic/Management-switch
Browse files Browse the repository at this point in the history
Management-switch
  • Loading branch information
iArcanic authored Jul 16, 2023
2 parents be1ed82 + 59900f2 commit 0684437
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Central-router.startup
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ 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

# Gateway IP for Management-switch
ip addr add 10.0.6.1/24 dev eth6
ip link set up dev eth6
6 changes: 6 additions & 0 deletions Management-switch.startup
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# IP of Management-switch
ip addr add 10.0.6.2/24 dev eth0
ip link set up dev eth0

# Gateway IP to Central-router
ip route add default via 10.0.6.1 dev eth0
2 changes: 2 additions & 0 deletions Management-switch/etc/resolvconf/resolv.conf.d/base
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# hosts external to fido
nameserver 8.8.8.8
4 changes: 4 additions & 0 deletions lab.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Central-router[2]=External
Central-router[3]=Staff
Central-router[4]=Services
Central-router[5]=Server
Central-router[6]=Management

# DMZ subnet
DMZ-switch[0]=DMZ
Expand All @@ -35,3 +36,6 @@ Int-DNS[0]=Services
Server-switch[0]=Server
LDAP[0]=Server
OpenVPN[0]=Server

# Management subnet
Management-switch[0]=Management

0 comments on commit 0684437

Please sign in to comment.