cna't ssh localhost
Eugene M. Minkovskii
emin at mccme.ru
Thu Feb 24 07:18:11 GMT 2005
Hi, I'm in trubble now, and don't know what to think about...
I'm install FreeBDS 5.3. stable from DVD iso. This is fresh
system: I'm not recompile the kernel and working with GENERIC
kernel. This means that I don't use any firewall and ip filter.
Now, I configure net interface in /etc/rc.conf:
<...>
ifconfig_rl0="inet 172.16.0.2 netmask 255.255.255.252"
defaultrouter="172.16.0.1"
<...>
then I type following
$ ssh 127.0.0.1
But connection hang up, of course, I can't do ssh from gateway
(172.16.0.1) to localhost (172.16.0.2) too.
########
# BUT! #
########
If I comment line with defaultrouter in rc.conf:
<...>
ifconfig_rl0="inet 172.16.0.2 netmask 255.255.255.252"
#defaultrouter="172.16.0.1"
<...>
and reboot, connecion working good: ssh 127.0.0.1 work, and ssh
from gateway to local mashine work good.
If I, after that type manually
$ sudo route add 0.0.0.0 172.16.0.1
connection to loop interface hangs again.
Have you any ideas?
--
Sensory yours, Eugene Minkovskii
Сенсорно ваш, Евгений Миньковский
More information about the freebsd-questions
mailing list