آیا میشود برای هر vlan در سوئیچ یک dhcp server جدا تعریف کرد که اعضای آن vlan از آن آدرس بگیرند ؟
یا به ازای هر پورت سوئیچ یک dhcp server تعریف کنیم ؟
Printable View
آیا میشود برای هر vlan در سوئیچ یک dhcp server جدا تعریف کرد که اعضای آن vlan از آن آدرس بگیرند ؟
یا به ازای هر پورت سوئیچ یک dhcp server تعریف کنیم ؟
بله، کافیست Packet های Broadcast را به DHCP Server مورد نظر ارسال کنید:
[LEFT][LTR]ip helper-address x.x.x.x
[B] Forwarding of Broadcast Packets and Protocols[/B]
There are circumstances in which you want to control which broadcast packets and which protocols are forwarded. You do this with helper addresses and the[B] forward-protocol [/B]commands.
The [B]ip helper-address[/B] interface subcommand tells the router to forward UDP broadcasts, including BootP, received on this interface. (UDP is the connectionless alternative to TCP at the Transport Layer.) Use the [B]ip helper-address[/B] interface subcommand to specify the destination address for forwarding broadcast packets. Full command syntax follows.
[B]ip helper-address [I]address
[/I]no ip helper-address [/B][I]address[/I] The [I][I]address[/I][/I] argument specifies a destination broadcast or host address to be used when forwarding such datagrams. You can have more than one helper address per interface. You remove the list with [B]no ip helper-address[/B].
If you do not specify a [B]helper address[/B] command, the router will not forward UDP
broadcasts.
[B] Example:[/B]
This example defines an address that act as a helper address.
ip helper-address 121.24.43.2
[/LTR] [/LEFT]
[quote=bahramsport;210914]آیا میشود برای هر vlan در سوئیچ یک dhcp server جدا تعریف کرد که اعضای آن vlan از آن آدرس بگیرند ؟
یا به ازای هر پورت سوئیچ یک dhcp server تعریف کنیم ؟[/quote]
اره میشه کافی که دی اچ پی سرو روی گانفیگ کنی یا با دیواسها موجود یا با خوده روتر میکروتیک وصل کنی به شبکه مورد نظر من الان همین کار با میکروتیک کردم برای حدود چهار رنج مختلف