[Centos] error when trying access internet.

Tru Huynh
Wed, 23 Feb 2005 14:10:27 -0000

On Wed, Feb 23, 2005 at 10:05:58AM -0300, Tiago Bahi - VOE INTERNET
wrote:
> Anyone can help?
>
<not centos related issue, network config issue>
...
> when I try use wget or links I receive this message:
> Connecting...          <- only this
>
> FTP transfer from internet IP address to server not work.
>
> ifcfg-eth0 file:
>
nothing special, but why do you have aliases for you IP network?

>
how does your /etc/hosts /etc/resolv.conf look like?
>
> [root at cedaspy network-scripts]# route
> Tabela de Roteamento IP do Kernel
> Destino         Roteador        MascaraGen.    Opcoes Metrica Ref   Uso
Iface
> 200.138.174.0   *               255.255.255.0   U     0      0        0
eth0
> default         rt2.voe.com.br  0.0.0.0         UG    0      0        0
eth0
[tru at xiii ~]$ host rt2.voe.com.br
Host rt2.voe.com.br not found: 3(NXDOMAIN)
	 your router is unknown?

what does mirror.centos.org resolve to?
[tru at xiii ~]$ host mirror.centos.org
mirror.centos.org has address 131.211.85.22
mirror.centos.org has address 131.211.85.43
mirror.centos.org has address 64.8.96.20
mirror.centos.org has address 66.147.238.146
mirror.centos.org has address 69.93.26.26
mirror.centos.org has address 69.93.142.19
mirror.centos.org has address 72.21.40.10

>
> [root at cedaspy network-scripts]# ifconfig
> eth0       Encapsulamento do Link: Ethernet  Endereco de HW
00:0E:A6:CD:95:AD
>           inet end.: 200.138.174.27  Bcast:200.138.174.255
Masc:255.255.255.0
>           UP BROADCASTRUNNING MULTICAST  MTU:1500  Metrica:1
...
>
> eth0:0     Encapsulamento do Link: Ethernet  Endereco de HW
00:0E:A6:CD:95:AD
>           inet end.: 200.138.174.30  Bcast:200.138.174.255
Masc:255.255.255.0
..
>
> access for SSH, MySQL, WEB (Apache), Mail - Qmail (Imap, POP3, SMTP) is
FINE.
outgoing ssh but not ftp/http does not make sense to me, except if you have set
some proxy for http/ftp and forgot about it.

Cheers,

Tru