![TELES ECOTEL Manual Download Page 42](http://html1.mh-extra.com/html/teles/ecotel/ecotel_manual_1082146042.webp)
C O N F I G U R A T I O N F I L E S
C H A P T E R 5
42
ECOTEL 3G 16.1. Revised: 1 March 2011.
Example:
5 . 1 . 4 B R I D G E C O N F I G U R A T I O N
A bridge can connect two networks with each other. A bridge works like a hub, forwarding traffic from one inter-
face to another. Multicast and broadcast packets are always forwarded to all interfaces that are part of the bridge.
This can occur on the Ethernet or VLAN level:
BrConfig=add <interface-x> add <interface-y> up
Activating another Ethernet interface in this way is useful, for example, when the Ethernet switch does not have
any more ports available for connection of the system. You can simply unplug a cable and plug it into the system’s
second Ethernet interface.
Example:
5 . 1 . 5 N A T C O N F I G U R A T I O N
The NAT (Network Address Translation) module translates IP addresses from the local network to an IP address or
range on a public interface. All rules are defined in the
[nat]
section:
[httpd]
GuiPort=80
PwdUser=k24X0sdc.uMcM
PwdAdmin=k2UMj19qtovzI
PwdCarrier=k2jryo6Xd5vN6
[bridge0]
BrConfig=add emac0 add emac1 up
Table 5.4
NAT Configuration
map=<interface> <local network address/mask> -> <public network address/mask> <optional
entries>
This parameter maps the IP address in the local network to the IP address in the public network.
<interface>
Defines the translated interface or protocol:
emac1
The system’s second Ethernet interface
pppoe0
Protocol used for DSL connections
xppp<0>
Protocol used for dial-up connections
<local network
address/mask>
The IP address is entered in decimal notation, followed by a slash (
/
) and the netmask
in bit notation. The entire local network range is configured.
<public net-
work address/
mask>
Defines the public network range, with network address and mask (usually exactly one
address), into which the local IP addresses are to be translated. The IP address is entered
in decimal notation, followed by a slash (
/
) and the netmask in bit notation.