[Xorp-users] Sorry, the problem is not RIP, but the routing table

Kristian Larsson kristian@juniks.net
Mon, 6 Jun 2005 04:21:43 +0200


First of all, try to keep everything in one thread. There are now
numerous threads all coming from you on the same subject. And it looks
real messy in my mail reader ;)

Anyway, you haven't by any chance changed something in /etc/hosts, perhaps the
ip of localhost?
Is it just ssh or does everything, like ping and so on, stop working as well?
What if you try pinging or ssh to 127.0.0.1

it looks correct from over here, and when doing this on my machine
(also freebsd) I don't get the same errors.

//Kristian Larsson

On Sun, Jun 05, 2005 at 07:51:13PM -0300, Diogo Della wrote:
> I made more tests.
> 
> When I put routes at the route table of FreeBSD, it does not accept any more connection from localhost or from other host at the subnet.
> 
> Look what happens:
> 1-
> router2# ssh localhost
> Password:
> 2-
> route add -net 192.168.67.0/24 172.16.3.1
> route add -net 192.168.68.0/24 172.16.5.3
> 3-
> router2# netstat -nr | less
> Routing tables
> Internet:
> Destination        Gateway            Flags    Refs      Use  Netif Expire
> 127.0.0.1          127.0.0.1          UH          0    97481    lo0
> 172.16.3/24        link#2             UC          1        0   fxp0
> 172.16.3.1         00:02:2a:d3:07:ab  UHLW        2      999   fxp0    979
> 172.16.5/24        link#3             UC          1        0    rl0
> 172.16.5.3         link#3             UHLW        1        0    rl0
> 192.168.67         172.16.3.1         UGSc        0        0   fxp0
> 192.168.68         172.16.5.3         UGSc        0        0    rl0
> 192.168.69         link#1             UC          1        0   sis0
> 192.168.69.200     00:0c:6e:33:0c:ae  UHLW        0        8   sis0    243
> 4-
> router2# ssh localhost
> ^C
> (It timeout and I have to kill with CTRL + C )
> 5-
> delete net 192.168.67.0: gateway 172.16.3.1
> delete net 192.168.68.0: gateway 172.16.5.3
> 6-
> router2# ssh localhost
> Password:
> 
> Why does this happens? Is it because a securty level of FreeBSD, how a change this?
> 
> Thanks
> 
> Diogo Della