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

Diogo Della ap010@terra.com.br
Sun, 5 Jun 2005 19:51:13 -0300


--_=__=_XaM3_.1118011873.2A.589272.42.31467.52.42.007.991020166
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

I made more tests.

When I put routes at the route table of FreeBSD, it does not accept any m=
ore 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 Expir=
e
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    97=
9
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    24=
3
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 ch=
ange this?

Thanks

Diogo Della

--_=__=_XaM3_.1118011873.2A.589272.42.31467.52.42.007.991020166
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<DIV style=3D"FONT-SIZE: 14px; FONT-FAMILY: verdana, arial">
<DIV>I made more tests.</DIV>
<DIV>&nbsp;</DIV>
<DIV>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.</DIV=
>
<DIV>&nbsp;</DIV>
<DIV>Look what happens:</DIV>
<DIV>1-</DIV>
<DIV>router2# ssh localhost<BR>Password:<BR>2-</DIV>
<DIV>route add -net 192.168.67.0/24 172.16.3.1<BR>route add -net 192.168.=
68.0/24 172.16.5.3</DIV>
<DIV>3-</DIV>
<DIV>router2# netstat -nr | less<BR>Routing tables</DIV>
<DIV>Internet:<BR>Destination&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; G=
ateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Flags&nbsp;&nbsp;&nbsp; Refs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use&nbsp; Neti=
f Expire<BR>127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; 127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UH&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 97=
481&nbsp;&nbsp;&nbsp; lo0<BR>172.16.3/24&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; link#2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; UC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; fxp0<BR>172.16.=
3.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00:02:2a:d3:07:ab&nbs=
p; UHLW&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; 999&nbsp;&nbsp; fxp0&nbsp;&nbsp;&nbsp; 979<BR>172.16.5/24&nbsp;&=
nbsp;&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sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; UC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; sis0<BR>192.168.69.200=
&nbsp;&nbsp;&nbsp;&nbsp; 00:0c:6e:33:0c:ae&nbsp; UHLW&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp=
;&nbsp; sis0&nbsp;&nbsp;&nbsp; 243<BR>4-</DIV>
<DIV>router2# ssh localhost<BR>^C</DIV>
<DIV>(It timeout and I have to kill with CTRL + C )<BR>5-</DIV>
<DIV>delete net 192.168.67.0: gateway 172.16.3.1<BR>delete net 192.168.68=
.0: gateway 172.16.5.3<BR>6-</DIV>
<DIV>router2# ssh localhost<BR>Password:<BR></DIV>
<DIV>Why does this happens? Is it because a securty level of FreeBSD, how=
 a change this?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>&nbsp;</DIV>
<DIV>Diogo Della</DIV>
<DIV><BR>&nbsp;</DIV></DIV>

--_=__=_XaM3_.1118011873.2A.589272.42.31467.52.42.007.991020166--