3 Replies Latest reply: Dec 17, 2011 2:51 PM by Scott Morris - CCDE/4xCCIE/2xJNCIE RSS

    Dhcp and intervlan routing over trunking

    moha

      Dear All experts

      IAm now in A project fro configuring dhcp pools on router 1851 router to enAble muli vlAns configured on 2691 switch to get dhcp Addresses from corresponding dhcp pools

      Also i Am plAnning to chAnge the mAnAgementvlAn to be vlAn 10

      wAht is the correct configurAtion for my situAtion?

      And  After configurAtion the pcs couldn't get ip dhcp Address from dhcp ?i dont know why ? whAt is the solution ?

      Are there Any AddtionAl commAnds neede on the previous plAtform to mAke this operAtion successfully?

       

       

      on Router

       

      ip dhcp pool data
      network 10.14.16.0 255.255.240.0
      default-router 10.14.16.1 255.255.240.0
      dns-server 10.14.16.200
      lease infinite
      !
      ip dhcp pool voice
      network 10.14.64.0 255.255.240.0
      default-router 10.14.64.1 255.255.240.0
      dns-server 10.14.16.200
      lease infinite
      !
      ip dhcp pool guest
      network 10.14.32.0 255.255.240.0
      dns-server 10.14.16.200
      default-router 10.14.32.1 255.255.240.0
      lease infinite
      !
      ip dhcp pool old
      network 10.14.0.0 255.255.0.0
      dns-server 10.14.11.200
      default-router 10.14.51.2
      lease infinite

       

       

      interface FastEthernet0/1
      no ip address
      duplex auto
      speed auto
      !
      interface FastEthernet0/1.1
      encapsulation dot1Q 1 native
      ip address 10.14.51.2 255.255.0.0

      sutdown
      !
      interface FastEthernet0/1.2
      encapsulation dot1Q 2
      ip address 10.14.16.1 255.255.240.0

      !
      interface FastEthernet0/1.3
      encapsulation dot1Q 3
      ip address 10.14.32.1 255.255.240.0

      !
      interface FastEthernet0/1.5
      encapsulation dot1Q 5
      ip address 10.14.64.1 255.255.240.0

      !
      interface FastEthernet0/1.10
      encapsulation dot1Q 10
      ip address 192.168.14.254 255.255.255.0

       

       

      On the switch:

      interface Vlan1
      ip address 10.14.11.1 255.255.0.0
      no ip route-cache
      !
      interface Vlan2
      no ip address
      no ip route-cache
      !

       

       

      and vlan 2,3,5,10

      are configured on switch

       

      the case is:

       

      all pcs now are connected to vlan 1

      but i want to connect all pcs to vlan 2

      and to get ips from dhcp pool of data on the router

      which is 10.14.16.0 255.255.240.0

      and if i want a port to access vlan 3 i want it to get ip form dhcp pool for guest which is configured on the router

      which is 10.14.32.0 255.255.240.0