当前位置: 首页 > 编程日记 > 正文

NA-NP-IE系列实验36:扩展ACL

实验36:扩展ACL
1.实验目的
通过本实验可以掌握:
(1)定义扩展ACL
(2)应用扩展ACL
(3)扩展ACL 调试
2.拓扑结构
实验拓扑如图所示。
3.实验步骤
注:本实验要求不允许1.1.1.1 所在网段访问路由器R2 2.2.2.2所在的网段
r0(config)#int loo 1
r0(config-if)#ip add 1.
*Mar  1 00:08:34.227: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
r0(config-if)#ip add 1.1.1.1 255.255.255.0
r0(config-if)#int s0/0
r0(config-if)#ip add 172.16.1.1 255.255.255.0
r0(config-if)#no sh
r0(config-if)#
*Mar  1 00:09:47.687: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
r0(config-if)#do ping 172.16.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/25/76 ms
r0(config-if)#exit
r0(config)#router ospf 1
r0(config-router)#net 1.1.1.0 0.0.0.255 area 0
r0(config-router)#net 172.16.1.0 0.0.0.255 area 0
r0(config-router)#
*Mar  1 00:12:03.559: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.2.1 on Serial0/0 from LOADING to FULL, Loading Done
r0(config-router)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Loopback1
2.0.0.0/32 is subnetted, 1 subnets
O       2.2.2.2 [110/129] via 172.16.1.2, 00:00:19, Serial0/0OSPF路由中出现主机条目是不太允许,所以用ip ospf net point-to-point 来解决,如下
172.16.0.0/24 is subnetted, 2 subnets
C       172.16.1.0 is directly connected, Serial0/0
O       172.16.2.0 [110/128] via 172.16.1.2, 00:01:02, Serial0/0
r0(config-router)#exit
r0(config)#int loo 1
r0(config-if)#ip ospf net point-to-point
r0(config-if)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Loopback1
2.0.0.0/24 is subnetted, 1 subnets
O       2.2.2.0 [110/129] via 172.16.1.2, 00:00:05, Serial0/0
172.16.0.0/24 is subnetted, 2 subnets
C       172.16.1.0 is directly connected, Serial0/0
O       172.16.2.0 [110/128] via 172.16.1.2, 00:00:37, Serial0/0
r0(config-if)#do ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
U.U.U
Success rate is 0 percent (0/5)
r0(config-if)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Loopback1
172.16.0.0/24 is subnetted, 1 subnets
C       172.16.1.0 is directly connected, Serial0/0
r0(config-if)#do ping 172.16.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
U.U.U
Success rate is 0 percent (0/5)
上面PING不通是因为在R1上配置ACL时,漏了一条语句:r1(config)#access-list 101 permit ip any any
r0(config-if)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
     1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Loopback1
     172.16.0.0/24 is subnetted, 1 subnets
C       172.16.1.0 is directly connected, Serial0/0
r0(config-if)#exit
r0(config)#
*Mar  1 00:20:43.583: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.2.1 on Serial0/0 from LOADING to FULL, Loading Done
r0(config)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, Loopback1
     2.0.0.0/24 is subnetted, 1 subnets
O       2.2.2.0 [110/129] via 172.16.1.2, 00:01:48, Serial0/0
     172.16.0.0/24 is subnetted, 2 subnets
C       172.16.1.0 is directly connected, Serial0/0
O       172.16.2.0 [110/128] via 172.16.1.2, 00:01:48, Serial0/0
 
