I am configuring the network for a new server(Debian 6), it has a public IP and a local one, with 2 network connections, the server is a proliant G4, for some reason when I connected it on the eth1 didnt work... so, I connected it on eth3, the config file is like this
auto lo iface lo inet loopback # The primary network interface ##allow-hotplug eth0 ##iface eth0 inet dhcp auto eth3 iface eth3 inet static address myip netmask mynetmask gateway mygateway dns-nameservers mydns1 mydns2 auto eth0 iface eth0 inet static address 220.127.116.11 netmask 255.255.255.0 gateway 18.104.22.168 network 22.214.171.124
The problem is that I can reach myip only when I am on the same network, if I go out of that network I just can reach it... is it a problem on my OS? some other file I forgot? or is a problem with my dns and other things related? my gateways and dns are not local (I mean, 192.168... or in this case 172.68) any possible reason of this? Should I set the oth0 as the public network?