From 885d06b5385362af57aebb40e93e3628983fb054 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 4 Jun 2023 20:04:53 +0300 Subject: [CN/P] Finished first exercise --- Year 2/Computer Networks/Project/adminhome-specialsetup.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Year 2/Computer Networks/Project/adminhome-specialsetup.sh (limited to 'Year 2/Computer Networks/Project/adminhome-specialsetup.sh') diff --git a/Year 2/Computer Networks/Project/adminhome-specialsetup.sh b/Year 2/Computer Networks/Project/adminhome-specialsetup.sh new file mode 100644 index 0000000..e55f42e --- /dev/null +++ b/Year 2/Computer Networks/Project/adminhome-specialsetup.sh @@ -0,0 +1,14 @@ +# Thanks https://unix.stackexchange.com/a/538692 +# Thanks https://askubuntu.com/q/168033 +# When you try to ping internal network devices, it will fail, so you'll need to configure the +# actual Debian VM to add proper ip routes +# This is done in one of two ways: + +## Inside config; changes are done with "Right-click/Edit config" on a powered off device +## They are persistent, this is the recommended way + +# below iface .... + up /bin/ip route add 0.0.0.0/0 via 0.0.0.0 + +## While it is running with commands; changes aren't persistent + route add -net 0.0.0.0/0 gw 0.0.0.0 -- cgit v1.3.1-26-gb76a