Date: Thu, 24 Feb 2005 10:18:19 +0300 From: "Eugene M. Minkovskii" <emin@mccme.ru> To: freebsd-questions@freebsd.org Subject: cna't ssh localhost Message-ID: <20050224071819.GA7101@mccme.ru>
next in thread | raw e-mail | index | archive | help
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 Сенсорно ваш, Евгений Миньковский
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050224071819.GA7101>