Friends, I'm stuck up with problem regarding to network configuration to make my Ubuntu 14.04 server machine as internet gateway in a LAN, and I am a relatively newbie in this regard.
My scenario is as follows.
ISP Address 59.X.X.10
ISP Gateway 59.X.X.1 (as seen from modem router)
Netmask 255.255.255.255 ( " )
Modem Address : 192.168.1.1
I edited the
/etc/network/interface file as:
auto eth0 iface eth0 inet static address 59.X.X.10 netmask 255.255.255.255 gateway 59.X.X.1 network 59.X.X.0 broadcast 59.X.X.255 dns-nameservers 18.104.22.168 22.214.171.124 auto eth1 iface eth1 inet static address 192.168.1.2 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255
Now when I save and restart the service, I cannot even ping to 192.168.1.1 or get internet connection from this server machine itself. I also tried to change gateway of eth0 to 192.168.1.1 , but no good.
Where am I wrong,? Do I have to make any particular changes to my broadband modem router?