Evert Meulie
2004-Sep-09 06:16 UTC
[Asterisk-Users] weird routing(?) problem with 2 Asterisk servers
Hi everyone! situation: Asterisk-server A: 192.168.11.6 Asterisk-server B: 192.168.2.44 server B contains a register => username:password@192.168.11.6 But... when I boot it, I get: Registered to '192.168.11.6', who sees us as 10.138.3.2:4569 Why doesn't server A see server B as 192.168.2.44?? All other traffic going over these lines has no problems with this. The 192.168.2.x & 192.168.11.x networks are fully 'connected' to each other... Who knows the answer...? Regards, Evert Meulie
Dinesh Nair
2004-Sep-09 07:38 UTC
[Asterisk-Users] weird routing(?) problem with 2 Asterisk servers
On 09/09/2004 21:16 Evert Meulie said the following:> But... when I boot it, I get: > Registered to '192.168.11.6', who sees us as 10.138.3.2:4569 > Why doesn't server A see server B as 192.168.2.44??there's most likely a box between A and B which is doing NAT, and it's most likely 10.138.3.2. however, since you're using IAX, it shouldn't really matter as IAX works fine over NAT. -- Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+
Deon Rodden
2004-Sep-09 08:28 UTC
[Asterisk-Users] weird routing(?) problem with 2 Asterisk servers
Do you know where it got the 10.138.3.2 IP from? Is it configured anywhere on the server? Do you have externip defined in that config file? Evert Meulie wrote:> Hi everyone! > > situation: > > Asterisk-server A: 192.168.11.6 > Asterisk-server B: 192.168.2.44 > > server B contains a register => username:password@192.168.11.6 > > > But... when I boot it, I get: > Registered to '192.168.11.6', who sees us as 10.138.3.2:4569 > > > Why doesn't server A see server B as 192.168.2.44?? > > > All other traffic going over these lines has no problems with this. > The 192.168.2.x & 192.168.11.x networks are fully 'connected' to each > other... > > > Who knows the answer...? > > > > Regards, > Evert Meulie > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > . >
Evert Meulie
2004-Sep-09 23:47 UTC
[Asterisk-Users] weird routing(?) problem with 2 Asterisk servers
traceroute A -> B: traceroute to 192.168.2.44 (192.168.2.44), 30 hops max, 38 byte packets 1 192.168.11.1 (192.168.11.1) 1.964 ms 1.181 ms 0.852 ms 2 10.138.3.2 (10.138.3.2) 43.428 ms 49.634 ms 47.601 ms 3 192.168.2.44 (192.168.2.44) 53.440 ms 49.320 ms 48.968 ms traceroute B -> A: traceroute to 192.168.11.6 (192.168.11.6), 30 hops max, 40 byte packets 1 192.168.2.1 (192.168.2.1) 1.873 ms 1.861 ms 2.106 ms 2 10.138.3.3 (10.138.3.3) 45.356 ms 44.139 ms 44.884 ms 3 192.168.11.6 (192.168.11.6) 43.390 ms 43.736 ms 45.823 ms 10.138.3.2-10.138.3.3 is the PPTP connection between both systems. Should bindaddr (iax.conf) or externip (sip.conf) be defined for a setup like this one? Regards, Evert> Do you know where it got the 10.138.3.2 IP from? Is it configured > anywhere on the server? Do you have > externip defined in that config file? > > Evert Meulie wrote: > >> Hi everyone! >> >> situation: >> >> Asterisk-server A: 192.168.11.6 >> Asterisk-server B: 192.168.2.44 >> >> server B contains a register => username:password@192.168.11.6 >> >> >> But... when I boot it, I get: >> Registered to '192.168.11.6', who sees us as 10.138.3.2:4569 >> >> >> Why doesn't server A see server B as 192.168.2.44?? >> >> >> All other traffic going over these lines has no problems with this. >> The 192.168.2.x & 192.168.11.x networks are fully 'connected' to each >> other... >> >> >> Who knows the answer...? >> >> >> >> Regards, >> Evert Meulie >> >> _______________________________________________ >> Asterisk-Users mailing list >> Asterisk-Users@lists.digium.com >> http://lists.digium.com/mailman/listinfo/asterisk-users >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> >> . >> >