Re: Strange behaviour of GNU GK on LRQ/LCF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew,

thanks, but it doesn't help. 

On machine where GK2 is running (172.24.48.6) I've added the route to
network 192.168.66.0/24 where GK1 (192.168.66.22) resides. Now it points to
correct interface - eth0.103.

mmsvc@coll2:~> /sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
172.24.48.0     0.0.0.0         255.255.255.0   U     0      0        0
eth0.103
192.168.66.0    172.24.48.1     255.255.255.0   UG    0      0        0
eth0.103
10.48.0.0       0.0.0.0         255.255.255.0   U     0      0        0
eth0.100
172.25.48.0     172.24.48.1     255.255.255.0   UG    0      0        0
eth0.103
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0
eth0.103
0.0.0.0         10.48.0.2       0.0.0.0         UG    0      0        0
eth0.100

All interfaces of GK2 machine:

mmsvc@coll2:~> /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1C:C4:3A:86:EC
          inet6 addr: fe80::21c:c4ff:fe3a:86ec/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5156972 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4350484 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3148661829 (2.9 GiB)  TX bytes:2202533156 (2.0 GiB)
          Interrupt:169

eth0.100  Link encap:Ethernet  HWaddr 00:1C:C4:3A:86:EC
          inet addr:10.48.0.6  Bcast:10.48.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21c:c4ff:fe3a:86ec/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3364899 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3335927 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2741104635 (2.5 GiB)  TX bytes:2018085178 (1.8 GiB)

eth0.103  Link encap:Ethernet  HWaddr 00:1C:C4:3A:86:EC
          inet addr:172.24.48.6  Bcast:172.24.48.255  Mask:255.255.255.0
          inet6 addr: fe80::21c:c4ff:fe3a:86ec/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1792051 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1014559 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:294103104 (280.4 MiB)  TX bytes:145347927 (138.6 MiB)

eth1      Link encap:Ethernet  HWaddr 00:1C:C4:3A:86:ED
          inet6 addr: fe80::21c:c4ff:fe3a:86ed/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:72714 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4689200 (4.4 MiB)  TX bytes:222 (222.0 b)
          Interrupt:193

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:48140 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48140 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8662936 (8.2 MiB)  TX bytes:8662936 (8.2 MiB)

I've set in gk.ini everything concerning interfaces and IP addresses:

[Gatekeeper::Main]
...
NetworkInterfaces=172.24.48.6/255.255.255.0
Home=172.24.48.6
ExternalIP=172.24.48.6
...

RESTARTed GK2:

2008/07/01 07:39:37.477 2             RasSrv.cxx(823)   GK      Home =
172.24.48.6
2008/07/01 07:39:37.477 1             RasSrv.cxx(531)   Listening to
172.24.48.6:1719(U)
2008/07/01 07:39:37.482 1             RasSrv.cxx(531)   Listening to
172.24.48.6:1718(Mcast)
2008/07/01 07:39:37.482 1             RasSrv.cxx(531)   Listening to
172.24.48.6:1720
2008/07/01 07:39:37.482 1             RasSrv.cxx(531)   Listening to
172.24.48.6:7000

Netstat of machine with GK2 shows the following:

mmsvc@coll2:~> netstat -atnp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address
State       PID/Program name
tcp        0      0 0.0.0.0:199                 0.0.0.0:*
LISTEN      -
tcp        0      0 0.0.0.0:9000                0.0.0.0:*
LISTEN      -
tcp        0      0 0.0.0.0:3306                0.0.0.0:*
LISTEN      -
tcp        0      0 0.0.0.0:21                  0.0.0.0:*
LISTEN      -
tcp        0      0 0.0.0.0:22                  0.0.0.0:*
LISTEN      -
tcp        0      0 172.24.48.6:7000            0.0.0.0:*
LISTEN      2556/gnugk
tcp        0      0 172.24.48.6:1720            0.0.0.0:*
LISTEN      2556/gnugk
tcp        0      0 127.0.0.1:25                0.0.0.0:*
LISTEN      -
tcp        0   1220 172.24.48.6:22              192.168.66.126:1064
ESTABLISHED -
tcp        0      0 10.48.0.6:22                192.168.48.3:56981
ESTABLISHED -
tcp        0      0 :::2222                     :::*
LISTEN      -
tcp        0      0 :::80                       :::*
LISTEN      -
tcp        0      0 :::443                      :::*
LISTEN      -

