Mitel Forums - The Unofficial Source

Mitel Forums => Mitel Software Applications => Topic started by: jclem on August 11, 2014, 10:14:13 AM

Title: Mitel MBG and Draytek 2925
Post by: jclem on August 11, 2014, 10:14:13 AM
Hello all,

Apologies as this is a cross post from another forum.  The company who installed our Mitel won't touch our Draytek router (as it is not Cisco) so need some advise. To add some more complications the MBG is a virtual server within VMWare.

So as I understand it the MBG needs one internal IP and one external IP. Within VMWare I have given the VM two NIC's, one connected to the normal network and one that connects to port 5 on the Draytek. Our standard subnet is 192.168.6.x and so I have given it a local IP address. I have a spare external WAN IP Alias which I can use but have no idea how to set it up on the Draytek so it will at least pass the MBG connection test. Many have suggested DMZ but I've just been told to investigate one to one NAT with a dedicated external IP?!

Many thanks,

James
Title: Re: Mitel MBG and Draytek 2925
Post by: pmhaynes on August 11, 2014, 05:04:16 PM
I have used drayteks a few times.
Not on this exact model.

If you look a the pic attached you can see the "2nd lan" is programmed. (mine is disabled at the mow but you should enable yours)

Put your public ip's and subnet in here

The ip will normally be the routers public static address that you already use.

When this is programmed you can then set a public ip directly on the Wan side of the MBG and connect it to any port on the draytek (no vlans)
Set the subnet the same and the gateway is the public ip of the draytek

If any of this not clear i can go into more detail

Hope this helps
Title: Re: Mitel MBG and Draytek 2925
Post by: jclem on August 11, 2014, 05:11:57 PM
Hi,

Thanks for the reply but I have a few questions. On your picture are you referring to the "For IP Routing Usage" box? And the information I put in there is the WAN IP alias that I have decided to use and the subnet from the WAN settings page? And then its that simple?!

James
Title: Re: Mitel MBG and Draytek 2925
Post by: pmhaynes on August 11, 2014, 05:17:00 PM
For ip routing. Correct
The ip is that of the router not the Mbg

I presume the dray trek has a public static address already. Put this one in 2nd routing.

If you have the public IP address that you want to assign to the Mbg in the alias list, take it out.
Yes it's that simple



Sent from my iPhone using Tapatalk
Title: Re: Mitel MBG and Draytek 2925
Post by: pmhaynes on August 11, 2014, 05:19:02 PM
No firewall rules needed or open ports. Under normal conditions.


Sent from my iPhone using Tapatalk
Title: Re: Mitel MBG and Draytek 2925
Post by: jclem on August 11, 2014, 05:24:17 PM
I have 8 WAN Ip alias' which range from X.X.X.129 - X.X.X.137. I was going to use X.X.X.134 for the MBG. So stick that in the IP box and then the WAN subnet in the box below. Then set that IP as the public one when you configure the MBG server. If any of that is wrong then please correct me, if not then thank you very much, your help has been much appreciated.

James
Title: Re: Mitel MBG and Draytek 2925
Post by: pmhaynes on August 11, 2014, 05:58:16 PM
No
The only place the Mbg public ip goes is on the Mbg prigramming

What is the public IP address of the router? 129?
If so put that in the draytek 2nd LAN

Good luck



Sent from my iPhone using Tapatalk
Title: Re: Mitel MBG and Draytek 2925
Post by: jclem on August 11, 2014, 06:28:14 PM
I think I'm in above my head a little. Made the changes on the Draytek, on the new 2925 that option has moved slightly but I'm fairly sure it is set right.

Now when I configure the MBG I set its internal IP and then external IP (X.X.X.135) the subnet (255.255.255.248) and the gateway IP address (X.X.X.130). It still fails the connection test?

James
Title: Re: Mitel MBG and Draytek 2925
Post by: pmhaynes on August 11, 2014, 06:32:15 PM
Subnet mask 24? Typo?  If u have 8 public address it won't be 24. Use "online subnet calculator.

Putty to Mbg Login as root. Same password as admin
Can u ping the Mbg public address. Can u ping the draytek public address?

If u never used putty goto
Www.phonesystemhelp.info


Sent from my iPhone using Tapatalk
Title: Re: Mitel MBG and Draytek 2925
Post by: jclem on August 11, 2014, 06:36:49 PM
Just to clarify slightly, the WAN connections gateway IP is X.X.X.129 and the WAN IP is X.X.X.130 with aliases from 130 to 137

In the IP Routing section I have used X.X.X.130

On the MBG setup I have tried both X.X.X.130 and X.X.X.129 but neither work.

