[Xorp-users] Sorry, the problem is not RIP, but the routing table
Diogo Della
ap010@terra.com.br
Sun, 5 Jun 2005 20:28:36 -0300
--_=__=_XaM3_.1118014116.2A.608415.42.19091.52.42.007.697744838
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Sorry, I'm from webmail here.
There is no problem with /etc/hosts. The problem haapens with ssh and ftp=
. Ping there is no problem.
I'm looking every where to figure this out, but I can=B4t understand.
### TEST
router2# route add -net 0.0.0.0 192.168.69.200
add net 0.0.0.0: gateway 192.168.69.200
router2# ssh 127.0.0.1
^C
router2# ftp 127.0.0.1
Connected to 127.0.0.1.
^Z
Suspended
router2# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=3D0 ttl=3D64 time=3D0.027 ms
^C
--- 127.0.0.1 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev =3D 0.027/0.027/0.027/0.000 ms
router2# route delete -net 0.0.0.0 192.168.69.200
delete net 0.0.0.0: gateway 192.168.69.200
router2# ssh 127.0.0.1
Password:
router2# ftp 127.0.0.1
Connected to 127.0.0.1.
220 router2.multicast FTP server (Version 6.00LS) ready.
Name (127.0.0.1:root):
### KERNEL OPTIONS
#MULTICAST
options MROUTING
#DUMMYNET
options DUMMYNET
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=3D5
options IPFIREWALL_FORWARD
options IPFW2
options IPDIVERT
options HZ=3D1000
# Mais opcoes no Kernel segundo o HandBook 20050513 por Diogo Della
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPV6FIREWALL
options IPV6FIREWALL_VERBOSE
options IPV6FIREWALL_VERBOSE_LIMIT
options IPV6FIREWALL_DEFAULT_TO_ACCEPT
# Suporta ao PIM
options PIM
De:"Kristian Larsson" kristian@juniks.net
Para:"Diogo Della" ap010@terra.com.br
C=F3pia:xorp-users@xorp.org
Data:Mon, 6 Jun 2005 04:21:43 +0200
Assunto:Re: [Xorp-users] Sorry, the problem is not RIP, but the routing t=
able
> 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, perh=
aps 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 a=
ny 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
>
--_=__=_XaM3_.1118014116.2A.608415.42.19091.52.42.007.697744838
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<DIV>Sorry, I'm from webmail here.</DIV>
<DIV> </DIV>
<DIV>There is no problem with /etc/hosts. The problem haapens with ssh an=
d ftp. Ping there is no problem.</DIV>
<DIV> </DIV>
<DIV>I'm looking every where to figure this out, but I can=B4t understand=
. </DIV>
<DIV> </DIV>
<DIV>### TEST</DIV>
<DIV>router2# route add -net 0.0.0.0 192.168.69.200<BR>add net 0.0.0.0: g=
ateway 192.168.69.200<BR>router2# ssh 127.0.0.1<BR>^C<BR>router2# ftp 127=
.0.0.1<BR>Connected to 127.0.0.1.<BR>^Z<BR>Suspended<BR>router2# ping 127=
.0.0.1<BR>PING 127.0.0.1 (127.0.0.1): 56 data bytes<BR>64 bytes from 127.=
0.0.1: icmp_seq=3D0 ttl=3D64 time=3D0.027 ms<BR>^C<BR>--- 127.0.0.1 ping =
statistics ---<BR>1 packets transmitted, 1 packets received, 0% packet lo=
ss<BR>round-trip min/avg/max/stddev =3D 0.027/0.027/0.027/0.000 ms<BR>rou=
ter2# route delete -net 0.0.0.0 192.168.69.200<BR>delete net 0.0.0.0: gat=
eway 192.168.69.200<BR>router2# ssh 127.0.0.1<BR>Password:</DIV>
<DIV>router2# ftp 127.0.0.1<BR>Connected to 127.0.0.1.<BR>220 router2.mul=
ticast FTP server (Version 6.00LS) ready.<BR>Name (127.0.0.1:root):<BR><B=
R></DIV>
<DIV>### KERNEL OPTIONS</DIV>
<DIV>#MULTICAST<BR>options  =
; MROUTING</DIV>
<DIV>#DUMMYNET<BR>options =
DUMMYNET<BR>options IPFI=
REWALL<BR>options IPFIREW=
ALL_VERBOSE<BR>options IP=
FIREWALL_VERBOSE_LIMIT=3D5<BR>options =
IPFIREWALL_FORWARD<BR>options &=
nbsp; IPFW2<BR>options &nb=
sp; IPDIVERT<BR>options &n=
bsp; HZ=3D1000</DIV>
<DIV># Mais opcoes no Kernel segundo o HandBook 20050513 por Diogo Della<=
BR>options IPFIREWALL_DEFAULT_TO_ACCEPT<BR>options =
; IPV6FIREWALL<BR>options IPV6FIREWALL_VERB=
OSE<BR>options IPV6FIREWALL_VERBOSE_LIMIT<BR>options&nb=
sp; IPV6FIREWALL_DEFAULT_TO_ACCEPT</DIV>
<DIV># Suporta ao PIM<BR>options  =
; PIM<BR></DIV>
<DIV> </DIV>
<DIV>
<TABLE cellSpacing=3D0 cellPadding=3D4 width=3D"100%" bgColor=3D#f0f0f0 b=
order=3D0>
<TBODY>
<TR>
<TD width=3D70 bgColor=3D#bde9fd><FONT face=3D"Verdana,Arial,'Trebuchet M=
S'" size=3D2><B>De:</B></FONT></TD>
<TD><FONT face=3D"Verdana,Arial,'Trebuchet MS'" size=3D2>"Kristian Larsso=
n" kristian@juniks.net</FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>
<TABLE cellSpacing=3D0 cellPadding=3D4 width=3D"100%" bgColor=3D#f0f0f0 b=
order=3D0>
<TBODY>
<TR>
<TD width=3D70 bgColor=3D#bde9fd><FONT face=3D"Verdana,Arial,'Trebuchet M=
S'" size=3D2><B>Para:</B></FONT></TD>
<TD><FONT face=3D"Verdana,Arial,'Trebuchet MS'" size=3D2>"Diogo Della" ap=
010@terra.com.br</FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>
<TABLE cellSpacing=3D0 cellPadding=3D4 width=3D"100%" bgColor=3D#f0f0f0 b=
order=3D0>
<TBODY>
<TR>
<TD width=3D70 bgColor=3D#bde9fd><FONT face=3D"Verdana,Arial,'Trebuchet M=
S'" size=3D2><B>C=F3pia:</B></FONT></TD>
<TD><FONT face=3D"Verdana,Arial,'Trebuchet MS'" size=3D2>xorp-users@xorp.=
org</FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>
<TABLE cellSpacing=3D0 cellPadding=3D4 width=3D"100%" bgColor=3D#f0f0f0 b=
order=3D0>
<TBODY>
<TR>
<TD width=3D70 bgColor=3D#bde9fd><FONT face=3D"Verdana,Arial,'Trebuchet M=
S'" size=3D2><B>Data:</B></FONT></TD>
<TD><FONT face=3D"Verdana,Arial,'Trebuchet MS'" size=3D2>Mon, 6 Jun 2005 =
04:21:43 +0200</FONT></TD></TR></TBODY></TABLE></DIV>
<DIV>
<TABLE cellSpacing=3D0 cellPadding=3D4 width=3D"100%" bgColor=3D#f0f0f0 b=
order=3D0>
<TBODY>
<TR>
<TD width=3D70 bgColor=3D#bde9fd><FONT face=3D"Verdana,Arial,'Trebuchet M=
S'" size=3D2><B>Assunto:</B></FONT></TD>
<TD><FONT face=3D"Verdana,Arial,'Trebuchet MS'" size=3D2>Re: [Xorp-users]=
Sorry, the problem is not RIP, but the routing table</FONT></TD></TR></T=
BODY></TABLE></DIV>
<DIV>> First of all, try to keep everything in one thread. There are n=
ow</DIV>
<DIV>> numerous threads all coming from you on the same subject. And i=
t looks</DIV>
<DIV>> real messy in my mail reader ;)</DIV>
<DIV>> </DIV>
<DIV>> Anyway, you haven't by any chance changed something in /etc/hos=
ts, perhaps the</DIV>
<DIV>> ip of localhost?</DIV>
<DIV>> Is it just ssh or does everything, like ping and so on, stop wo=
rking as well?</DIV>
<DIV>> What if you try pinging or ssh to 127.0.0.1</DIV>
<DIV>> </DIV>
<DIV>> it looks correct from over here, and when doing this on my mach=
ine</DIV>
<DIV>> (also freebsd) I don't get the same errors.</DIV>
<DIV>> </DIV>
<DIV>> //Kristian Larsson</DIV>
<DIV>> </DIV>
<DIV>> On Sun, Jun 05, 2005 at 07:51:13PM -0300, Diogo Della wrote:</D=
IV>
<DIV>> > I made more tests.</DIV>
<DIV>> > </DIV>
<DIV>> > When I put routes at the route table of FreeBSD, it does n=
ot accept any more connection from localhost or from other host at the su=
bnet.</DIV>
<DIV>> > </DIV>
<DIV>> > Look what happens:</DIV>
<DIV>> > 1-</DIV>
<DIV>> > router2# ssh localhost</DIV>
<DIV>> > Password:</DIV>
<DIV>> > 2-</DIV>
<DIV>> > route add -net 192.168.67.0/24 172.16.3.1</DIV>
<DIV>> > route add -net 192.168.68.0/24 172.16.5.3</DIV>
<DIV>> > 3-</DIV>
<DIV>> > router2# netstat -nr | less</DIV>
<DIV>> > Routing tables</DIV>
<DIV>> > Internet:</DIV>
<DIV>> > Destination Gateway Flags Refs Use Netif Expire</DIV>
<DIV>> > 127.0.0.1 127.0.0.1 UH 0 97481 lo0</DIV>
<DIV>> > 172.16.3/24 link#2 UC 1 0 fxp0</DIV>
<DIV>> > 172.16.3.1 00:02:2a:d3:07:ab UHLW 2 999 fxp0 979</DIV>
<DIV>> > 172.16.5/24 link#3 UC 1 0 rl0</DIV>
<DIV>> > 172.16.5.3 link#3 UHLW 1 0 rl0</DIV>
<DIV>> > 192.168.67 172.16.3.1 UGSc 0 0 fxp0</DIV>
<DIV>> > 192.168.68 172.16.5.3 UGSc 0 0 rl0</DIV>
<DIV>> > 192.168.69 link#1 UC 1 0 sis0</DIV>
<DIV>> > 192.168.69.200 00:0c:6e:33:0c:ae UHLW 0 8 sis0 243</DIV>
<DIV>> > 4-</DIV>
<DIV>> > router2# ssh localhost</DIV>
<DIV>> > ^C</DIV>
<DIV>> > (It timeout and I have to kill with CTRL + C )</DIV>
<DIV>> > 5-</DIV>
<DIV>> > delete net 192.168.67.0: gateway 172.16.3.1</DIV>
<DIV>> > delete net 192.168.68.0: gateway 172.16.5.3</DIV>
<DIV>> > 6-</DIV>
<DIV>> > router2# ssh localhost</DIV>
<DIV>> > Password:</DIV>
<DIV>> > </DIV>
<DIV>> > Why does this happens? Is it because a securty level of Fr=
eeBSD, how a change this?</DIV>
<DIV>> > </DIV>
<DIV>> > Thanks</DIV>
<DIV>> > </DIV>
<DIV>> > Diogo Della</DIV>
<DIV>> </DIV>
--_=__=_XaM3_.1118014116.2A.608415.42.19091.52.42.007.697744838--