Hey guys im going to need some help in a configuration im doing, im not quite sure on some things and will be doing things in steps. i want to get the lan all working first as the next step will be the wan.
Stage 1
I have a cisco 2620xm router and a 2950 switch
2 networks 2 vlans on the switch
Home: 192.168.0.0 vlan 2
Office: 192.168.1.0 vlan 3
current config
Router(config)#interface f0/0.2
Router(config-subif)#encapsulation dot1q 2
Router(config-subif)#ip address 192.168.0.1 255.255.255.0
Router(config-subif)#interface f0/0.3
Router(config-subif)#encapsulation dot1q 3
Router(config-subif)#ip address 192.168.1.1 255.255.255.0
Router(config-subif)#interface f0/0
Router(config-if)#no shutdown
Switch(config-if)#vlan 2
Switch(config-vlan)#vlan 3
Switch(config-vlan)#exit
Switch(config)#interface f0/24
Switch(config-if)#switchport mode trunk
I can sucessfully ping the router from host on either home or office.
Now here is my problem i now need to go round to each of the hosts and set a static address. I dont want that so can i set dhcp on the switch? so each vlan can be set a dynamic ip? or do i have to enable the server to do this?
Stage 1
I have a cisco 2620xm router and a 2950 switch
2 networks 2 vlans on the switch
Home: 192.168.0.0 vlan 2
Office: 192.168.1.0 vlan 3
current config
Router(config)#interface f0/0.2
Router(config-subif)#encapsulation dot1q 2
Router(config-subif)#ip address 192.168.0.1 255.255.255.0
Router(config-subif)#interface f0/0.3
Router(config-subif)#encapsulation dot1q 3
Router(config-subif)#ip address 192.168.1.1 255.255.255.0
Router(config-subif)#interface f0/0
Router(config-if)#no shutdown
Switch(config-if)#vlan 2
Switch(config-vlan)#vlan 3
Switch(config-vlan)#exit
Switch(config)#interface f0/24
Switch(config-if)#switchport mode trunk
I can sucessfully ping the router from host on either home or office.
Now here is my problem i now need to go round to each of the hosts and set a static address. I dont want that so can i set dhcp on the switch? so each vlan can be set a dynamic ip? or do i have to enable the server to do this?