Questions

DHCP server 2003

+
0 Votes
Locked

DHCP server 2003

deeps_135
Hello,

I am into testing. I am new to DHCP server configuration.
in my requirement, i have to get either dhynamic and static IP address for my devices from DHCP server with different subnet.
example:
Say my 2 devices named device A and Device B
Device A should get the IP between the range 192.16.0.100 to 192.16.0.150

Device B should get the IP between the range 192.16.1.100 to 192.16.1.150

Please help me out how to configure two different subnets in the DHCP server.

regards
S Deepak
  • +
    0 Votes
    Mohammad Oweis

    Create two scopes in the DHCP one for each subnet, then configure your router to relay DHCP requests to your DHCP server, using this command:
    ip helper-address x.x.x.x
    where x.x.x.x is your DHCP server IP address.

    But i noticed that you are using public IP addresses in your network, why??!!
    use a private IP range instead, if you don't really need the public IP.

    +
    0 Votes
    seanferd

    The question was copied from coursework incorrectly, and it should be 192.168.x.x

    +
    0 Votes
    Mohammad Oweis

    You are right, most probably this is the case.
    It seems that he changed the IP, to not look that he copied the question, but he did a big mistake.

    He has to study more :)

    +
    0 Votes
    deeps_135

    That was my mistake. we are testing in test n/w. 192.168.x.x

    so help me out in learning the things properly,by suggesting me some useful materials.

    thanks in advance,
    deepak

    +
    0 Votes
    deeps_135

    Hi,

    I have creates two scopes.
    Say Scope1 revservation pool have IP range 192.168.0.128 to 192.168.0.252.
    In reseravtion i have given my device A mac addres and Static ip as 192.168.0.200.
    Scope 2 IP range is 192.168.1.100 to 192.168.1.150
    In reseravtion i have given my device B mac addres and Static ip as 192.168.1.108.

    From my device i try to get the IP address.
    results are as follows
    Device A got the static IP as 192.168.0.200
    But device B got the Dynamic IP as 192.168.0.129.
    But the excepted result for Device B is not achived.
    Please help me out in this.
    as u mentioned Configure your router to relay DHCP request . how to do it.

    Regards,
    Deepak

    +
    0 Votes
    Mohammad Oweis

    First you should have a router with two Ethernet ports, one connected to 192.168.0.x
    lets say interface IP is 192.168.0.1
    and the other interface with IP like 192.168.1.1
    Your DHCP server should be inside 192.168.0.x subnet.
    Once you configure the router and routing works correctly, inside the configuration of 192.168.1.1 interface use the following command if supported by the router:
    ip helper-address 192.168.0.x (DHCP Server IP)
    If the command is not supported by the router, you can use a relay agent.

    For some resources check MS exam 70-642: TS: Windows Server 2008 Network Infrastructure, Configuring.
    http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-642&locale=en-us#tab2

    Check the preparation material.
    And use Google

    Good Luck

  • +
    0 Votes
    Mohammad Oweis

    Create two scopes in the DHCP one for each subnet, then configure your router to relay DHCP requests to your DHCP server, using this command:
    ip helper-address x.x.x.x
    where x.x.x.x is your DHCP server IP address.

    But i noticed that you are using public IP addresses in your network, why??!!
    use a private IP range instead, if you don't really need the public IP.

    +
    0 Votes
    seanferd

    The question was copied from coursework incorrectly, and it should be 192.168.x.x

    +
    0 Votes
    Mohammad Oweis

    You are right, most probably this is the case.
    It seems that he changed the IP, to not look that he copied the question, but he did a big mistake.

    He has to study more :)

    +
    0 Votes
    deeps_135

    That was my mistake. we are testing in test n/w. 192.168.x.x

    so help me out in learning the things properly,by suggesting me some useful materials.

    thanks in advance,
    deepak

    +
    0 Votes
    deeps_135

    Hi,

    I have creates two scopes.
    Say Scope1 revservation pool have IP range 192.168.0.128 to 192.168.0.252.
    In reseravtion i have given my device A mac addres and Static ip as 192.168.0.200.
    Scope 2 IP range is 192.168.1.100 to 192.168.1.150
    In reseravtion i have given my device B mac addres and Static ip as 192.168.1.108.

    From my device i try to get the IP address.
    results are as follows
    Device A got the static IP as 192.168.0.200
    But device B got the Dynamic IP as 192.168.0.129.
    But the excepted result for Device B is not achived.
    Please help me out in this.
    as u mentioned Configure your router to relay DHCP request . how to do it.

    Regards,
    Deepak

    +
    0 Votes
    Mohammad Oweis

    First you should have a router with two Ethernet ports, one connected to 192.168.0.x
    lets say interface IP is 192.168.0.1
    and the other interface with IP like 192.168.1.1
    Your DHCP server should be inside 192.168.0.x subnet.
    Once you configure the router and routing works correctly, inside the configuration of 192.168.1.1 interface use the following command if supported by the router:
    ip helper-address 192.168.0.x (DHCP Server IP)
    If the command is not supported by the router, you can use a relay agent.

    For some resources check MS exam 70-642: TS: Windows Server 2008 Network Infrastructure, Configuring.
    http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-642&locale=en-us#tab2

    Check the preparation material.
    And use Google

    Good Luck