Page 946 / 998 Scroll up to view Page 941 - 945
Wireless Interface
Layer 2 switch on wireless port
iMG/RG Software Reference Manual (Wireless)
9-8
dhcpclient set interfaceconfig ic_data givednstoclient disabled
dhcpclient set interfaceconfig ic_data givednstorelay disabled
dhcpclient set interfaceconfig ic_data defaultroute enabled
bridge add vlaninterface vlan_data tagged pvc_0_35_if
ip attach ip_data vlan_data
dhcpclient update
#Video network configuration. No IP addresses are assigned on this
subnet.
vlan create vlan_video 205
vlan add vlan_video lan1 frame untagged
switch set port lan1 802.1p Enabled
switch set port lan1 defaultpriority 0
vlan add vlan_video lan2 frame untagged
switch set port lan2 802.1p Enabled
switch set port lan2 defaultpriority 0
vlan add vlan_video lan3 frame untagged
switch set port lan3 802.1p Enabled
switch set port lan3 defaultpriority 0
ip add interface ip_video
ip set interface ip_video ipaddress 0.0.0.0 0.0.0.0
bridge add vlaninterface vlan_video tagged pvc_0_35_if
ip attach ip_video vlan_video
#Routing table reconfiguration.
ip add route voice_server 172.30.1.121 255.255.255.255 gateway
172.32.3.1
ip add route voice_server2 172.30.1.123 255.255.255.255 gateway
172.32.3.1
ip add route voice_server3 172.30.1.201 255.255.255.255 gateway
172.32.3.1
ip add route mgmt-1 10.17.90.0 255.255.255.0 gateway 172.32.2.1
ip add route mgmt-2 172.30.1.202 255.255.255.255 gateway 172.32.2.1
#Local time and date configuration.
sntpclient add server ipaddress 172.30.1.202
sntpclient set pollintv 2
sntpclient set timezone MET
#Igmp snooping configuration.
igmp snooping enable vlan_video
igmp snooping set mode snooping
igmp snooping set secondary-netinterface ip_mgmt
#VoIP protocol configuration.
voip sip protocol enable
voip dtmf-relay set mode auto
voip ep analogue create tel1 type al-fxs-del physical-port tel1
Page 947 / 998
Layer 2 switch on wireless port
Wireless Interface
9-9
iMG/RG Software Reference Manual (Wireless)
voip ep analogue set tel1 country usa
voip ep analogue set tel1 clip BELL
voip ep analogue set tel1 clir off
voip ep analogue set tel1 codec g711u
voip ep analogue set tel1 vad off
voip ep analogue set tel1 cng off
voip ep analogue set tel1 lec 8
voip ep analogue create tel2 type al-fxs-del physical-port tel2
voip ep analogue set tel2 country usa
voip ep analogue set tel2 clip BELL
voip ep analogue set tel2 clir off
voip ep analogue set tel2 codec g711u
voip ep analogue set tel2 vad off
voip ep analogue set tel2 cng off
voip ep analogue set tel2 lec 8
voip sip protocol set netinterface ip_voip
voip sip locationserver create loc1 contact 172.30.1.121
voip sip proxyserver create prox1 contact 172.30.1.121
voip sip protocol set internal-call-routing enable
voip sip user create 1723231461 address 1723231461 areacode 604
voip sip user add 1723231461 port tel1
voip sip user create 1723231462 address 1723231462 areacode 604
voip sip user add 1723231462 port tel2
#MpegMon configuration.
mpeg-mon create instance1 membership 224.2.2.50 port 1234 netinter-
face ip_mgmt
mpeg-mon disable instance1
mpeg-mon create instance2 membership 224.2.2.51 port 1234 netinter-
face ip_mgmt
mpeg-mon disable instance2
mpeg-mon create instance3 membership 224.2.2.56 port 1234 netinter-
face ip_mgmt
mpeg-mon disable instance3
mpeg-mon create instance4 membership 224.2.2.57 port 1234 netinter-
face ip_mgmt
mpeg-mon disable instance4
mpeg-mon create instance5 membership 224.2.2.58 port 1234 netinter-
face ip_mgmt
mpeg-mon disable instance5
#Software update configuration
swupdate set server 172.30.1.9
swupdate set path /public/swupdate/3-4_57_02_04/alpha/iMG634B/upload
swupdate set login root
Page 948 / 998
Wireless Interface
Layer 3 routing on wireless port
iMG/RG Software Reference Manual (Wireless)
9-10
swupdate set passwd friend
swupdate stop_time none
swupdate start_time minute */2 hour * day_of_month * month *
day_of_week *
#Wireless port configuration for WPA-PSK authentication with password
“friendfriend”
port wireless set Disable false
port wireless set ESSID iMG634WA-example
802.1x authenticator set authentication local
802.1x authenticator set authentication enabled
port wireless set WPAEnableWPA1 true
port wireless set WPAEnableWPA2 false
port wireless set WPA true
port wireless set WPAEnablePSK true
port wireless set WPA2EnableTKIP false
port wireless set WPA2EnableAES_CCMP true
port wireless set WPA2EnablePreauth true
port wireless set Authentication WPA-PSK
port wireless set Encryption TKIP
port wireless set WPAEnableWPA2 false
wpa set shared passphrase friendfriend
9.1.3
Layer 3 routing on wireless port
The following scenario it’s similar to the layer 2 scenario except that the traffic on CPE wireless interface is
routed to a public interface attached to the ADSL port.
In this scenario the wireless interface is member of the data VLAN together with a switch Ethernet port. Traffic
originated by the wireless host can be forwarded to the host connected at the Ethernet port or can be routed
to the uplink path where IP masquerading is performed by NAT.
In this scenario the access to the public network (the data path) is based on a PPPoEoA connection.
Please refer to chapter 2. for any information on how to configure the bridge functionality on the CPE for each
different products group.
Page 949 / 998
Layer 3 routing on wireless port
Wireless Interface
9-11
iMG/RG Software Reference Manual (Wireless)
FIGURE 9-2
Wireless interface usage on a routed scenario
9.1.3.1 Layer 3 CPE Configuration for ADSL A group wireless products
A DHCP server is used to provides addresses on this subnet. 172.32.2.1 is the default gateway for this subnet.
vlan add vlan_mgmt vid 202
ethernet ad transport vlan_mgmt
ip ad interface ip_mgmt
dhcpclient ad interfaceconfig ic_mgmt ip_mgmt
dhcpclient interfaceconfig ic_mgmt add requested option subnet-mask
dhcpclient interfaceconfig ic_mgmt add requested option routers
dhcpclient interfaceconfig ic_mgmt add requested option domain-name
dhcpclient interfaceconfig ic_mgmt add requested option domain-name-
servers
rfc1483 set transport pvc_0_35 vlan vlan_mgmt frame tagged
ip attach ip_mgmt vlan_mgmt
dhcpclient update
Tel 1
Tel 2
IP_VoIP
IP_Data (External)
IP_Data
IP_Data (External)
Public
Network
(Internet)
VoIP
Network
Management
Network
Lan 2
Lan 1
Lan 3
Lan 4
ADSL
(single PVC - multi VLANS)
VLAN-VoIP
VLAN-Data
Wireless
Page 950 / 998
Wireless Interface
Layer 3 routing on wireless port
iMG/RG Software Reference Manual (Wireless)
9-12
#Clean up interface ip0 (default)
ip set interface ip0 dhcp disabled
dhcpclient update
ip set interface ip0 ipaddress 0.0.0.0 0.0.0.0
rfc1483 unset transport pvc_0_35 vlan default
ip set interface ip_mgmt dhcp enabled
dhcpclient update
#Management access configuration. 172.30.1.0 and 10.17.90.0 subnets
are located on management networks.
webserver add managementsubnet mgmt1 172.30.1.0 255.255.255.0
172.30.1.1 172.30.1.254
webserver add managementsubnet mgmt2 10.17.90.0 255.255.255.0
10.17.90.1 10.17.90.254
#VoIP network configuration. A DHCP server is used to provides
addresses on this subnet on PVC 8/35. 172.32.3.1 is the default gate-
way for this subnet.
ip add interface ip_voip
ip set interface ip_voip dhcp enabled
dhcpclient add interfaceconfig ic_voip ip_voip
dhcpclient interfaceconfig ic_voip add requested option subnet-mask
dhcpclient interfaceconfig ic_voip add requested option routers
dhcpclient interfaceconfig ic_voip add requested option domain-name-
servers
dhcpclient interfaceconfig ic_voip add requested option domain-name
dhcpclient set interfaceconfig ic_voip givednstoclient enabled
dhcpclient set interfaceconfig ic_voip givednstorelay disabled
dhcpclient set interfaceconfig ic_voip defaultroute disabled
rfc1483 add transport pvc_voip a1 8 35
bridge add interface if_pvc_voip
vlan add vlan_voip vid 203
ethernet add transport vlan_voip
rfc1483 set transport pvc_voip vlan vlan_voip frame untagged
bridge attach if_pvc_voip pvc_voip
ip attach ip_voip vlan_voip
dhcpclient update
#Data network configuration. A PPP connection is configured on this
interface on PVC 1/35.
ip add interface ip_data
pppoe add transport pppoe_data dialout pvc 4 a1 1 35
pppoe set transport pppoe_data welogin chap
pppoe set transport pppoe_data username manager
pppoe set transport pppoe_data password friend
pppoe set transport pppoe_data subnetmask 255.255.255.255

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top