请帮忙
您好,我正在尝试配置网络中的 DHCP 服务器
我的网络布局的NETMAP是
150:0/0 250:0/0
250:0/1 450:0/0
250:1/0 350:0/0
250:1/1 550:0/0`
Say here 150,250,350,450 and 550 represents the router and each interface is connected in the above fashion example the 0/0 interface of router 150 is connected to interface 0/0 of the router 250 and so on.
I am trying to make the router 450 as the DHCP server the config for that is
`!
! Last configuration change at 14:37:39 IST Tue Oct 6 2015
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
clock timezone IST 5 30
!
!
!
!
!
!
!
!
!
ip dhcp excluded-address 10.0.0.1 10.0.0.30
ip dhcp excluded-address 30.0.0.1 30.0.0.20
ip dhcp excluded-address 40.0.0.1 40.0.0.10
!
ip dhcp pool DHCP150
network 10.0.0.0 255.255.255.0
default-router 10.0.0.1 255.255.255.0
!
ip dhcp pool DHCP350
network 30.0.0.0 255.255.255.0
default-router 30.0.0.1 255.255.255.0
!
ip dhcp pool DHCP550
network 40.0.0.0 255.255.255.0
default-router 40.0.0.1 255.255.255.0
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
ip address 20.0.0.2 255.0.0.0
!
interface Ethernet0/1
no ip address
!
interface Ethernet0/2
no ip address
shutdown
!
interface Ethernet0/3
no ip address
shutdown
!
interface Ethernet1/0
no ip address
!
interface Ethernet1/1
no ip address
!
interface Ethernet1/2
no ip address
shutdown
!
interface Ethernet1/3
no ip address
shutdown
!
interface Serial2/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/3
no ip address
shutdown
serial restart-delay 0
!
ip forward-protocol nd
!
!
no ip http server
!
!
!
!
control-plane
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
!
end
你们能告诉我我应该在客户端做什么吗?我想首先我应该在客户端上提供默认路由,以便他们知道如何到达 DHCP 服务器,但即使我试图在客户端上配置 ip 路由。我收到消息,因为每当我执行 sh ip route 时都没有设置最后的网关
此外,所有其他路由器连接的 250 路由器上的配置是
!
! Last configuration change at 14:44:09 IST Tue Oct 6 2015
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
clock timezone IST 5 30
!
!
!
!
!
!
!
!
!
ip dhcp excluded-address 10.0.0.1 10.0.0.30
!
ip dhcp pool DHCP1
network 10.0.0.0 255.0.0.0
default-router 10.0.0.1
dns-server 10.0.0.1
domain-name cisco.local
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
!
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
ip address 10.0.0.1 255.0.0.0
!
interface Ethernet0/1
ip address 20.0.0.1 255.0.0.0
!
interface Ethernet0/2
no ip address
shutdown
!
interface Ethernet0/3
no ip address
shutdown
!
interface Ethernet1/0
ip address 30.0.0.1 255.0.0.0
!
interface Ethernet1/1
ip address 40.0.0.1 255.0.0.0
!
interface Ethernet1/2
no ip address
shutdown
!
interface Ethernet1/3
no ip address
shutdown
!
interface Serial2/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/3
no ip address
shutdown
serial restart-delay 0
!
ip forward-protocol nd
!
!
no ip http server
!
!
!
!
control-plane
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
!
end
!
! Last configuration change at 15:07:25 IST Tue Oct 6 2015
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
clock timezone IST 5 30
!
!
!
!
!
!
!
!
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
!
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
ip address 10.0.0.1 255.255.255.0
!
interface Ethernet0/1
ip address 20.0.0.1 255.255.255.0
!
interface Ethernet0/2
no ip address
shutdown
!
interface Ethernet0/3
no ip address
shutdown
!
interface Ethernet1/0
ip address 30.0.0.1 255.255.255.0
!
interface Ethernet1/1
ip address 40.0.0.1 255.255.255.0
!
interface Ethernet1/2
no ip address
shutdown
!
interface Ethernet1/3
no ip address
shutdown
!
interface Serial2/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial3/3
no ip address
shutdown
serial restart-delay 0
!
ip forward-protocol nd
!
!
no ip http server
!
!
!
!
control-plane
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
!
!
!
end
我正在尝试在客户端上配置默认路由,但表示未设置最后的网关。
