![TELES ECOTEL Скачать руководство пользователя страница 52](http://html1.mh-extra.com/html/teles/ecotel/ecotel_manual_1082146052.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
52
ECOTEL 3G 16.1. Revised: 1 March 2011.
5 . 1 . 1 1 V L A N C O N F I G U R A T I O N
A VLAN (Virtual Local Area Network) is a virtual LAN within a physical network. Each VLAN is assigned a unique
number (VLAN ID) and defined in the [
vlan<x>]
section with
Tag: value between 1 and 4095
Priority: value between 0 and 7 (0 is lowest and 7 is the highest priority)
[vlan0]
IfConfig=vlan <tag>,<priority> vlanif <interface>
Example:
The following entry will create the interface vlan1, with VLAN tag 10 and priority 7, on the Ether-
net interface emac0. Following this configuration, IP addresses (and/or other protocols) can be
assigned to the vlan1 interface:
5 . 1 . 1 2 E X A M P L E S
5 . 1 . 1 2 . 1 D E F A U L T C O N F I G U R A T I O N
In the following example, the system’s IP address is 192.168.1.1, the netmask is 255.255.255.0, and the standard
gateway is 192.168.1.254:
5 . 1 . 1 2 . 2 A C T I V E E T H E R N E T B R I D G E
In the following example a two-port Ethernet bridge is configured. The system’s IP address is 192.168.1.1, the net-
mask is 255.255.255.0, and the standard gateway is 192.168.1.254,
The emac1 interface is active and both Ethernet interfaces are set to bridge mode in the
[bridge0]
section:
[vlan1]
IfConfig=vlan 10,7 vlanif emac0
IpAddress=192.168.199.1
[System]
DefaultGw=192.168.1.254
[emac0]
IpAddress=192.168.1.1/24
[System]
DefaultGw=192.168.1.254
[emac0]
IpAddress=192.168.1.1/24
[emac1]
IpAddress=up
[bridge0]
BrConfig=add emac0 add emac1 up
Содержание ECOTEL
Страница 1: ...Software version 16 1 ECOTEL 3G Family...