1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

setup dhcp server or router

Discussion in 'Routing & Switching' started by aecosis, Oct 18, 2011.

  1. aecosis

    aecosis New Member

    2
    0
    1
    situation :

    web, htp, mail n dns server (172.16.4.0/28 ) connect to switch then connect to router in packet tracer.
    2 pc(172.16.4.0/26) connect to switch then connect to same router.
    2 pc assign dynamic ip.

    how to assign ip with easy way? in router or dhcp server?
    how to counfigure?:cry: help .. mee
     
    Last edited: Oct 18, 2011
  2. TheITCrowd

    TheITCrowd Kilobyte Poster

    250
    3
    37
    ip dhcp excluded-address 172.16.4.1
    !
    ip dhcp pool LAN
    network 172.16.4.0 255.255.255.192
    default-router 172.16.4.1
    dns-server 172.16.4.?
    domain-name whatever.ad.local

    interface Vlan1
    description ** LAN at whatever **
    ip address 172.16.4.1 255.255.255.192
    no keepalive
    hold-queue 100 out
    no shutdown

    depends on your router but above is a cisco 877
     
    Certifications: Network + |CCNA |MCTS-70-680,MCTS-70-401, MCTS-70-656, MCTS-70-351 |HP AIS ProCurve Networking -2011 | HP2-896 |VCD-CP27|JNCIA |Hewlett Packard ASE - Network Infrastructure (2011)
    WIP: 642-813
  3. jonny7_2002

    jonny7_2002 Byte Poster

    191
    9
    37
    Why do your IP ranges overlap....
    172.16.4.0/26 - subnet with 62 hosts.... 172.16.4.1 - 62
    172.16.4.0/28 - subnet with 14 hosts.... 172.16.4.1 - 14

    Are you playing with VLSM...? If you are i would suggest two VLAN's with the router configured as a router-on-a-stick and the following IP range so they do not overlap -
    172.16.4.0/26 - subnet with 62 hosts.... 172.16.4.1 - 62
    172.16.4.64/28 - subnet with 14 hosts.... 172.16.4.65 - 78


    The DHCP config by ITCROWD is correct.

    Also, Try and introduce yourself as a new user when you post for the first time, generally people will respond better and if we know you are studyinh CCENT/CCNA then we know where you are at!

    Cheers
    Jon
     
    Certifications: CCNA R&S, CCNP R&S, CCDA, CCNA Voice, CCNA Wireless & CCNA Security
    WIP: CCIE V5 (when its out)
  4. aecosis

    aecosis New Member

    2
    0
    1
    i am new about to setup network. by using packet tracer 5.3.

    the task like this:

     
  5. jonny7_2002

    jonny7_2002 Byte Poster

    191
    9
    37
    We cant do the task for you..... ask questions in the relevant area and we can assist or it would be cheating?? :lol:

    It looks from the task set that you need to understand VLSM. you need to know how you can segment out a range of addresses with VLSM's!
    The following link explains/shows you how to design VLSM which once you have nailed it, is pretty simple thereafter!
    http://www.robriggins.com/ccna/site..._completed_labs/ccna2_chapter6_robriggins.pdf

    Hope it helps.
    Jon
     
    Certifications: CCNA R&S, CCNP R&S, CCDA, CCNA Voice, CCNA Wireless & CCNA Security
    WIP: CCIE V5 (when its out)

Share This Page

Loading...