r0(config)#do ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/36/72 ms
r0(config)#do ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/51/92 ms
r0(config)#do ping 2.2.2.2 source  1.1.1.1 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
U.U.U
Success rate is 0 percent (0/5)
r0(config)#
r1(config)#int s0/0
r1(config-if)#ip add 172.16.1.2 255.255.255.0
r1(config-if)#no sh
r1(config-if)#exit
r1(config)#int
*Mar  1 00:09:45.027: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up
r1(config)#int s0
*Mar  1 00:09:46.031: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
r1(config)#int s0/1
r1(config-if)#ip add 172.16.2.1 255.255.255.0
r1(config-if)#no sh
r1(config-if)#
*Mar  1 00:10:04.615: %LINK-3-UPDOWN: Interface Serial0/1, changed state to up
r1(config-if)#
*Mar  1 00:10:05.619: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up
r1(config-if)#exit
r1(config)#router ospf 1
r1(config-router)#net 172.16.1.0 0.0.0.255 area 0
r1(config-router)#net 172
*Mar  1 00:12:03.719: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/0 from LOADING to FULL, Loading Done
r1(config-router)#net 172.16.2.0 0.0.0.255 area 0
r1(config-router)#
*Mar  1 00:12:46.567: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial0/1 from LOADING to FULL, Loading Done
r1(config-router)#exit
r1(config)#access-list 101 deny ip 1.1.1.0 0.0.0.255 2.2.2.0 0.0.0.255
r1(config)#int s0/0
r1(config-if)#ip access-group 101 in
r1(config-if)#do sh access-list 101
Extended IP access list 101
10 deny ip 1.1.1.0 0.0.0.255 2.2.2.0 0.0.0.255
r1(config-if)#
*Mar  1 00:17:03.847: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/0 from FULL to DOWN, Neighbor Down: Dead timer expired
r1(config-if)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
2.0.0.0/24 is subnetted, 1 subnets
O       2.2.2.0 [110/65] via 172.16.2.2, 00:04:06, Serial0/1
172.16.0.0/24 is subnetted, 2 subnets
C       172.16.1.0 is directly connected, Serial0/0
C       172.16.2.0 is directly connected, Serial0/1
r1(config-if)#exit
r1(config)#no access-list 101
r1(config)#do sh
*Mar  1 00:20:43.723: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/0 from LOADING to FULL, Loading Done
r1(config)#access-list 101 deny ip 1.1.1.0 0.0.0.255 2.2.2.0 0.0.0.255
r1(config)#access-list 101 permit ip any any
r1(config)#int s0/0
r1(config-if)#ip access 101 in
r1(config-if)#do sh access-list 101
Extended IP access list 101
10 deny ip 1.1.1.0 0.0.0.255 2.2.2.0 0.0.0.255
20 permit ip any any (4 matches)
r1(config-if)#
r2(config)#int s0/0
r2(config-if)#ip add 172.16.2.2 255.255.255.0
r2(config-if)#no sh
r2(config-if)#exit
r2(config)#int loo
*Mar  1 00:10:37.303: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up
*Mar  1 00:10:38.303: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
r2(config)#int loo 1
r2(config-if)#ip add 2..2
*Mar  1 00:10:40.707: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
r2(config-if)#ip add 2.2.2.2 255.255.255.0
r2(config-if)#do ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/21/40 ms
r2(config-if)#exit
r2(config)#router ospf 1
r2(config-router)#net 2.2.2.0 0.0.0.255 area 0
r2(config-router)#net 172.16.2.0 0.0.0.255 area 0
r2(config-router)#
*Mar  1 00:12:46.399: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.2.1 on Serial0/0 from LOADING to FULL, Loading Done
r2(config-router)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
O       1.1.1.1 [110/129] via 172.16.2.1, 00:00:18, Serial0/0
2.0.0.0/24 is subnetted, 1 subnets
C       2.2.2.0 is directly connected, Loopback1
172.16.0.0/24 is subnetted, 2 subnets
O       172.16.1.0 [110/128] via 172.16.2.1, 00:00:18, Serial0/0
C       172.16.2.0 is directly connected, Serial0/0
r2(config-router)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
O       1.1.1.0 [110/129] via 172.16.2.1, 00:00:04, Serial0/0
2.0.0.0/24 is subnetted, 1 subnets
C       2.2.2.0 is directly connected, Loopback1
172.16.0.0/24 is subnetted, 2 subnets
O       172.16.1.0 [110/128] via 172.16.2.1, 00:01:11, Serial0/0
C       172.16.2.0 is directly connected, Serial0/0
r2(config-router)#exit
r2(config)#int loo 1
r2(config-if)#ip ospf net point-to-point
r2(config-if)#do ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
r2(config-if)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
2.0.0.0/24 is subnetted, 1 subnets
C       2.2.2.0 is directly connected, Loopback1
172.16.0.0/24 is subnetted, 2 subnets
O       172.16.1.0 [110/128] via 172.16.2.1, 00:03:01, Serial0/0
C       172.16.2.0 is directly connected, Serial0/0
r2(config-if)#do sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
O       1.1.1.0 [110/129] via 172.16.2.1, 00:01:53, Serial0/0
2.0.0.0/24 is subnetted, 1 subnets
C       2.2.2.0 is directly connected, Loopback1
172.16.0.0/24 is subnetted, 2 subnets
O       172.16.1.0 [110/128] via 172.16.2.1, 00:08:21, Serial0/0
C       172.16.2.0 is directly connected, Serial0/0
r2(config-if)#


