yes, of course,but i can not connect to hub now
the next following opennhrp.config content is for spoke
-------------------------------------------------------------------------------------------------------------------
interface gre1
map 10.100.0.3/24 10.67.6.74 register cisco
multicast nhs
cisco-authentication ccy1
# shortcut
# redirect
non-caching
# holding-time 60
-------------------------------------------------------------------------------------------------------------------
and i commented the three lines in opennhrp-script make sure opennhrp won't
create a ipsec tunnel
they are :
peer-up)
# racoonctl establish-sa -w isakmp inet $NHRP_SRCNBMA $NHRP_DESTNBMA
|| exit 1
echo "---------------------------open----------------------"
# racoonctl establish-sa -w esp inet $NHRP_SRCNBMA $NHRP_DESTNBMA gre
|| exit 1
and
peer-down)
# racoonctl delete-sa isakmp inet $NHRP_SRCNBMA $NHRP_DESTNBMA
the output of the command opennhrp -v is
opennhrp[7707]: [10.100.0.3] Peer up script: success
opennhrp[7707]: NL-ARP(gre1) 10.100.0.3 is-at 10.67.6.74
opennhrp[7707]: Sending Registration Request to 10.100.0.3 (my mtu=0)
opennhrp[7707]: Sending packet 3, from: 10.100.0.1 (nbma 10.67.6.216), to:
10.100.0.3 (nbma 10.67.6.74)
opennhrp[7707]: Sending packet 3, from: 10.100.0.1 (nbma 10.67.6.216), to:
10.100.0.3 (nbma 10.67.6.74)
opennhrp[7707]: Sending packet 3, from: 10.100.0.1 (nbma 10.67.6.216), to:
10.100.0.3 (nbma 10.67.6.74)
opennhrp[7707]: Sending packet 3, from: 10.100.0.1 (nbma 10.67.6.216), to:
10.100.0.3 (nbma 10.67.6.74)
opennhrp[7707]: Sending packet 3, from: 10.100.0.1 (nbma 10.67.6.216), to:
10.100.0.3 (nbma 10.67.6.74)
opennhrp[7707]: Sending packet 3, from: 10.100.0.1 (nbma 10.67.6.216), to:
10.100.0.3 (nbma 10.67.6.74)
opennhrp[7707]: Failed to register to 10.100.0.3: timeout (65535)
-------------------------------------------------------------------------------------------------------------------
looks like my cisco router c3640 which i named R2 ,didn't reply a register
package back
but my another cisco router c3640 ,which i named R1, connected without any
error prompt.
#################################################################333
and there is another question
here is the output of opennhrp running as a hub, the question is why
opennhrp would think of the NHRP_DESTNBMA is 8.0.69.192, and
/etc/opennhrp/opennhrp-script shows it was trying to establish isakmp SA
with 8.0.69.192.
openn
-------------------------------------------------------------------------------------------------------------------------------------
opennhrp[21085]: Received Registration Request from proto src 10.100.0.3 to
10.100.0.1
opennhrp[21085]: Sending Registration Reply from proto src 10.100.0.1 to
10.100.0.3 (1 bindings accepted, 0 rejected)
RTNETLINK answers: File exists
ip route add 8.0.69.192 from 10.67.6.216 via 10.67.6.254 dev eth0 proto 42
mtu 1514
----------------22222222222222-----------
NHRP_DESTNBMA=8.0.69.192,NHRP_SRCNBMA=10.67.6.216
NHRP_DESTMTU=1514
NHRP_SRCADDR=10.100.0.1,NHRP_DESTADDR=10.100.0.3
peer-up
Create link from 10.100.0.1 (10.67.6.216) to 10.100.0.3 (8.0.69.192)
33333333333333333333333333333333
-------------------------------------------------------------------------------------------------------------------------------------
the following is the content of my opennhrp.conf
-------------------------------------------------------------------------------------------------------------------
interface gre1
cisco-authentication ccy1
multicast dynamic
# redirect
non-caching
shortcut
-------------------------------------------------------------------------------------------------------------------
thank you very much for your help
Timo Teras <timo.te...@iki.fi> 於 2014年6月19日星期四寫道:
> On Wed, 18 Jun 2014 23:10:36 +0800
> Michael Leung <gbcbook...@gmail.com> wrote:
>
> > i received Bad Checksum after opennhrp create a link successfully and
> > lost the connection without any notification in less than 1 min.
> >
> > i run wireshark to capture packages, the last package what i get is
> > NHRP Error indication in RFC 2332.
>
> Can you provide packet captures?
>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
opennhrp-devel mailing list
opennhrp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opennhrp-devel