亚洲欧美精品沙发,日韩在线精品视频,亚洲Av每日更新在线观看,亚洲国产另类一区在线5

<pre id="hdphd"></pre>

  • <div id="hdphd"><small id="hdphd"></small></div>
      學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 網(wǎng)絡(luò)知識(shí) > 路由器 > 路由器設(shè)置 > cisco思科 > 思科靜態(tài)nat與標(biāo)準(zhǔn)acl怎么混合使用(2)

      思科靜態(tài)nat與標(biāo)準(zhǔn)acl怎么混合使用(2)

      時(shí)間: 權(quán)威724 分享

      思科靜態(tài)nat與標(biāo)準(zhǔn)acl怎么混合使用

        --- 4.4.4.2 1.1.1.2 --- ---

        --- 4.4.4.3 1.1.1.3 --- ---

        Router#ping 3.3.3.2

        Type escape sequence to abort.

        Sending 5, 100-byte ICMP Echos to 3.3.3.2, timeout is 2 seconds:

        !!!!!

        Success rate is 100 percent (5/5), round-trip min/avg/max = 62/62/63 ms

        Router#conf

        Configuring from terminal, memory, or network [terminal]?

        Enter configuration commands, one per line. End with CNTL/Z.

        Router(config)#acc

        Router(config)#access-list ?

        <1-99> IP standard access list

        <100-199> IP extended access list

        Router(config)#access-list 1 ?

        deny Specify packets to reject

        permit Specify packets to forward

        remark Access list entry comment

        Router(config)#access-list 1 deny ho

        Router(config)#access-list 1 deny host 1.1.1.2

        Router(config)#access-list 1 per

        Router(config)#access-list 1 permit any

        Router(config)#exit

        %SYS-5-CONFIG_I: Configured from console by console

        Router#show acc

        Router#show access-lists

        Standard IP access list 1

        deny host 1.1.1.2

        permit any

        Router#configure terminal

        Enter configuration commands, one per line. End with CNTL/Z.

        Router(config)#interface fastEthernet 0/0

        Router(config-if)#ip access-group 1 in

        Router(config-if)#no shut

        Router(config-if)#

        Router(config-if)#

        Rourer 1 的配置:

        Router>en

        Router#conf t

        Enter configuration commands, one per line. End with CNTL/Z.

        Router(config)#int f0/0

        Router(config-if)#ip add 3.3.3.1 255.0.0.0

        Router(config-if)#no shutdown

        %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

        %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

        Router(config-if)#

        Router(config-if)#int f0/1

        Router(config-if)#ip add 2.2.2.2 255.0.0.0

        Router(config-if)#no shut

        %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

        %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

        Router(config-if)#

        Router(config-if)#exit

        Router(config)#router rip

        Router(config-router)#net

        Router(config-router)#network 2.0.0.0

        Router(config-router)#network 3.0.0.0

        Router(config-router)#end

        %SYS-5-CONFIG_I: Configured from console by console

        Router#show ip rou

        Router#show ip route

        Codes: C - connected, S - static, I - IGRP, 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, E - EGP

        i - IS-IS, 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

        R 1.0.0.0/8 [120/1] via 2.2.2.1, 00:00:24, FastEthernet0/1

        C 2.0.0.0/8 is directly connected, FastEthernet0/1

        C 3.0.0.0/8 is directly connected, FastEthernet0/0

        R 4.0.0.0/8 [120/1] via 2.2.2.1, 00:00:24, FastEthernet0/1

        Router#ping 4.4.4.2

        Type escape sequence to abort.

        Sending 5, 100-byte ICMP Echos to 4.4.4.2, timeout is 2 seconds:

        !!!!!

        Success rate is 100 percent (5/5), round-trip min/avg/max = 81/91/94 ms

        Router#ping 4.4.4.3

        Type escape sequence to abort.

        Sending 5, 100-byte ICMP Echos to 4.4.4.3, timeout is 2 seconds:

        !!!!!

        Success rate is 100 percent (5/5), round-trip min/avg/max = 63/84/94 ms

        Router#

        在pc1 上的測(cè)試:

        Packet Tracer PC Command Line 1.0

        PC>ping 3.3.3.2

        Pinging 3.3.3.2 with 32 bytes of data:

        Request timed out.

        Request timed out.

        Request timed out.

        Request timed out.

        Ping statistics for 3.3.3.2:

        Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

        PC>ping 1.1.1.1

        Pinging 1.1.1.1 with 32 bytes of data:

        Request timed out.

        Request timed out.

        Request timed out.

        Request timed out.

        Ping statistics for 1.1.1.1:

        Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

        PC>

        看過文章“思科靜態(tài)nat與標(biāo)準(zhǔn)acl怎么混合使用”的人還看了:

        1.思科路由器配置命令

        2.思科路由器怎么進(jìn)入 思科路由器怎么設(shè)置

        3.如何查看Cisco路由器的配置信息

        4.思科路由器配置特點(diǎn)詳細(xì)介紹

        5.思科Cisco路由器的基礎(chǔ)配置知識(shí)

        6.思科如何配置ACE

        7.cisco思科怎么配置無(wú)線AP

        8.思科路由器配置命令大全

      565518