Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Computer Networks / Project / adminhome-specialsetup.sh
blob: e55f42e8478af842bcdfd2c9820b4aa44e88e3d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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