Questions

Problem in DHCP Relay Agent

+
0 Votes
Locked

Problem in DHCP Relay Agent

aman0999
To
Dear Engineers MCSE

Subject :: Help required in Problem relating to MCSE RRAS (Relay Agent)
with due respect it is stated that i am facing the problem in Relay Agent of Routing and Remote access console sub feature. I have the course material provided by MS press and Sybex Inc but i didn't find complete practical in that regarding Relay Agent. Kindly my answer for this question stated should be provided by MCSE experts. I would be thank ful to you.
I have 2 Question from You
Qno1 = Can DHCP assign two diffirent Subents IP address via DHCP Relay Agent such as in my Super Scope 192.168.5.0/24 and 172.16.0.0/16 subnets or i may keep single subnet in my dhcp scope still having dhcp relay agent ?

QNo.2 ........... My Practical Problem which is described in the following can't obtain IP from DHCP server .. why ??

MY Problem Senario ::

I have 3 PC's for My Practical of Relay Agent.I want a PC on other subnet without having DHCP Server to forward the DHCP brodcast Request via Relay agent to the PC in its subnet to the DHCP server on the other subnet . My settings are as follow:

Server 1 : DC (Contoso.com) + DHCP Server having 2 scopes in Super Scope
e.g 1 for 172.16.x.x
2nd for 192.168.5.x
IP 172.16.4.1 255.255.0.0 ::
Gateway 172.16.4.1
DNS 172.16.4.1

Server 2 :: Relay Agent in Contoso.com but diffirent IP with 2 Lan Cards
(WAN) NIC 1 = IP 172.16.4.1 255.255.0.0
Gateway = 172.16.4.1
DNS 172.16.1.1
(LAN) NIC 2 = IP 192.168.5.3 255.255.255.0
Gateway 192.168.5.3
DNS = NIL

Client XP 1 = Connected Directly to Server 2 Via Crossover cable to its NIC 2
NIC = IP (Obtain Automatically via DHCP on the other Subnet)

--
Amanullah Khan
aman0999@gmail.com
  • +
    0 Votes
    zaedi_ahmed

    SOLUTION

    First of all DHCP in a domain controller is not recommended.

    01. Can DHCP assign two diffirent Subents IP address via DHCP Relay Agent?

    Yes DHCP can assign two different Subnets IP address via DHCP Relay Agent.

    Your Configuration Problems:
    DC contoso.com has an IP address of 172.16.4.1 and the NIC of Relay agent has got also the same. This is a mistake. Further more you don?t need to assign a Gate Way in the Relay Agent NIC.

    NIC of WAN should be different like 172.16.4.4/16 and then the DG could be the 172.16.4.1 and the DNS 172.16.4.1.

    You don?t need to specify the Default Gateway of LAN NIC as 192.168.5.3/24.

    You don?t need to put your scopes into a superscope.


    Configuration should be done in the following way
    One important thing is that, you have to configure the DHCP relay agent correctly and bind it with proper interface.

    Here is how it can be done:

    01. Right click on the general node in the RRAS and choose ?New Routing Protocol?
    02. In the dialog box choose ?DHCP relay agent? and ok
    03. In the DHCP relay agent node right click and choose properties.
    04. In the properties dialog box add the IP of the DHCP server and click OK button.
    05. Select the ?DHCP relay agent? node and in the right pane in the blank area right click and choose ?New interface?
    06. Add the interface that will hear the Clients DHCP discover broadcast requests press ok.

    It is the proper configuration of the DHCP relay agent.

    N.B.: Very special to remember, in the machine where you have installed the DHCP relay agent do not install DHCP service, ICS, NAT or DNS there.

  • +
    0 Votes
    zaedi_ahmed

    SOLUTION

    First of all DHCP in a domain controller is not recommended.

    01. Can DHCP assign two diffirent Subents IP address via DHCP Relay Agent?

    Yes DHCP can assign two different Subnets IP address via DHCP Relay Agent.

    Your Configuration Problems:
    DC contoso.com has an IP address of 172.16.4.1 and the NIC of Relay agent has got also the same. This is a mistake. Further more you don?t need to assign a Gate Way in the Relay Agent NIC.

    NIC of WAN should be different like 172.16.4.4/16 and then the DG could be the 172.16.4.1 and the DNS 172.16.4.1.

    You don?t need to specify the Default Gateway of LAN NIC as 192.168.5.3/24.

    You don?t need to put your scopes into a superscope.


    Configuration should be done in the following way
    One important thing is that, you have to configure the DHCP relay agent correctly and bind it with proper interface.

    Here is how it can be done:

    01. Right click on the general node in the RRAS and choose ?New Routing Protocol?
    02. In the dialog box choose ?DHCP relay agent? and ok
    03. In the DHCP relay agent node right click and choose properties.
    04. In the properties dialog box add the IP of the DHCP server and click OK button.
    05. Select the ?DHCP relay agent? node and in the right pane in the blank area right click and choose ?New interface?
    06. Add the interface that will hear the Clients DHCP discover broadcast requests press ok.

    It is the proper configuration of the DHCP relay agent.

    N.B.: Very special to remember, in the machine where you have installed the DHCP relay agent do not install DHCP service, ICS, NAT or DNS there.