Menu

US Region

Grandmetric LLC
Lewes DE 19958
16192 Coastal Hwy USA
EIN: 98-1615498
+1 302 691 94 10
info@grandmetric.com

EMEA Region

GRANDMETRIC Sp. z o.o.
ul. Metalowa 5, 60-118 Poznań, Poland
NIP 7792433527
+48 61 271 04 43
info@grandmetric.com

UK

Grandmetric LTD
Office 584b
182-184 High Street North
London
E6 2JA
+44 20 3321 5276
info@grandmetric.com

  • en
  • pl
  • DHCP Configuration (Cisco)

    Design & Configure

    DHCP Configuration (Cisco)

    Technology: Network Services
    Area: Network Services
    Vendor: Cisco
    Software: 12.X , 15.X
    Platform: Catalyst 2960, 3560, 3750, 3850, 3650, 4500, 6500, 6800, Router ISR, 7200, ASR

     

    DHCP Server functionality can be enabled on switch where are SVI interfaces or physical Layer 3 interfaces enabled. Example shows how to set DHCP configuration on a server with subnet 192.168.10.0/24.


    !---- enable SVI -----
    Switch(config)# interface VLAN10
    Switch(config-if)# ip address 192.168.10.1 255.255.255.0
    !---- define the pool name -----
    Switch(config)# ip dhcp pool VLAN10
    !---- specify network-----
    Switch(dhcp-config)#network 192.168.10.0 255.255.255.0
    !---- specify default gateway for subnet-----
    Switch(dhcp-config)#default-router 192.168.10.1
    !---- specify dns servers-----
    Switch(dhcp-config)#dns-server 8.8.8.8 4.4.4.4

    To add option to DHCP pool use following command

    Switch(config)# ip dhcp pool VLAN10
    Switch(dhcp-config)#option 150 ip 1.2.3.4
    !---- where option has number 150 and Call manager server is 1.2.3.4-----

    To verify DHCP MAC and IP binding configuration you can issue few show commands:


    Switch#sh ip dhcp binding
    ...
    10.4.64.11 0100.e04c.3d38.8f Jul 03 1993 12:28 PM Automatic
    10.4.64.12 0118.a6f7.4338.39 Jul 03 1993 08:18 AM Automatic
    10.4.64.16 5844.9824.70ea Jul 03 1993 01:44 PM Automatic
    10.4.64.26 011c.3947.0ac7.aa Jul 03 1993 03:36 PM Automatic
    10.4.64.37 0100.e04c.4117.3f Jul 03 1993 07:37 AM Automat

     

    To understand DHCP process, read Explained: DHCP article.

    Author: Marcin Bialy
     

    Cisco Catalyst Switch

    Up to 60% discount for Cisco Catalyst switches portfolio. Get quote for C9200 | C9300 C9400 | C9500 | C3850 family

    Check availability
    Grandmetric