I figure this out.

I don't know why. Somebody could explain me ....

But the problem is that the machine could not reach the DNS server configured 
at /etc/resolv.conf. If the default router is configured or not, the FreeBSD 
box could not reach the DNS server.

No problem with this, but why when a DNS is configured the machine can not run 
ssh or ftp localhost or from a remote host.

Thanks.

Diogo Della

De:[EMAIL PROTECTED]

Para:"freebsd-questions" freebsd-questions@freebsd.org

Cópia:

Data:Mon, 6 Jun 2005 14:32:17 -0300

Assunto:Re: freebsd cable disconnected problem

> Yes, the localhost go to this IP.
>
> This machine has 3 NIC with 3 different IP address. If the onboard sis0 is 
> not connected, ssh or ftp 127.0.0.1 does not work.
>
> Other machines has the same problem, but a llitle different. In other 
> FreeBSD, if a make any modifications like include a default gateway on the 
> routing table, it does not work.
>
> Is there any security issue or something like?
>
> Thanks.
>
> Diogo Della
>
> On May 26, 2005, at 4:07 PM, Diogo Della wrote:
> > It is very strange: if a put the initial ip address of the
> > interface and disconnect the cable "ssh localhost" does not work.
> > But, if a let this running and put the cable again, "ssh localhost"
> > works.
> >
> > What is going on? FreeBSD need to be connected and with the same ip
> > address I set at installation for the network deamon to work?
>
> Does localhost actually go to IP 127.0.0.1?
> Do you have a localhost route, check "netstat -nr"...?
>
> You can also take a look at what your daemons are binding to via:
> "netstat -anp TCP | grep LISTEN". Are they binding to *.port or
> otherwise?
>
> --
> -Chuck
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to