IT Solution& Services
Would you like to react to this message? Create an account in a few clicks or log in to continue.
IT Solution& Services

Join me to provide IT Environment about Microsoft, Network, services, servers, XOS, solution, support for all to reach to the Top
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log in  
POST Master: Forums under construction and still new, share me by your information idea and try to be with Top management thanks "Mohd Zeitoun"
Search
 
 

Display results as :
 
Rechercher Advanced Search
Keywords
telephony cisco configuration vlan Router address configure
Latest topics
» Fix iTunes 12.3 Cannot Be Installed on Windows 7/8/10
How to configure DHCP Server for VLANS on Router EmptyWed Apr 27, 2016 1:19 pm by mohammad zeitoun

» how to change password from CMD
How to configure DHCP Server for VLANS on Router EmptyTue Jan 05, 2016 8:06 am by mohammad zeitoun

» please use a kernel appropriate for your cpu ubuntu virtualbox fix
How to configure DHCP Server for VLANS on Router EmptyMon Jan 04, 2016 10:54 am by mohammad zeitoun

» What is Ubuntu OS ?
How to configure DHCP Server for VLANS on Router EmptyMon Jan 04, 2016 10:50 am by mohammad zeitoun

» Rumors talks about whatsapp video call
How to configure DHCP Server for VLANS on Router EmptyWed Dec 30, 2015 6:26 pm by mohammad zeitoun

» how to reduce screen size in iphone?
How to configure DHCP Server for VLANS on Router EmptyWed Dec 30, 2015 6:19 pm by mohammad zeitoun

» how to add new local account in windows 10 ?
How to configure DHCP Server for VLANS on Router EmptyWed Dec 30, 2015 6:14 pm by mohammad zeitoun

» surface keyboard not working mouse works
How to configure DHCP Server for VLANS on Router EmptySun Dec 20, 2015 10:44 am by shijin

» how to Create VLANs on switch
How to configure DHCP Server for VLANS on Router EmptySun Dec 20, 2015 8:43 am by mohammad zeitoun

» How to create bootable USB for UBUNTU OS.
How to configure DHCP Server for VLANS on Router EmptyTue Dec 08, 2015 12:46 pm by mohammad zeitoun

» download Linux Lite 2.4 Final
How to configure DHCP Server for VLANS on Router EmptyTue Dec 08, 2015 12:43 pm by mohammad zeitoun

» Best anti-virus for ubuntu operating syatem??
How to configure DHCP Server for VLANS on Router EmptyTue Dec 08, 2015 12:43 pm by mohammad zeitoun

» How to enable SSH on router Switch on GNS3
How to configure DHCP Server for VLANS on Router EmptyFri Nov 13, 2015 5:06 pm by mohammad zeitoun

» Difference Between WAP , Router ,Gateway & Modem
How to configure DHCP Server for VLANS on Router EmptyFri Nov 13, 2015 5:01 pm by mohammad zeitoun

» Difference Between Router and Switch
How to configure DHCP Server for VLANS on Router EmptyFri Nov 13, 2015 4:57 pm by mohammad zeitoun


 

 How to configure DHCP Server for VLANS on Router

Go down 
AuthorMessage
mohammad zeitoun
Forum Owner
Forum Owner
mohammad zeitoun


Posts : 55
Join date : 2015-06-27
Age : 42
Location : lebanon

How to configure DHCP Server for VLANS on Router Empty
PostSubject: How to configure DHCP Server for VLANS on Router   How to configure DHCP Server for VLANS on Router EmptyTue Jul 07, 2015 12:27 pm

Router>en
Router#conf t
Router#conf terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int
Router(config)#int fa 0/0
Router(config-if)#no shutdown
Router(config-if)#ip address 172.16.10.1 255.255.255.252
Router(config-if)#exit
Router(config)#int fa 0/0
Router(config-if)#int fa0/0.1           #create subinterface for vlan 100
Router(config-subif)#encapsulation dot1Q 100
Router(config-subif)#ip address 192.168.100.1 255.255.255.0
Router(config-subif)#int fa0/0.2     #create subinterface for vlan 200
Router(config-subif)#encapsulation dot1Q 200
Router(config-subif)#ip address 192.168.200.1 255.255.255.0
Router(config-subif)#exit
Router(config)#ip dhcp pool vlan100    #create DHCP Pool for vlan 100
Router(dhcp-config)#network 192.168.100.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.100.1       #subinterface fa0/0.1 Address
Router(dhcp-config)#dns-server 192.168.100.10
Router(dhcp-config)#exit
Router(config)#ip dhcp pool vlan200    #create DHCP Pool for vlan 200
Router(dhcp-config)#network 192.168.200.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.200.1        #subinterface fa0/0.2 Address
Router(dhcp-config)#dns-server 192.168.200.10
Router(dhcp-config)#exit
Router(config)#


*note : mentioned Vlans already created in switch

regards
Back to top Go down
https://it-solution.niceboard.com
 
How to configure DHCP Server for VLANS on Router
Back to top 
Page 1 of 1
 Similar topics
-
» Router vs Access Points
» how to Create VLANs on switch
» How to configure and assign a Cisco switch access port to a VLAN
» DHCP vs BOOTP
» Difference Between DHCP and Static IP

Permissions in this forum:You cannot reply to topics in this forum
IT Solution& Services  :: Network Section :: cisco :: Routing-
Jump to: