DHCP - DHCP 服务器和客户端在 Ethernet 在以太网上的 路由器的配置。-- mac-address aabb.cc00.3c10 -----加上 mac地址。----
来源:互联网 发布:小众电影 知乎 编辑:程序博客网 时间:2024/04/28 23:38
回复: 回复: DHCP - DHCP 服务器和客户端在 Ethernet 在以太网上的 路由器的配置。-- mac-address aabb.cc00.3c10 -----加上 mac地址。------如果还是不可以就果断重启 R101 , ---reload---
LAN2---重启 R101 还是很有效果的, 建议先配置 5.1 DHCP ,在配置 4.2 dhcp snooping .
4.2 Network Security
SW5:
ip dhcp snooping
ip dhcp snooping vlan 100
interface port-channel 35
ip dhcp snooping trust
interface port-channel 45
ip dhcp snooping trust
SW6:
ip dhcp snooping
ip dhcp snooping vlan 100
interface port-channel 36
ip dhcp snooping trust
interface port-channel 46
ip dhcp snooping trust
SW3:
interface vlan 100
ip dhcp relay information trusted
SW4:
interface vlan 100
ip dhcp relay information trusted
R101#relo
R101#reload ?
at Reload at a specific time/date
cancel Cancel pending reload
in Reload after a time interval
reason Reload reason
<cr>
R101#reload
Proceed with reload? [confirm]
*Oct 3 12:08:07.552: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
unix_reload()
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS Software, Linux Software (I86BI_LINUX-ADVENTERPRISEK9-M), Version 15.4(1)T, DEVELOPMENT TEST SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Sat 23-Nov-13 03:28 by prod_rel_team
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
Linux Unix (Intel-x86) processor with 104952K bytes of memory.
Processor board ID 60
8 Ethernet interfaces
64K bytes of NVRAM.
Press RETURN to get started!
*Oct 3 12:08:35.691: %CTS-6-ENV_DATA_START_STATE: Environment Data Download in start state
*Oct 3 12:08:36.800: Installing default VOIPHA services
*Oct 3 12:08:38.389: %LINEPROTO-5-UPDOWN: Line protocol on Interface VoIP-Null0, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet0/1, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet0/2, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet0/3, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet1/0, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet1/1, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet1/2, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet1/3, changed state to up
*Oct 3 12:08:38.683: %SYS-6-CLOCKUPDATE: System clock has been updated from 20:08:38 HKT Mon Oct 3 2016 to 20:08:38 CST Mon Oct 3 2016, configured from console by console.
*Oct 3 12:08:38.775: %SYS-5-CONFIG_I: Configured from memory by console
*Oct 3 12:08:38.870: %SYS-5-RESTART: System restarted --
Cisco IOS Software, Linux Software (I86BI_LINUX-ADVENTERPRISEK9-M), Version 15.4(1)T, DEVELOPMENT TEST SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Sat 23-Nov-13 03:28 by prod_rel_team
*Oct 3 12:08:38.870: %SNMP-5-COLDSTART: SNMP agent on host R101 is undergoing a cold start
*Oct 3 12:08:38.970: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*Oct 3 12:08:38.970: %CRYPTO-6-GDOI_ON_OFF: GDOI is OFF
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/1, changed state to up
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/2, changed state to up
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/3, changed state to up
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/0, changed state to up
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/1, changed state to up
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/2, changed state to up
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/3, changed state to up
*Oct 3 12:08:47.973: %DHCP-6-ADDRESS_ASSIGN: Interface Ethernet0/1 assigned DHCP address 10.2.1.101, mask 255.255.255.0, hostname R101
R101>
R101>
R101>wn
Translating "wn"
Translating "wn"
% Bad IP address or host name
% Unknown command or computer name, or unable to find computer address
R101>
R101>en
R101#
R101#show ip int
R101#show ip interface br
R101#show ip interface brief
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 unassigned YES NVRAM up up
Ethernet0/1 10.2.1.101 YES DHCP up up
Ethernet0/2 unassigned YES NVRAM up up
Ethernet0/3 unassigned YES NVRAM up up
Ethernet1/0 unassigned YES NVRAM up up
Ethernet1/1 unassigned YES NVRAM up up
Ethernet1/2 unassigned YES NVRAM up up
Ethernet1/3 unassigned YES NVRAM up up
R101#
R101#show run
R101#show running-config int
R101#show running-config interface et
R101#show running-config interface ethernet 0/1
Building configuration...
Current configuration : 96 bytes
!
interface Ethernet0/1
mac-address aabb.cc00.3c10
ip address dhcp client-id Ethernet0/1
end
R101#
R101#reload ?
at Reload at a specific time/date
cancel Cancel pending reload
in Reload after a time interval
reason Reload reason
<cr>
R101#reload
Proceed with reload? [confirm]
*Oct 3 12:08:07.552: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
unix_reload()
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS Software, Linux Software (I86BI_LINUX-ADVENTERPRISEK9-M), Version 15.4(1)T, DEVELOPMENT TEST SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Sat 23-Nov-13 03:28 by prod_rel_team
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
Linux Unix (Intel-x86) processor with 104952K bytes of memory.
Processor board ID 60
8 Ethernet interfaces
64K bytes of NVRAM.
Press RETURN to get started!
*Oct 3 12:08:35.691: %CTS-6-ENV_DATA_START_STATE: Environment Data Download in start state
*Oct 3 12:08:36.800: Installing default VOIPHA services
*Oct 3 12:08:38.389: %LINEPROTO-5-UPDOWN: Line protocol on Interface VoIP-Null0, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet0/1, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet0/2, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet0/3, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet1/0, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet1/1, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet1/2, changed state to up
*Oct 3 12:08:38.390: %LINK-3-UPDOWN: Interface Ethernet1/3, changed state to up
*Oct 3 12:08:38.683: %SYS-6-CLOCKUPDATE: System clock has been updated from 20:08:38 HKT Mon Oct 3 2016 to 20:08:38 CST Mon Oct 3 2016, configured from console by console.
*Oct 3 12:08:38.775: %SYS-5-CONFIG_I: Configured from memory by console
*Oct 3 12:08:38.870: %SYS-5-RESTART: System restarted --
Cisco IOS Software, Linux Software (I86BI_LINUX-ADVENTERPRISEK9-M), Version 15.4(1)T, DEVELOPMENT TEST SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Sat 23-Nov-13 03:28 by prod_rel_team
*Oct 3 12:08:38.870: %SNMP-5-COLDSTART: SNMP agent on host R101 is undergoing a cold start
*Oct 3 12:08:38.970: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*Oct 3 12:08:38.970: %CRYPTO-6-GDOI_ON_OFF: GDOI is OFF
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/1, changed state to up
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/2, changed state to up
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/3, changed state to up
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/0, changed state to up
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/1, changed state to up
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/2, changed state to up
*Oct 3 12:08:39.393: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/3, changed state to up
*Oct 3 12:08:47.973: %DHCP-6-ADDRESS_ASSIGN: Interface Ethernet0/1 assigned DHCP address 10.2.1.101, mask 255.255.255.0, hostname R101
R101>
R101>
R101>wn
Translating "wn"
Translating "wn"
% Bad IP address or host name
% Unknown command or computer name, or unable to find computer address
R101>
R101>en
R101#
R101#show ip int
R101#show ip interface br
R101#show ip interface brief
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 unassigned YES NVRAM up up
Ethernet0/1 10.2.1.101 YES DHCP up up
Ethernet0/2 unassigned YES NVRAM up up
Ethernet0/3 unassigned YES NVRAM up up
Ethernet1/0 unassigned YES NVRAM up up
Ethernet1/1 unassigned YES NVRAM up up
Ethernet1/2 unassigned YES NVRAM up up
Ethernet1/3 unassigned YES NVRAM up up
R101#
R101#show run
R101#show running-config int
R101#show running-config interface et
R101#show running-config interface ethernet 0/1
Building configuration...
Current configuration : 96 bytes
!
interface Ethernet0/1
mac-address aabb.cc00.3c10
ip address dhcp client-id Ethernet0/1
end
R101#
---------------------------------------
5.1 Centralized DHCP
R15:
ip dhcp pool server
network 10.2.1.0 255.255.255.0
default-router 10.2.1.1
ip dhcp pool R101
host 10.2.1.101 255.255.255.0
client-identifier 01aa.bbcc.003c.10
default-router 10.2.1.1
---show interfaces ethernet 0/1-在R101上看。
ip dhcp excluded-address 10.2.1.1
ip dhcp excluded-address 10.2.1.253
ip dhcp excluded-address 10.2.1.254
SW3:
interface vlan 100
ip helper-address 10.255.1.15
SW4:
interface vlan 100
ip helper-address 10.255.1.15
R101:
interface e 0/1
ip address dhcp client-id eth 0/1-----------------------------------------------------考试如果不可以就 -interface Ethernet0/1mac-address aabb.cc00.3c10 -----加上 mac地址。------如果还是不可以就果断重启 R101 , ---reload---
ip address dhcp client-id Ethernet0/1
end考试如果不可以就showR101#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID Local Intrfce Holdtme Capability Platform Port ID
SW06 Eth 0/1 178 R S Linux Uni Eth 0/1
Total cdp entries displayed : 1
R101#
R101#show int
R101#show interfaces et
R101#show interfaces ethernet 0/1
Ethernet0/1 is up, line protocol is up
Hardware is AmdP2, address is aabb.cc00.3c10 (bia aabb.cc00.3c10)
Internet address is 10.2.1.101/24
MTU 1500 bytes, BW 10000 Kbit/sec, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)----------------R101#show running-config interface ethernet 0/1
Building configuration...
Current configuration : 96 bytes
!
interface Ethernet0/1
mac-address aabb.cc00.3c10
ip address dhcp client-id Ethernet0/1
end
0 0
- DHCP - DHCP 服务器和客户端在 Ethernet 在以太网上的 路由器的配置。-- mac-address aabb.cc00.3c10 -----加上 mac地址。----
- 在Linux中DHCP服务器的配置
- Linux DHCP的log中提取MAC和IP地址.
- 配置非DHCP下的IP和MAC绑定
- ATSAMV7Xult板卡调试Nuttx系统----以太网卡与DHCP客户端的配置和调试
- 在Win 2008配置DHCP分发IPV6的地址
- 路由器DHCP服务配置----接口地址池和全局地址池的配置
- DHCP服务器的配置
- DHCP 服务器的配置
- dhcp服务器的配置
- 解决在DHCP环境下私自指定ip和私自搭建dhcp服务器的方法
- DHCP 服务器的安装和配置
- DHCP 服务器的安装和配置
- 解析路由器上的DHCP服务器是什么
- PXE服务和Cisco路由器上的DHCP配置
- Linux DHCP 服务器的配置
- VMWare的NAT配置( DHCP和固定IP配置)适用于Linux或者Mac
- 路由器DHCP的配置详细方法
- spring+mybatis通用dao层、service层的一些个人理解与实现
- adb操作命令详解及大全
- Android系统:Google Search的问题点
- KEIL获取工程编译时间
- 全文检索引擎Solr系列—–全文检索基本原理
- DHCP - DHCP 服务器和客户端在 Ethernet 在以太网上的 路由器的配置。-- mac-address aabb.cc00.3c10 -----加上 mac地址。----
- Java读写json
- 正则语法
- html的map热力图(一)
- Treap
- 漫步数学分析番外二(下)
- spring mvc文件下载 及 ajax异步上传图片
- ios 侧滑事件的添加
- pandas中的绘图函数