Linux NTP Server and Router

The below VM (Ubuntu 10.04.4) automatically logs in.

To edit these configs, vi /etc/network/interfaces then reboot the vm ("reboot"). Note: Only the management interface going to the internet should have a gateway (usually set by DHCP). Each interface should go to one of the networks.

Rebooting takes around 10 seconds, it's a super slim down version of Linux.

How this VM was made

Auto Log in and sensible bash

See https://sites.google.com/site/anvilsoup/geek-stuff/linux-autocompletion for details.

Redo all interfaces

Install NTP

Turn on IP routing

Edit /etc/sysctl.conf and search for the following lines:

# Uncomment the next line to enable packet forwarding for IPv4

net.ipv4.ip_forward=1