本文转自gauyanm 51CTO博客,原文链接:http://blog.51cto.com/gauyanm/239537,如需转载请自行联系原作者

相关文章:

题目 1470:【蓝桥杯】【入门题】【基础练习VIP】时间转换

题目 1470&#xff1a;时间转换 蓝桥杯刷题群已成立&#xff0c;微信后台回复【蓝桥杯】&#xff0c;即可进入。 如果加入了之前的社群不需要重复加入。 时间限制: 1Sec 内存限制: 128MB 1. 题目描述 给定一个以秒为单位的时间t&#xff0c;要求用 “< H> :< M> …

Android如何防止apk程序被反编译

作为Android应用开发者&#xff0c;不得不面对一个尴尬的局面&#xff0c;就是自己辛辛苦苦开发的应用可以被别人很轻易的就反编译出来。Google似乎也发现了这个问题&#xff0c;从SDK2.3开始我们可以看到在android-sdk-windows\tools\下面多了一个proguard文件夹 proguard是一…

java培训:什么是抽象类?怎么定义?

什么是抽象类?怎么定义?这是属于java技术里面的一个知识点&#xff0c;本期教程就是围绕这个问题做的相关介绍&#xff0c;当定义一个类时&#xff0c;常常需要定义一些成员方法描述类的行为特征&#xff0c;但有时这些方法的实现方式是无法确定的。例如&#xff0c;在定义An…

题目 1093:【蓝桥杯】【入门题】字符逆序

题目 1093&#xff1a;字符逆序 蓝桥杯刷题群已成立&#xff0c;微信后台回复【蓝桥杯】&#xff0c;即可进入。 如果加入了之前的社群不需要重复加入。 时间限制: 1Sec 内存限制: 64MB 1. 题目描述 将一个字符串str的内容颠倒过来&#xff0c;并输出。str的长度不超过100个字…

一款腾讯UED设计的提示插件(使用教程)

这是一款腾讯UED设计的提示插件&#xff0c;看着肯定很眼熟吧&#xff0c;闲话不多说&#xff0c;直接上demo吧。 显示 ZENG.msgbox.show(提示信息,图标类型);隐藏&#xff1a; ZENG.msgbox._hide();几秒后自动隐藏&#xff1a; ZENG.msgbox.show(提示信息,图标类型,显示时长);…

互联网企业的移动布局

转载于:https://www.cnblogs.com/deve/archive/2012/06/13/2568988.html

女生学软件测试有哪些优势

对于软件测试这个岗位&#xff0c;相信大家都有听说过&#xff0c;最近几年&#xff0c;越来越多的女性加入到互联网技术行业&#xff0c;选择最多的岗位就是软件测试&#xff0c;那么到底女生学软件测试有哪些优势呢?来看看下面的详细介绍。 女生学软件测试有哪些优势?首先咱…

常见http状态码说明(转)

首先要先了解下什么是HTTP状态码&#xff1a;HTTP状态码&#xff08;HTTP Status Code&#xff09;是用以表示网页服务器HTTP响应状态的3位数字代码。每当客户端向Web服务器发送一个HTTP请求时&#xff0c;服务器都会返回一个响应代码。而这些响应代码主要分成五类&#xff1a;…

题目 1471:【蓝桥杯】【入门题】【基础练习VIP】矩形面积交

题目 1471&#xff1a;矩形面积交 蓝桥杯刷题群已成立&#xff0c;微信后台回复【蓝桥杯】&#xff0c;即可进入。 如果加入了之前的社群不需要重复加入。 时间限制: 1Sec 内存限制: 128MB 1. 题目描述 平面上有两个矩形&#xff0c;它们的边平行于直角坐标系的X轴或Y轴。对于…

