WWW.TCPIPGURU.COM
Obtaining ip address from a different network Dhcp
Server
Configuring Cisco router 2611xm with two different vlan’s
R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#int fa0/0 R1(config-if)#no ip address R1(config-if)#shutdown R1(config-if)#exit R1(config)#int fa0/0.1 R1(config-subif)#encapsulation dot1Q 2 R1(config-subif)#ip address 192.168.1.1 255.255.255.0 R1(config-subif)#no shutdown R1(config-subif)#exit R1(config)#int fa0/0.2 R1(config-subif)#encapsulation dot1Q 3 R1(config-subif)#ip address 192.168.2.1 255.255.255.0 R1(config-subif)#no shutdown R1(config-subif)#exit
Configuring Cisco switch 2950 with two different vlan’s
Switch#config t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vlan 2 Switch(config-vlan)#exit Switch(config)#vlan 3 Switch(config-vlan)#exit Switch(config)#int fa0/21 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 2 Switch(config-if)#exit Switch(config)#int fa0/9 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 2 Switch(config-if)#exit Switch(config)#int fa0/18 Switch(config-if)#switchport mode trunk Switch(config-if)#switchport trunk allowed vlan all
Creating int fa0/0.2 of router with ip helper address
R1#config t Enter configuration commands, one per line. End with
CNTL/Z. R1(config)#int fa0/0.1 R1(config-subif)#ip helper-address 192.168.1.2
Top Related