Hi,
I found the reason it is because of netowork configuration of my linux-PC, after I updated it now I can start multihomed GnuGK with "GKRouted=1", with the following parameters:
[Gatekeeper::Main]
Home=10.4.35.219,66.207.141.7
...
[RoutedMode]
GKRouted=1
H245Routed=1
...
[Proxy]
Enable=1
ProxyAlways=1
ProxyForNAT=0
ProxyForSameNAT=0
Regards,
Bo Xu
Hi, in the testing I found: if I put "GKRouted=1" in gatepeeker.ini, then I cannot start multiplehomed GnuGK(with "Home=66.207.141.7,10.4.35.219") if I remove "GKRouted=1" from gatepeeker.ini, then I can start multiplehomed GnuGK(with "Home=66.207.141.7,10.4.35.219") but if I remove "GKRouted=1" from gatepeeker.ini, because now the Q.931 is not routed, so when EP-1 in IPSegment-1 calls EP-2 in IPSegment-2, I found the following: EP-1 send RAS-ARQ to GnuGK GnuGK sent RAS-ACF back and indicate to use "direct" as "callModel", and sent the IP:port of EP-2 to EP-1 then EP-1 calls EP-2 directly and the call is not routed at all(Q.931/H.245/Media are not routed from wireshark) I can do full-routed proxied-call on 1-NIC PC with the same gatekeeper.ini, but I cannot do full-proxied call on multihomed GnuGK because I removed " GKRouted=1" from gatekeeper.ini now, so could you tell me how to do full-routed proxied-call if I set GnuGK as multihomed? Thanks! Regards, Bo Xu Hi, just want to let you know that I found if I comment "GKRouted=1" in "[RoutedMode]", then I can start multihomed GnuGK as the following: ... Home=66.207.141.7,10.4.35.219 ... the following is my gatekeeper.ini: [Gatekeeper::Main] Name=gnuGKlinux Home=66.207.141.7,10.4.35.219 MulticastPort=1718 UnicastRasPort=1719 EndpointSignalPort=1720 [GkStatus::Auth] rule=allow [RoutedMode] ;GKRouted=1 H245Routed=1 CallSignalPort=1721 AcceptUnregisteredCalls=1 supportNATedEndpoints=1 AlwaysRewriteSourceCallSignalAddress=0 EnableH46018=1 H46018NoNat=1 CallSignalHandlerNumber=1 RtpHandlerNumber=1 Q931PortRange=20000-29999 H245PortRange=30000-39999 [Proxy] Enable=1 ProxyAlways=1 ProxyForNAT=0 ProxyForSameNAT=0 T120PortRange=40000-49999 RTPPortRange=10000-59999 RTPMultiplexPort=3000 RTCPMultiplexPort=3001 Regards, Bo Xu Thanks for all your help! yes now I am trying to start only one GnuGK instance and config it as multihomed instead of starting multiple instances. I have a question about how to set the "Home=" parameter in gatekeeper.ini: my GnuGK is from CVS and built in centOS6.4, I have tried the following 4 syntax: Home=10.4.35.219,66.207.141.7 Home=0.0.0.0 Home= or without "Home=" parameter but I always got the following error when I start GnuGK: Assertion fail: Function pthread_mutex_destroy failed, file ptlib/unix/tlibthrd.cxx, line 1693, Error=2 if I just set one of my two IPs(like Home=10.4.35.219) then GnuGK works fine, so could you tell me how to set the "Home=" parameter to start multihomed GnuGK? Thanks! Regards, Bo Xu Hi, Sébastien is right, routing between multiple IPs on the same machine is GnuGk's default mode of operation. Just a quick note on the Bind= switch: Use it as a last resort. GnuGk will auto-detect the IPs on the server, so in many cases you don't even need a Home= switch. If you want to restrict the IPs GnuGk is using, set a Home=. But always try to get it working without a Bind= switch first. I've seen Bind= break more configs that it fixed. Regards, Jan -- Jan Willamowius, Founder of the GNU Gatekeeper Project EMail : jan@... Website: http://www.gnugk.org Support: http://www.willamowius.com/gnugk-support.html Relaxed Communications GmbH Frahmredder 91 22393 Hamburg Geschäftsführer: Jan Willamowius HRB 125261 (Amtsgericht Hamburg) USt-IdNr: DE286003584 Sébastien Bonnaire wrote: > Hi Bo Xu, > > Maybe i'm wrong, but to my opinion, you do not need to start two separated > GnuGK, but simply one "multihomed" instance. > > This is my own setup to enable it : > [Gatekeeper::Main] > Fortytwo=42 > Name=GnuGk > Home=1.2.3.4,192.168.0.254,10.1.3.4 > Bind=1.2.3.4 > [...] > > > # the specify the behaviour of proxy : > [Proxy] > Enable=1 > InternalNetwork=192.168.0.0/24 > > [ModeSelection] > 192.160.0.0/24=PROXY,ROUTED > > > Best Regards, > > Sebastien > > 2015-02-10 18:38 GMT+01:00 Bo Xu <boxuscience@...>: > > > Hi, > > > > I installed two NICs in one linux-PC and started two GnuGKs on each of > > NICs. each NIC belongs to different IP-segment and is connected to > > different switch, and there is firewall between these two IP-segment so > > they cannot ping each other, and they cannot do H.323-call to each other. > > > > I want to use the above two GnuGKs to route full-proxied call from one > > IP-segment to another, for example: > > EP-1 is in IPSegment-1, and registers to GnuGK-1 > > EP-2 is in IPSegment-2, and registers to GnuGK-2 > > when EP-1 calls EP-2, I want to make both signal/media stream from EP-1 go > > to GnuGK-1 first, then go to GnuGK-2, then go to EP-2 > > > > could you tell me how to set the configuration.ini of GnuGK-1 and GnuGK-2 > > to do this? Thanks! > > > > Regards, > > Bo Xu
------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/