Windows Server 2012关闭Server Manager开机自启动

最近将办公系统改为了Windows Server 2012使用起来个人感觉比较方便&#xff0c;且对服务器管理也变得更加方便&#xff0c;但是用做办公我又不喜欢Server Manager每次开机都启动&#xff0c;当然如果是生产用的服务器还是应该开启的&#xff0c;这样可以在这里直观看到当前服务…

学javascript有哪些开发工具

学习web前端技术&#xff0c;辅助工具是在学习过程中必须要用到的&#xff0c;包括后面的工作中&#xff0c;辅助工具可以更快的提高我们的工作效率&#xff0c;下面小编就为大家整理了学javascript需要用到的开发工具。 学javascript有哪些开发工具&#xff1a; 1.HBuilder HB…

python冒泡排序与常用数学计算

一 、冒泡排序: 冒泡排序: 属于交换排序; 两两比较大小,交换位置,如同水泡大的往上(右)跑; n个数从左至右编号从0到n-1,索引0和1比较,如果索引0大,则交换两者位置; 如果索引1大则不用交换继续比较索引1和2的值,将大值放在右侧,直到n-2和n-1 比较完,第一轮比较完成,第二轮从索引…

题目 1477:【蓝桥杯】【入门题】字符串输入输出函数

题目 1477&#xff1a;字符串输入输出函数 蓝桥杯刷题群已成立&#xff0c;微信后台回复【蓝桥杯】&#xff0c;即可进入。 如果加入了之前的社群不需要重复加入。 时间限制: 1Sec 内存限制: 128MB 1. 题目描述 编写函数GetReal和GetString&#xff0c;在main函数中分别调用这…

Android游戏开发基础part2--Canvas画布

游戏开发基础part2--Canvas画布 又过了一周才继续做总结&#xff0c;四级结束了&#xff0c;应该可以多点时间学习游戏编程了。 Canvas画布类是一个在游戏当中担当非常重要的角色&#xff0c;它可以绘制出不同的图形和图片&#xff0c;可以说没有了画布就不能做出画面炫丽的游戏…

JavaScript有哪三部分组成?

在学习web前端技术时&#xff0c;最常见的也是需要最着重学习的就是JavaScript这一方面&#xff0c;工作中也是会经常用到的&#xff0c;那么JavaScript有哪三部分组成呢?来看看下面的详细介绍。 JavaScript有哪三部分组成? JavaScript的组成 JavaScript由ECMScript、BOM和DO…

【蓝桥杯】【入门题】【算法提高VIP】1480:模拟计算器

题目 1480&#xff1a;模拟计算器 蓝桥杯刷题群已成立&#xff0c;微信后台回复【蓝桥杯】&#xff0c;即可进入。 如果加入了之前的社群不需要重复加入。 时间限制: 1Sec 内存限制: 128MB 1. 题目描述 使用Switch语句编写一个模拟简单计算器的程序。依次输入两个整数和一个字…

《c和指针》笔记5

递归 C通过运行时堆栈支持递归函数。的哦贵函数就是直接或间接调用自身的函数。 递归函数所需要的2个特性&#xff1a; 1、存在限制条件&#xff0c;当符合这个条件时递归便不再继续。 2、每次调用之后越来越接近这个限制条件。 递归函数在实现方面更加接近问题的抽象定义&…

怎么获得combobox的valueField值