mmsvc@coll2:~> netstat -aunp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address
State       PID/Program name
udp        0      0 0.0.0.0:9990                0.0.0.0:*
-
udp        0      0 0.0.0.0:1812                0.0.0.0:*
-
udp        0      0 0.0.0.0:1813                0.0.0.0:*
-
udp        0      0 0.0.0.0:35485               0.0.0.0:*
2556/gnugk
udp        0      0 0.0.0.0:161                 0.0.0.0:*
-
udp        0      0 172.24.48.6:1718            0.0.0.0:*
2556/gnugk
udp        0      0 172.24.48.6:1719            0.0.0.0:*
2556/gnugk
udp        0      0 172.24.48.6:123             0.0.0.0:*
-
udp        0      0 10.48.0.6:123               0.0.0.0:*
-
udp        0      0 127.0.0.1:123               0.0.0.0:*
-
udp        0      0 0.0.0.0:123                 0.0.0.0:*
-
udp        0      0 :::123                      :::*
-

But GK2 continues to send LCF to GK1 with rasAddress and callSignalAddress -
10.48.0.6.

Please suggest what should I do next...

> -----Original Message-----
> From: openh323gk-users-bounces@xxxxxxxxxxxxxxxxxxxxx 
> [mailto:openh323gk-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On 
> Behalf Of Andrew Struiksma
> Sent: Monday, June 30, 2008 10:03 PM
> To: GNU Gatekeeper Users
> Subject: Re:  Strange behaviour of GNU GK on LRQ/LCF
> 
> Adding
> 
> ExternalIP=172.24.48.6
> 
> to your gk.ini may resolve the issue. Also, take a look at 
> your routing.
> I had similar issues when I configured my default gateway incorrectly.
> 
> Andrew 
>  
> 
> > -----Original Message-----
> > From: openh323gk-users-bounces@xxxxxxxxxxxxxxxxxxxxx 
> > [mailto:openh323gk-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On 
> > Behalf Of Denis Kochmashev "Enforta"
> > Sent: Monday, June 30, 2008 1:43 AM
> > To: 'GNU Gatekeeper Users'
> > Subject:  Strange behaviour of GNU GK on LRQ/LCF
> > 
> > Hello!
> > 
> > I have two GNU GK instances running in routed mode. When one GNU GK
> > (192.168.66.22) sends LRQ to his neighbor (172.24.48.6) it 
> > receives LCF with wrong callSignalAddress. 
> > 
> > 192.168.66.22 -> 172.24.48.6 (LRQ)
> > 172.24.48.6 -> 192.168.66.22 (LCF callSignalAddress=10.48.0.6)
> > 
> > Neighbor has two virtual network interfaces (eth0.100=10.48.0.6 and
> > eth0.103=172.24.48.6) but listens for H.225.0 only on 
> > eth0.103=172.24.48.6.
> > In gk.ini I've set Home to 172.24.48.6.
> > 
> > [root@xxxxxxxxx ~]# grep -P "^Home=" /usr/local/mmsvc/etc/gk.ini
> > Home=172.24.48.6
> > 
> > [root@xxxxxxxxx ~]# netstat -atnp | grep :1720
> > tcp        0      0 172.24.48.6:1720            0.0.0.0:*
> > LISTEN      29864/gnugk
> > tcp        0      0 172.24.48.6:17554           172.24.48.80:1720
> > TIME_WAIT   -
> > tcp        0      0 172.24.48.6:1720            172.24.48.3:31313
> > TIME_WAIT   -
> > tcp        0      0 172.24.48.6:1720            172.24.48.3:17562
> > TIME_WAIT   -
> > tcp        0      0 172.24.48.6:1720            172.24.48.63:14549
> > ESTABLISHED 29864/gnugk
> > tcp        0      0 172.24.48.6:17550           172.24.48.3:1720
> > ESTABLISHED 29864/gnugk
> > 
> > [root@xxxxxxxxx ~]# netstat -aunp | grep :1719
> > udp        0      0 172.24.48.6:1719            0.0.0.0:*
> > 29864/gnugk
> > 
> > Why this situation happens?
> > 
> > 
> > --------------------------------------------------------------
> > -----------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for just about 
> > anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________________
> > 
> > Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> > Archive: 
> > http://sourceforge.net/mailarchive/forum.php?forum_name=openh3
> > 23gk-users
> > Unsubscribe: 
> > http://lists.sourceforge.net/lists/listinfo/openh323gk-users
> > Homepage: http://www.gnugk.org/
> > 
> 
> --------------------------------------------------------------
> -----------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________________
> 
> Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> Archive: 
> http://sourceforge.net/mailarchive/forum.php?forum_name=openh3
> 23gk-users
> Unsubscribe: 
> http://lists.sourceforge.net/lists/listinfo/openh323gk-users
> Homepage: http://www.gnugk.org/


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________________

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/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux