0% found this document useful (0 votes)
115 views15 pages

Enabling NAT and Routing in DGW

Enabling NAT and Routing in Dgw

Uploaded by

Roberd Lee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
115 views15 pages

Enabling NAT and Routing in DGW

Enabling NAT and Routing in Dgw

Uploaded by

Roberd Lee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Enabling NAT and Routing in Dgw

For All Mediatrix Units

DGW 46.2.2239
2020-09-16
Table of Contents

Information to Know Before Starting 3

Enabling NAT and Routing in DGW 5

Logging on to the Mediatrix Unit Web Interface 5


Starting the Routing Services 6
Configuring the Uplink Network Interface 6
Configuring the Lan1 Network Interface 7
Configuring the DHCP Server 8
Configuring the Network Firewall 9
Configuring the IP Routing 10
Configuring the NAT Service 11
Setting Port Forwarding 11

Copyright Notice 13

Available Documentation 14
Enabling NAT and Routing in Dgw 3

Information to Know Before Starting


Before starting to use these configuration notes, complete the following table to make sure
you have the required information to complete the different steps.

IMPORTANT: If you are not familiar with the meaning of the fields and buttons, click Show Help,
located at the upper right corner of the Web page. When activated, the fields and buttons that offer
online help will change to green and if you hover over them, the description will be displayed.

IMPORTANT: The Mediatrix unit must be reinitialised to its factory default settings to make sure
the configuration can be successfully executed.

media5corp.com
Enabling NAT and Routing in Dgw 4

Information Value Used in Step


IP address used by your Use this value: 192.168.0.10 Logging on to the Mediatrix Unit Web
Mediatrix unit to communicate Interface (p.5)
with the Management
Interface.
• If your computer is
connected to the Ethernet
port meant to be connected
to the Local Area Network
(LAN), i.e. Eth2 on most
devices

• If your Mediatrix unit is Logging on to the Mediatrix Unit Web


Interface (p.5)
configured to use a DHCP
server, use the DHCP server-
provided IP address.

LAN IP address as defined in Configuring the Lan1 Network


your network address range Interface (p.7)

Name of your LAN interface Configuring the NAT Service (p.11)

Name of your WAN interface Configuring the NAT Service (p.11)

By default, the IP Routing Starting the Routing Services


Service is started in DGW. (p.6)
Make sure IPv4 Forwarding is
enabled (Network/IP Routing).
Please start any service that
you need from the list below:
• DHCP Server
• IP Routing
• Network Address Translation
• Network Firewall
• Network Traffic Control

media5corp.com
Enabling NAT and Routing in Dgw 5

Enabling NAT and Routing in DGW

The routing-related services allow the Mediatrix unit to basically act as a router, a DHCP server, and
a firewall. This means that you can now connect a PC, a switch, or any other Ethernet device in the
LAN port of the Mediatrix unit and have access to services available on the WAN. In the following
example, the Mediatrix unit is acting as a router and a DHCP server for end-users on the network.

Logging on to the Mediatrix Unit Web Interface


Before you start
The computer IP address must be in the same TCP/IP network as the Mediatrix unit.
Information
For better performances, it is recommended to use the latest available version of Microsoft Internet
Explorer, Google Chrome, or Mozilla Firefox.

Note: You may not be able to log on to the Mediatrix unit Web interface if you are using older
browser versions.

Steps
1) In your Web browser, enter the IP address at which the Web interface of your Mediatrix
unit can be reached.
• If your network has an IPv4 DHCP server, connect the primary Ethernet port of the Mediatrix
unit to the network (ETH1 port), use the provided DHCP server IP address.
• You can also connect your computer to the secondary Ethernet port of the Mediatrix unit
(ETH2), use the 192.168.0.10 IP address. However, the computer must also own an IP address in
the 192.168.0.0/24 network.

media5corp.com
Enabling NAT and Routing in Dgw 6

2) Enter admin as your username and administrator as the password.

Note: You can also use public as a username and leave the password field empty; it has the full
administration rights by default.

3) Click Login.
Result
The Information page of the Web interface is displayed.
Related tasks
Starting a Service

Starting the Routing Services


Information
By default, routing is turned off and the five services related to routing are not started.
Steps
1) Go to System/Services.
2) From the Startup Type selection list located next to the following services, choose to start
automatically when the system starts.
a) DHCP Server
b) IP Routing
c) Network Address Translation
d) Network Firewall
e) Network Traffic Control
3) In the User Service table, click .
Result
The status for each service will be Started.

Configuring the Uplink Network Interface


Steps
1) Go to Network/Interfaces.
2) In the Network Interface Configuration table, from the Link selection list located next
to Uplink, leave the default value.
3) From the Type selection list, select the Connection type of your Uplink interface that best
matches your network setup.
4) From the Activation selection list, select Enable.
5) Click Apply to apply all changes to the configuration.

media5corp.com
Enabling NAT and Routing in Dgw 7

Result

Next Step
Configuring the Lan1 Network Interface (p.7)

Link Default Values for the Uplink Network Interface

Unit Type Link Default Value


Sentinel 400 eth1
Sentinel 100 eth1
Mediatrix G7 eth1
Mediatrix S7 eth1
Mediatrix C7 series eth1
Mediatrix 4104 eth1/eth
Mediatrix 4108/16/24 eth1
Mediatrix 4102S Wan
Mediatrix 4400 series eth1
Mediatrix LP series eth1
Mediatrix 4108 IPPBX eth1

Configuring the Lan1 Network Interface


Steps
1) Go to Network/Interfaces.
2) From the Link list located next to Lan1, leave the default value.
3) In the Static IP Address field, enter the LAN static IP address as defined in your network
address range.
4) Click Apply to apply all changes to the configuration.

Note: A Warning message is displayed, but this is normal.

media5corp.com
Enabling NAT and Routing in Dgw 8

5) Click Apply.

Note: Once the changes are applied, the connection with the unit might be lost. You may need to
reconnect to the web page using the new address.

Result
The Lan1 Network Interface will be available in all the lists of the Management Interface where a
Network Interface needs to be selected. For example, in the Local Firewall, and Configuration pages.

Next Step
Configuring the DHCP Server (p.8)

Link Default Values for the Lan1 Network Interface

Unit Type Link Default Value


Sentinel 400 eth2-5
Sentinel 100 eth2-5
Mediatrix G7 series eth2-5
Mediatrix S7 series eth2-5
Mediatrix C7 series eth2
Mediatrix 4104 eth2
Mediatrix 4108/16/24 eth2
Mediatrix 4102 lan
Mediatrix 4400 series eth2
Mediatrix LP series eth2
Mediatrix 4108 IPPBX eth2

Configuring the DHCP Server


Steps
1) Go to Network/DHCP Server.
2) In the Select Subnet drop down menu, select Lan1.

media5corp.com
Enabling NAT and Routing in Dgw 9

3) In the DHCP Server Configuration table, set the following:


a) Set DHCP Server Enable to Enable.
b) Set your desired IP range using Start IP Address and End IP Address.
c) Set Automatic Configuration Interface to either Lan1 or Uplink.

Note: It will be the network interface that will provide automatic configuration for other options
(DNS servers, Default Gateway, NTP servers, etc).

Note: If set to Uplink, the NTP/DNS and other parameters will be the ones from the Uplink
interface. If set to Lan1, you will have the option to configure them manually.

4) More options are available in the DHCP Server Configuration.


5) Click Apply.
Result

Next Step
Configuring the Network Firewall (p.9)

Configuring the Network Firewall


Steps
1) Go to Network/Network Firewall.
2) In the Network Firewall Configuration table, set the Default Policy to Accept.

Note: Setting the Default Policy to "Accept" means that all forwarded traffic is accepted. for more
details on network firewalls, refer to the DGW Configuration Guide - Configuring the Network Firewall
published on the Media5 documentation portal at https://documentation.media5corp.com/.

3) Click Save & Apply.

media5corp.com
Enabling NAT and Routing in Dgw 10

Result

Next Step
Configuring the IP Routing (p.10)

Configuring the IP Routing


Information
This step essentially turns the Mediatrix unit into a pure router, forwarding specified addresses to
desired interfaces. Therefore if you are looking to configure your unit for DHCP and NAT, you can
skip this step.

Steps
1) Go to Network/IP Routing.
2) In the IP Routing configuration table, set IPv4 Forwarding to Enable.
3) In the Advanced IP Routes table, click on .
4) Set the following parameters:
a) Set Priority Activation to Enable.
b) Leave Source Address field blank.
c) Set Source Link to your Lan Network Interface.
d) Set Forward To Network to Uplink.
5) Click Save & Apply.

media5corp.com
Enabling NAT and Routing in Dgw 11

Result

Next Step
Configuring the NAT Service (p.11)

Configuring the NAT Service


Before you start
You need to know the name of the desired LAN and WAN interfaces you want to configure.
Steps
1) Go to Network/NAT.
2) In the Source Network Address Translation Rules table, click .
3) Set the following parameters:
a) Set Activation to Enable.
b) In the Source Address field, type the name of your LAN interface followed with the
character "/".
c) In the New Address field, type the name of your WAN interface.
4) Click Save & Apply.
Result

Next Step
Setting Port Forwarding (p.11)

Setting Port Forwarding


Steps
1) Go to Network/NAT.
2) In the Destination Network Address Translation Rules table, click .

media5corp.com
Enabling NAT and Routing in Dgw 12

3) Set the following parameters:


a) Set Activation to Enable.
b) Leave Source Address field blank.
c) Set Destination Address to Uplink.
d) Set the Protocol to reflect your desired configuration.
e) Set the Destination Port to the desired port you want to forward to.
f) Set the New Address to the desired location.
4) Click Save & Apply.
5) Repeat the steps 2 to 4 for additional routes.
Result

media5corp.com
Enabling NAT and Routing in Dgw 13

Copyright Notice
Copyright © 2020 Media5 Corporation.

This document contains information that is proprietary to Media5 Corporation.


Media5 Corporation reserves all rights to this document as well as to the Intellectual Property of
the document and the technology and know-how that it includes and represents.
This publication cannot be reproduced, neither in whole nor in part, in any form whatsoever, without
written prior approval by Media5 Corporation.
Media5 Corporation reserves the right to revise this publication and make changes at any time and
without the obligation to notify any person and/or entity of such revisions and/or changes.

media5corp.com
Enabling NAT and Routing in Dgw 14

Available Documentation

For more details, refer to the Mediatrix Documentation published on the Media5 documentation
portal https://documentation.media5corp.com/

media5corp.com

You might also like