Out of the box, the 871W is configured for 1 vlan only (Default Vlan1). All 4 FE Ports on th 871 are layer 2 ports (FA0/1/2/3) and a members of VLan1 by default. Also, they cannot have IP addresses assigned to them and must be members of a VLAN.
If you assign a vlan directly to a FE Port, different devices on different FE port can communicate with each other. But if there will be a switch plugged into a FE port which will have smartport roles assigned to different switchports (I.E. different Vlans on different ports), then the FE interface must be configured as a member of a Trunk Port Vlan in order to route traffic between the different VLans.
This article shows how to configure multiple VLan's:
PLEASE NOTE: The Advanced IP Services Image must be loads in order have more than one
Vlan configured. This is not loaded on the router from the factory. See Notes Below.
interface FastEthernet0
interface Vlan1
description Office_VLan
no ip address
ip tcp adjust-mss 1452
bridge-group 1
!
interface Vlan2
description Traning_Room
no ip address
ip tcp adjust-mss 1452
bridge-group 2
!
interface BVI1
description BVI_Routing_Interface_VLAN1
ip address 192.168.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface BVI2
If you assign a vlan directly to a FE Port, different devices on different FE port can communicate with each other. But if there will be a switch plugged into a FE port which will have smartport roles assigned to different switchports (I.E. different Vlans on different ports), then the FE interface must be configured as a member of a Trunk Port Vlan in order to route traffic between the different VLans.
This article shows how to configure multiple VLan's:
PLEASE NOTE: The Advanced IP Services Image must be loads in order have more than one
Vlan configured. This is not loaded on the router from the factory. See Notes Below.
interface FastEthernet0
interface Vlan1
description Office_VLan
no ip address
ip tcp adjust-mss 1452
bridge-group 1
!
interface Vlan2
description Traning_Room
no ip address
ip tcp adjust-mss 1452
bridge-group 2
!
interface BVI1
description BVI_Routing_Interface_VLAN1
ip address 192.168.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface BVI2
description BVI_Routing_Interface_VLAN2
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
Then I have 2 DHCP pools, one for each VLan:
ip dhcp pool OCBR_Vlan1
network 192.168.0.0 255.255.255.0
default-router 192.168.0.1
dns-server 192.168.0.2
!
ip dhcp pool Vlan2
network 192.168.1.0 255.255.255.0
dns-server 192.168.0.2
default-router 192.168.1.1
http://www.cisco.com/en/US/products/hw/routers/ps380/products_qanda_item0900aecd8028a
Here is a image we should use
c870-advipservicesk9-mz.124-15.T3.bin
http://www.cisco.com/cgi-bin/Software/Iosplanner/Planner-tool/iosresult.cgi?
get_crypto=&data_from=&hardware_name=871&software_name=ADVANCED%20IP%
20SERVICES&release_name=12.4.15T3&majorRel=12.4&state=:HW:SW:RL&type=Early%20Deployment
Jaydien Network Solutions - 877.561.6734 |
www.jaydien.com
No comments:
Post a Comment