I installed Ubuntu server 12.04. I configured my network like this:
auto eth0 iface eth0 inet static address 220.127.116.11 netmask 255.255.255.0 network 18.104.22.168 broadcast 22.214.171.124 gateway 126.96.36.199 dns-nameservers 188.8.131.52 184.108.40.206
with these configurations, I cannot connect to internet.
Whenever I do
it just waits. When I do
or any other IP, it returns unreachable host error. Could you please help me fix this error?
Edit: I can ping the IP from my network. My modem is set to DHCP enabled dynamic IP.
Edit 2: Sorry for my late explanations, but I must firstly explain the scenario:
There is a company with 20 staff. I developed a web application with PHP/CodeIgniter for them. Where they want to use it inside their local network.
I install an Ubuntu server 12.04, and want to make it a local server for this purpose. I need to assign a static IP address for this server, where it musnt changed.
I have a TP-Link Wireless Router, where the internet connection is provided through this router. It is DHCP enabled.
Now for this, what I need? How I must configure my server?