Ok, I know this is a simple question but I need to ask it...
I have set up an Apache web server on my home network on a Ubuntu 8.04 Server Edition machine. I just have it working on my home network which is behind a garden-variety Linksys router. I set it up with a static IP today by editing my /etc/network/interfaces file, here is the entry:
auto eth0
iface eth0 inet static
address 192.168.1.140
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.1.255
gateway 0.0.0.0
The netmask, network, and broadcast values were taken from the ifconfig output when the box was still using DHCP. However, I didn't know what the gateway value is supposed to be so I filled it with 0's. The server now serves pages correctly and predictably but I can't request anything from it. That is, it can't get on the web, can't get to any remote Git repo's etc.
I know I'm missing something simple, can anyone enlighten me?