Я могу выполнить единственный Сервер DHCP для всех ответвлений MPLS?

Мне настраивали сценарий для контакта с этим, которое настраивает файл hosts с псевдонимами на одном из моих серверов здесь, затем scp's он к различным экземплярам. Таким образом, это использует ec2-describe-instances для списка всех машин, бейдж экземпляра является также именем, что машина известна как. Это для смеси ec2-экземпляров Unix и окон.

Так ec2-describe-instance возвраты (shortnened):-

db domu-blah.amazonaws-1.com 74.23.65.256
etc...

Я затем создаю файл hosts с помощью awk, который похож на:-

127.0.0.1 localhost localhost.localdomain
74.23.65.256 db
etc...

Это затем добирается, отправил ко всем машинам в системе с помощью scp. Кажется, работает вполне прилично!

2
задан 13 April 2017 в 15:14
3 ответа

Yes, absolutely.

The remote branch needs to have a configured DHCP Forwarder, also known as a DHCP Helper. You typically configure this on a router in the remote branch and tell it to listen for DHCP requests. It will forward those requests to the DHCP server, and then take those assignments and reply to the clients with them.

4
ответ дан 3 December 2019 в 08:53

Вам потребуется включить (или разрешить поставщиком MPLS) ретрансляцию DHCP на маршрутизаторе в удаленном филиале. Удаленный маршрутизатор будет прослушивать запросы DHCP, перенаправлять их на ваш DHCP-сервер, а затем возвращать ответ клиенту. Маршрутизатор будет включать свою локальную подсеть в запрос DHCP, чтобы ваш сервер знал, из какой области следует назначать адрес. Вот документация по Cisco IOS - ваш конкретный маршрутизатор может реализовывать эту функцию по-другому (или не реализовывать вообще).

3
ответ дан 3 December 2019 в 08:53

Your router has to support relaying DHCP requests to MPLS VPNs (DHCP relay = option . MPLS operates 'under' any particular protocol, if you will, so DHCP shouldn't be a problem. Taken from Cisco's documentation

In some environments, a relay agent resides in a network element that also has access to one or more Multiprotocol Label Switching (MPLS) virtual private networks (VPNs). If a DHCP server wants to offer service to DHCP clients on those different VPNs, the DHCP server needs to know the VPN in which each client resides. The network element that contains the relay agent typically knows about the VPN association of the DHCP client and includes this information in the relay agent information option.

The DHCP relay agent forwards this necessary VPN-related information to the DHCP server using the following three suboptions of the DHCP relay agent information option:

•VPN identifier

•Subnet selection

•Server identifier override

You also get the potential benefit of using the same address pool(s) for different remote branches, b/c every packet forwarded by the router contains the VPNID that the request originated from.

1
ответ дан 3 December 2019 в 08:53

Теги

Похожие вопросы