Skip to content

Commit

Permalink
Added connection between Staff-2 and Staff-switch via gateway IP
Browse files Browse the repository at this point in the history
  • Loading branch information
iArcanic committed Jul 14, 2023
1 parent ac5176d commit b2bf167
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Staff-2.startup
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# IP of Staff-2
ip addr add 10.0.3.4/24 dev eth0
ip link set up dev eth0

# Gateway IP to Staff-switch
ip route add default via 10.0.3.2 dev eth0

0 comments on commit b2bf167

Please sign in to comment.