GNUGK-How to setup static gateway to gateway routing

Thread Tools Search this Thread
Operating Systems Linux GNUGK-How to setup static gateway to gateway routing
# 1  
Old 08-12-2010
GNUGK-How to setup static gateway to gateway routing

Dear Sir

I am a newbie in the world of IP telephony. I have been working with Asterisk PBX (SIP) and Cisco Call Manager (MGCP) but now I am learning on how to work GNUGK for H.323 Gatekeeper.

I am having a problem, configuring static call routing on GNUGK

in the section


Local-router1 = 0...,1...,01.........,1.......,0......,1......,2...,3...,4...,5...,6...,7...,8...

Local-router2 = 0...,1...,01.........,1.......,0......,1......,2...,3...,4...,5...,6...,7...,8....

You can see that the routers Local-router1 and 2 has the same dialling plan.

What happens is the gatekeeper send calls randomly to one router or to the other when one of the matching extension is dialled.

What I am trying to do is to force

any calls coming from Remote1 to go out only throught Local-router1

Remote1 =========================> Local-router1

and any calls from Remote2 to go out throught Local-router2

Remote2 =========================> Local-router2

please tell me if there is any way of doing that, I have tried many things here and I am out of ressources.

Thank you in advance for your help
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Inconsistency between RedHat 6.5 global gateway and single gateway leads to loss of default gateway

Dear friends I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY =, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies

2. Linux

Not able to setup CentOS 7 as gateway [Using squid proxy]

Hello, Did anyone setup a CentOS7 as a gateway (with squid transparent proxy). I am trying to do so but not able to setup. I setup squid , iptables (using it instead of firewalld) and all the necessary IPtables rules but nothing work. It work previously but access.log of squid not getting... (4 Replies)
Discussion started by: sunnysthakur
4 Replies

3. UNIX for Advanced & Expert Users

Issue setup Transparent proxy and Gateway using Squid on CentOS 7

Hello, We are migrating our gateways from CentOS 6 to CentOS 7 and for setting up a transparent proxy using squid and Firewalld i am using below configuration. #Firewalld configurations firewall-cmd --permanent --zone=public --add-forward-port=port=80:proto=tcp:toport=3128:toaddr=LAN_IP... (4 Replies)
Discussion started by: sunnysthakur
4 Replies

4. IP Networking

Routing problem : two interfaces one gateway

hi folks, i have a horstbox-router with the following configuration. it has 4 ethernet ports from wich one (wan0) is configured as an external modem via dhcp. at this port/interface(wan0) it is connected with my home network (other switch). this configuration results in the following... (14 Replies)
Discussion started by: gencaslan
14 Replies

5. AIX

IBM Server doesn't ping gateway unless you put a static route

Just want to know if someone has a clue about what could be happening here: I have an AIX box with four NICs in Ether channel connected to a Cisco Switch. When I try to ping the default gateway, sometimes it works, but sometimes it doesn't work unless it has a defined static route. Thanks... (1 Reply)
Discussion started by: witt
1 Replies

6. Solaris

Can't setup gateway other than

I have just installed Solaris 10 X86 today, but I can't use internet at all on it. When I was installing it, it only asked me to create a hostname, without even asking me this computer is "networked" or "non-networked". After I finished installation, I use "netstat -rn" command, and only see... (3 Replies)
Discussion started by: Diamondust
3 Replies

7. IP Networking

Static IP / Subnet mask and Gateway

Hi all, I installed Fedora 9 + squid at one of PC at work. Our company has windows 2003 servera acting as DHCP server. During installation, i set linux box up as Static IP ( But once installation completed, The pc is assigned a different IP address instead of (3 Replies)
Discussion started by: c00kie88
3 Replies

8. AIX


Dear folks, How can delete the gateway from smitty or by command, Because I have 2 gatway in the system and I tried to delete by smitty it gave me failed command (7 Replies)
Discussion started by: magasem
7 Replies

9. Red Hat


Hi, in which file and how shuold be decalred a gateway and its IP adresse ? Where and how add a gateway ? Many thanks before. (3 Replies)
Discussion started by: big123456
3 Replies

10. IP Networking


I used "route" to add the default gateway I wrote this: route add default 19x.x.x.x 0 but this is not permanent default gateway. Do I need to use another command? Thank a lot (2 Replies)
Discussion started by: lmena
2 Replies
Login or Register to Ask a Question
ROUTE(8)						      System Manager's Manual							  ROUTE(8)

route - manually manipulate the routing tables SYNOPSIS
/sbin/route [ -f ] [ -n ] [ command args ] DESCRIPTION
Route is a program used to manually manipulate the network routing tables. It normally is not needed, as the system routing table manage- ment daemon, routed(8), should tend to this task. Route accepts two commands: add, to add a route, and delete, to delete a route. All commands have the following syntax: /sbin/route command [ net | host ] destination gateway [ metric ] where destination is the destination host or network, gateway is the next-hop gateway to which packets should be addressed, and metric is a count indicating the number of hops to the destination. The metric is required for add commands; it must be zero if the destination is on a directly-attached network, and nonzero if the route utilizes one or more gateways. If adding a route with metric 0, the gateway given is the address of this host on the common network, indicating the interface to be used for transmission. Routes to a particular host are dis- tinguished from those to a network by interpreting the Internet address associated with destination. The optional keywords net and host force the destination to be interpreted as a network or a host, respectively. Otherwise, if the destination has a ``local address part'' of INADDR_ANY, or if the destination is the symbolic name of a network, then the route is assumed to be to a network; otherwise, it is pre- sumed to be a route to a host. If the route is to a destination connected via a gateway, the metric should be greater than 0. All sym- bolic names specified for a destination or gateway are looked up first as a host name using gethostbyname(3N). If this lookup fails, get- netbyname(3N) is then used to interpret the name as that of a network. Route uses a raw socket and the SIOCADDRT and SIOCDELRT ioctl's to do its work. As such, only the super-user may modify the routing tables. If the -f option is specified, route will ``flush'' the routing tables of all gateway entries. If this is used in conjunction with one of the commands described above, the tables are flushed prior to the command's application. The -n option prevents attempts to print host and network names symbolically when reporting actions. DIAGNOSTICS
``add [ host | network ] %s: gateway %s flags %x'' The specified route is being added to the tables. The values printed are from the routing table entry supplied in the ioctl call. If the gateway address used was not the primary address of the gateway (the first one returned by gethostbyname), the gateway address is printed numerically as well as symbolically. ``delete [ host | network ] %s: gateway %s flags %x'' As above, but when deleting an entry. ``%s %s done'' When the -f flag is specified, each routing table entry deleted is indicated with a message of this form. ``Network is unreachable'' An attempt to add a route failed because the gateway listed was not on a directly-connected network. The next-hop gateway must be given. ``not in table'' A delete operation was attempted for an entry which wasn't present in the tables. ``routing table overflow'' An add operation was attempted, but the system was low on resources and was unable to allocate memory to create the new entry. SEE ALSO
intro(4N), routed(8), XNSrouted(8) 4.2 Berkeley Distribution November 16, 1996 ROUTE(8)

Featured Tech Videos