Re: GNS3におけるDHCPサーバーについて

この質問の投稿一覧へ

なし Re: GNS3におけるDHCPサーバーについて

msg# 1.2
depth:
1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2014-2-25 18:06 | 最終変更
ゲスト    投稿数: 0
私も普通に使えましたね。
参考にログも張っておきます。

無いとは思いますが、service dhcp うってみるのはいかがでしょうか。
あと、サーバ側のコンフィグが分かりませんが、IFはアドレス振って開放されてますよね?


Router(config)#hostname DHCP-SV
DHCP-SV(config)#ip dhcp pll ool lan1
DHCP-SV(dhcp-config)#network 10.1.1.0 255.255.255.0
DHCP-SV(dhcp-config)#default-router 10.1.1.254
DHCP-SV(dhcp-config)#end
DHCP-SV#
DHCP-SV#conf t
Enter configuration commands, one per line. End with CNTL/Z.
DHCP-SV(config)#int fa0/0
DHCP-SV(config-if)#ip add
DHCP-SV(config-if)#ip address 10.1.1.254 255.255.255.0
DHCP-SV(config-if)#no shut
DHCP-SV(config-if)#end
DHCP-SV#
DHCP-SV#debug ip dhcp server events
*Mar 1 00:05:22.051: DHCPD: checking for expired leases.
*Mar 1 00:05:57.727: DHCPD: Sending notification of DISCOVER:
*Mar 1 00:05:57.727: DHCPD: htype 1 chaddr c201.1594.0000
*Mar 1 00:05:57.731: DHCPD: remote id 020a00000a0101fe00000000
*Mar 1 00:05:57.731: DHCPD: circuit id 00000000
*Mar 1 00:05:57.735: DHCPD: Seeing if there is an internally specified pool class:
*Mar 1 00:05:57.735: DHCPD: htype 1 chaddr c201.1594.0000
*Mar 1 00:05:57.739: DHCPD: remote id 020a00000a0101fe00000000
*Mar 1 00:05:57.739: DHCPD: circuit id 00000000
*Mar 1 00:05:59.743: DHCPD: Adding binding to radix tree (10.1.1.1)
*Mar 1 00:05:59.743: DHCPD: Adding binding to hash tree
*Mar 1 00:05:59.747: DHCPD: assigned IP address 10.1.1.1 to client 0063.6973.636f.2d63.3230.312e.3135.3934.2e30.3030.302d.4661.302f.30.
*Mar 1 00:05:59.755: DHCPD: Sending notification of ASSIGNMENT:
*Mar 1 00:05:59.759: DHCPD: address 10.1.1.1 mask 255.255.255.0
*Mar 1 00:05:59.759: DHCPD: htype 1 chaddr c201.1594.0000
*Mar 1 00:05:59.763: DHCPD: lease time remaining (secs) = 86400
DHCP-SV#no debug all
All possible debugging has been turned off
DHCP-SV#

-----------------------------------------------------------------

DHCP-CL(config)#int fa0/0
DHCP-CL(config-if)#do show ip int b
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
DHCP-CL(config-if)#ip address dhcp
DHCP-CL(config-if)#no shut
DHCP-CL(config-if)#
*Mar 1 00:05:50.939: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:05:51.939: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
*Mar 1 00:06:02.039: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 10.1.1.1, mask 255.255.255.0, hostname DHCP-CL

DHCP-CL(config-if)#do showip ip int b
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.1.1 YES DHCP up up
FastEthernet0/1 unassigned YES unset administratively down down
DHCP-CL(config-if)#end
DHCP-CL#

投稿ツリー

  >フォーラム検索へ


Copyright (c) 2020 Ping-t All rights reserved.