James
Title: Re: Mitel MBG and Draytek 2925
Post by: jclem on August 11, 2014, 06:39:35 PM
I've just realised what you meant about the subnet. We recently increased from 4 public IP's to 8. I'll get that changed. And then i'll try putty. Thanks for all the help
Title: Re: Mitel MBG and Draytek 2925
Post by: pmhaynes on August 11, 2014, 06:43:25 PM
Mbg can't be 130 or 129. Try the next spare 131?
If route is 130 then in the Mbg set gateway as 130

Must have subnet correct
Something like 255.255.255.248


Sent from my iPhone using Tapatalk
Title: Re: Mitel MBG and Draytek 2925
Post by: jclem on August 11, 2014, 07:01:06 PM
Because I have 8 WAN aliases then I think the subnet needs to be 255.255.255.240. I've changed it to that on the router and its still working.

Title: Re: Mitel MBG and Draytek 2925
Post by: pmhaynes on August 11, 2014, 07:02:50 PM
Cool. Same subnet on Mbg. Can u ping router?  If so ping something like 8.8.8.8. Then chk DNS by ping a name


Sent from my iPhone using Tapatalk
Title: Re: Mitel MBG and Draytek 2925
Post by: jclem on August 11, 2014, 07:04:34 PM
Where do I ping from? I can't putty onto the MBG - it keeps saying connection refused?
Title: Re: Mitel MBG and Draytek 2925
Post by: pmhaynes on August 11, 2014, 07:05:49 PM
U need to allow it from the Mbg website. Under remote.
Chk how on www.phonesystemhelp.com


Sent from my iPhone using Tapatalk
Title: Re: Mitel MBG and Draytek 2925
Post by: jclem on August 11, 2014, 07:26:13 PM
I didn't know there was a web interface, much nicer!

SSH'd onto the MBG. I can ping the MGB WAN IP and the router WAN IP. I can also ping devices on the local network. I can't ping anything externally (8.8.8.8) etc etc.

Seems strange
Title: Re: Mitel MBG and Draytek 2925
Post by: pmhaynes on August 12, 2014, 02:00:31 AM
Can u send some screen captures of
Router setup
Mbg ip's
Mbg ping 8.8.8.8




Sent from my iPhone using Tapatalk
Title: Re: Mitel MBG and Draytek 2925
Post by: jclem on August 12, 2014, 03:50:03 AM
Of course, via PM or post them up on here? Or email?

James
Title: Re: Mitel MBG and Draytek 2925
Post by: pmhaynes on August 12, 2014, 09:42:59 AM
I prefer to keep it on the forum for other users to see...... but if you are worried about showing details then pm me is fine
Title: Re: Mitel MBG and Draytek 2925
Post by: jclem on August 12, 2014, 10:34:47 AM
Apologies for the delay, I've got screengrabs of everything asked for and made it into an Imgur album:

http://imgur.com/a/XddMV#MzHXyYO (http://imgur.com/a/XddMV#MzHXyYO)

If you need more then let me know and i'll see what I can do.

James
Title: Re: Mitel MBG and Draytek 2925
Post by: pmhaynes on August 12, 2014, 10:39:26 AM
Great. What's on .129?
Is this adsl FTtc?


Sent from my iPhone using Tapatalk
Title: Re: Mitel MBG and Draytek 2925
Post by: jclem on August 12, 2014, 11:16:13 AM
.129 is just the gateway ip for the WAN connection?

No we are on a leased line, so its ethernet in with a static IP
Title: Re: Mitel MBG and Draytek 2925
Post by: pmhaynes on August 12, 2014, 12:09:39 PM
looking at the pictures the draytek looks set up correct to me.
you might want to chnage the gateway to .129

OR

 by pass the draytek all together.

U must have a network cable going from the leased line to the draytek wan 2 port.
put a switch inbetween these two
then plug your mbg into this switch
set the default gateway to .129

so leased line to switch. mbg to switch and draytek to switch
Title: Re: Mitel MBG and Draytek 2925
Post by: jclem on August 12, 2014, 12:57:04 PM
Hmm, thats a good idea. I have a spare 5 port gigabit switch which would be suitable. I will try that solution tomorrow and let you know how it goes.

James
Title: Re: Mitel MBG and Draytek 2925
Post by: jclem on August 13, 2014, 06:28:40 AM
Just tried this and had no luck, getting really confused as to why it isn't. Anymore helpful advise?

James
Title: Re: Mitel MBG and Draytek 2925
Post by: pmhaynes on August 13, 2014, 08:14:33 AM
Re cap.
So we have Mbg plugged in to leased line switch. You can ping the default gateway .129 from the Mbg. Mbg is on .135.
U can't ping 8.8.8.8 from the Mbg

Correct?


Sent from my iPhone using Tapatalk