var a; var dwField new Ext.form.ComboBox({ fieldLabel:管理员, mode: local, width:70, id:user_name, …

哪些人适合学习java技术

java技术在互联网行业一直都是非常重要的存在&#xff0c;学习java技术只会多不会少&#xff0c;那么目前哪些人适合学习java技术呢?来看看下面的详细介绍就知道了。 哪些人适合学习java技术? 1.在家待业人员&#xff0c;没有明确的目标&#xff0c;不知道自己想要什么&#…

AS3版本的MaxRects算法测试

早上&#xff0c;在微博发现一条信息&#xff0c;关于MaxRects算法的&#xff0c;杜增强DzQ 移植的关于AS3版本的MaxRects算法&#xff0c;具体地址是&#xff1a;http://www.duzengqiang.com/blog/post/971.html 代码如下&#xff1a; /* Based on the Public Domain MaxRecta…

android 52 粘滞广播

粘滞广播&#xff1a;广播发送出去以后&#xff0c;广播接收者还没有创建&#xff0c;当广播接收者注册的时候就可以接收&#xff0c;如果不是粘滞广播则如果没有广播接收者就以后不能再接收了。 mainActivity: package com.sxt.day07_07;import android.app.Activity; import …

【蓝桥杯】【入门题】【算法提高VIP】1481:剪刀石头布

题目 1481&#xff1a;剪刀石头布 蓝桥杯刷题群已成立&#xff0c;微信后台回复【蓝桥杯】&#xff0c;即可进入。 如果加入了之前的社群不需要重复加入。 时间限制: 1Sec 内存限制: 128MB 1. 题目描述 编写程序实现“剪刀&#xff0c;石头&#xff0c;布”游戏。在这个游戏中…

UI设计培训学习中必须掌握的设计原则

不管是刚开始学习UI设计或者已经在学习UI设计同学中&#xff0c;UI设计的设计原则都是非常重要的&#xff0c;需要大家去重点关注的&#xff0c;下面小编就为大家详细的介绍一下UI设计培训学习中必须掌握的设计原则。 UI设计培训学习中必须掌握的设计原则&#xff1a; 重复 在平…

【复盘】如何培养小朋友的编程能力?

Scratch家长群已成立&#xff0c;微信后台回复【Scratch家长群】&#xff0c;即可进入。 如果加入了之前的社群不需要重复加入。 前几天&#xff0c;我在得到听了 邵慧宁的故事&#xff0c;就想着把游戏化的思维应用于培养自己孩子的编程能力上&#xff0c;并邀请志同道合的家长…

ubuntu系统下载编译android源码

在ubuntu系统下编译android需要注意的事项&#xff1a;1. 参考http://source.android.com/中的安装说明。2. 安装JDK6中碰到的问题可以参考http://hi.baidu.com/designhouse/item/0dbece7c4f6af0376e29f6c1中的说明&#xff0c;记得配置环境变量。3. 下载代码时如果出现timeout…

[windows server 2008 站点系列五]一招加速域用戶的文件查找速度

在企业IT基础环境中&#xff0c;文件服务器的应用越来越平凡&#xff0c;而文件服务器的数量也随之增多。作为IT应用人员习惯性的从管理者的角度出发&#xff0c;找寻DFS等帮助简化管理维护的解决方案。但是&#xff0c;另一方面&#xff0c;企业用户往往很难在为数众多的文件服…

在web.xml文件中配置Servlet时,主要配置哪些信息?

web前端的学习内容是比较多的&#xff0c;其中有一部分就是关于在web.xml文件中配置Servlet时的相关内容&#xff0c;在web.xml文件中配置Servlet时&#xff0c;主要配置哪些信息?来看看下面的详细介绍。 使用IDE开发Servlet时&#xff0c;配置信息可以通过可视化方式定义。然…

Oracle Study之--ORA-12537(TNS:connection closed) 错误案例

系统环境&#xff1a; 操作系统&#xff1a;RedHat EL55 Cluster&#xff1a; Oracle 11gR2 GRID Oracle&#xff1a; Oracle 11gR2 在构建Oracle 11gR2 RAC时出现以下错误&#xff1a; 1、建库时 2、Listener 日志信息 3、客户端连接错误信息 解决方案&#xff1a; 123456789…

MEF: MSDN 杂志上的文章(9) 控制部件创建策略 ???

http://msdn.microsoft.com/zh-cn/magazine/ee291628.aspx 默认情况下&#xff0c;容器中的所有部件实例都是单例&#xff0c;因而由在容器中导入它们的所有部件共享。因此&#xff0c;SalesOrderView 和 ViewFactory 的所有导入程序都将获得同一实例。在很多情况下需要这样&am…

【青少年编程】绘制等腰直角三角形

Scratch竞赛交流群已成立&#xff08;适合6至18周岁的青少年&#xff09;&#xff0c;公众号后台回复【Scratch】&#xff0c;即可进入。 如果加入了之前的社群不需要重复加入。 类比思维就是指把两个或者两类事物进行比较&#xff0c;并进行逻辑推理&#xff0c;找出两者之间的…