DHCP Server on Cisco 2950/2960 Switch

cyberjunkiecyberjunkie Member Posts: 13 ■□□□□□□□□□
I am bit confused on this Please correct me if i am wrong as per my understanding we can use a L2 switch as a dhcp server.



Please give your view.
“Power corrupts. Knowledge is power. Study hard. Be evil.”:wink:

Comments

  • qplayedqplayed Member Posts: 303
    yes, you are correct a 2950 can act as a dhcp-server. This is a service and has nothing to do with routing or switching. It will serve ip addresses to clients. Just because you can doesn't mean you should ;)

    On my 2950
    ALS1#sh run | be dhcp
    ip dhcp pool TEST
    network 199.199.199.0 255.255.255.0

    ALS1#sh run int fa0/7
    interface FastEthernet0/7
    switchport access vlan 199
    switchport mode access

    ALS1#sh run int vlan199
    interface Vlan199
    ip address 199.199.199.1 255.255.255.0
    no ip route-cache

    On my 3550
    DLS1#sh run int fa0/7

    interface FastEthernet0/7
    no switchport
    ip address dhcp
    end

    DLS1#sh ip int br | i DHCP
    FastEthernet0/7 199.199.199.2 YES DHCP up up
    If you cannot express in a sentence or two what
    you intend to get across, then it is not focused
    well enough.
    —Charles Osgood, TV commentator
Sign In or Register to comment.