How to obtain ip address from a different network dhcp

877 views
747 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
877
On SlideShare
0
From Embeds
0
Number of Embeds
17
Actions
Shares
0
Downloads
41
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

How to obtain ip address from a different network dhcp

  1. 1. Obtaining ip address from adifferent network Dhcp Server WWW.TCPIPGURU.COM
  2. 2. 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
  3. 3. 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
  4. 4. 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

×