Linux server problem

Associate
Joined
4 Jan 2005
Posts
394
got a problem with my new Linux (xubuntu) server. When I set it to a static ip the other boxes on the LAN can connect to it but it can't access the Internet. When it is not on static ip it can connect to the Internet. Any ideas why this is happening?

Thanks

Square
 
when you set a set a static ip address, you also need to set

subnet mask (usually 255.255.255.0)
default gateway (usually your router ip)
dns server (usually your router ip)
 
easiest way around this if your router has ip reservations based on mac address.
you then can set the linux server to dhcp and the router will give it a static ip.
 
(housemate of square_imp) figured it out! was being an idiot and putting the dns server in the gateway box :/ all working fine now. thanks for the help though! now i just need to find a guide to getting squid working. any recommendations besides googling it?
 
Back
Top Bottom