Layer 2 switch on wireless port
Wireless Interface
9-3
iMG/RG Software Reference Manual (Wireless)
dhcpclient update
#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. 172.32.3.1 is the default gateway for this
subnet.
vlan add vlan_voip vid 203 802.1p_priority 7
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
ethernet add transport vlan_voip
rfc1483 set transport pvc_0_35 vlan vlan_voip frame tagged
ip attach ip_voip vlan_voip
dhcpclient update
#Data network configuration. A DHCP server is used to provides
addresses on this subnet. 172.32.4.1 is the default gateway for this
subnet.
vlan add vlan_data vid 204 802.1p_priority 7
vlan add vlan_data port lan4 frame untagged
vlan add vlan_data port wireless frame untagged
ip add interface ip_data
ip set interface ip_data dhcp enabled
dhcpclient add interfaceconfig ic_data ip_data
dhcpclient interfaceconfig ic_data add requested option subnet-mask