(E-Mail Removed) wrote:
> Hi,
>
> I've installed Debian Etch on a server with two network cards - eth0
> connected to the private network and eth1 to the internet - both with
> static addresses. The installation was completed with eth0 as the
> primary network connection.
>
> eth0=192.168.1.90
> eth1=209.xxx.xxx.xxx
>
> After rebooting, both IP addresses are pingable from the server as
> well as from other computers in the private network, but the public IP
> address is not visible from the internet. However, after a ifdown eth1
> followed by ifup eth1, the public IP address then becomes available
> and I can connect (ssh) to the server from the internet (my home
> machine). (I use a backdoor through another server and get on my
> server to issue the ifdown/ifup commands.)
>
> Has anyone else faced a similar problem? How does one get to the
> source of the problem? Is there a fix? Is it a problem with Debian?
> Should I use RHEL/CentOS5 instead?
Is the Net visible from the server, when the server
is not visible from the Net?
Does your server have a firewall?
You can check with
iptables -nvL
The pinging of *any* of the local addresses does not
prove anything about the network connections, as the
IP stack is smart enough to route traffic to all the
local addresses via the loopback interface, lo.
Please check the state of eth1 before and after the
ifdown/ifup sequence. You can do it with
ifconfig -a eth1
--
Tauno Voipio
tauno voipio (at) iki fi