IP Traffic Management With Access Control List Using Cisco Packet Tracer
IP Traffic Management With Access Control List Using Cisco Packet Tracer
net/publication/304627953
IP Traffic Management With Access Control List Using Cisco Packet Tracer
CITATIONS READS
3 2,868
2 authors:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Shipra Suman on 30 June 2016.
1556
All Rights Reserved © 2016 IJSETR
ISSN: 2278 – 7798
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 5, Issue 5, May 2016
1557
All Rights Reserved © 2016 IJSETR
ISSN: 2278 – 7798
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 5, Issue 5, May 2016
port_#/name – Specifies the TCP/UDP port names or A virtual networking model comprising of CISCO routers
numbers. Table 3 and 4 shows TCP and UDP port was developed by using Cisco Packet Tracer simulator as
names and numbers respectively [5]. shown in figure 3 [1].
Table 4. UDP Port Names and Numbers Figure 3.Networking Model in Cisco Packet Tracer
Name Command Number The algoritm for Standard ACL as well as Extended ACL are
Parameter discussed below:
DNS Query dns 53
TFTP tftp 69 A. Standard ACL:
SNMP Snmp 161
IP RIP Rip 520 First step is to configure the CISCO Routers.
The figure 2 shows how to specify or place extended ACL in Configuration of Router0 using RIP protocol is as follows:
a network.
Router>en
Router#config t
Enter configuration commands, one per line. End with
CNTL/Z.
Router(config)#int s2/0
Router(config-if)#ip add 192.168.10.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
1558
All Rights Reserved © 2016 IJSETR
ISSN: 2278 – 7798
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 5, Issue 5, May 2016
Router(config-router)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#write memory
Building configuration...
[OK]
Router>en
Router#config t
Enter configuration commands, one per line. End with
CNTL/Z.
Router(config)#int s2/0
Router(config-if)#ip add 192.168.10.2 255.255.255.0
Figure 4. Configuring PC0
Router(config-if)#clock rate 64000
B. Extended ACL:
Router(config-if)#no shutdown
Similar to standard ACL firstly routers are configured
%LINK-5-CHANGED: Interface Serial2/0, changed state to and then extended numbered ACL is congifured. Figure
up 5 shows the network model for extended ACL.
Router(config-if)#int f0/0
Router(config-if)#ip add
%LINEPROTO-5-UPDOWN: Line protocol on Interface
Serial2/0, changed state to up
192.168.30.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#router rip
Router(config-router)#network 192.168.10.0
Router(config-router)#network 192.168.30.0
Router(config-router)#exit
Router(config)#access-list 10 deny host 192.168.20.2
Figure 5. Extended ACL
Router(config)#access-list 10 permit 192.168.20.0 0.0.0.255
Router(config)#interface fast 0/0
Router(config-if)#ip access-group 10 out Configuration of Router0 using RIP protocol is as follows:
Router(config-if)#end
Router>en
%SYS-5-CONFIG_I: Configured from console by console Router#config t
Router#write memory Enter configuration commands, one per line. End with
Building configuration... CNTL/Z.
[OK] Router(config)#int s2/0
Router# Router(config-if)#ip add 10.10.10.1 255.0.0.0
Router(config-if)#clock rate 64000
Configuration of PC: Router(config-if)#no shutdown
Figure 4 shows the configuration of PC0. %LINK-5-CHANGED: Interface Serial2/0, changed state to
down
Router(config-if)#int f0/0
Router(config-if)#ip add 20.20.20.1 255.0.0.0
Router(config-if)#no shutdown
1559
All Rights Reserved © 2016 IJSETR
ISSN: 2278 – 7798
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 5, Issue 5, May 2016
%LINK-5-CHANGED: Interface FastEthernet0/0, changed Figure 6 shows that when the host i.e. PC1 connected to
state to up Router0 tries to telnet serial port connected to Router1, the
access-list permits the host to route the packets.
%LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet0/0, changed state to up
Router(config-if)#router rip
Router(config-router)#network 10.0.0.0
Router(config-router)#network 20.0.0.0
Router(config-router)#exit
Router(config)#access-list 101 deny tcp host 20.20.20.2
10.10.10.2 0.255.255.255 eq telnet
Router(config)#access-list 101 permit tcp 20.0.0.0
0.255.255.255 10.10.10.2 0.255.255.255 eq telnet
Router(config)#access-list 101 permit ip any any
Router(config)#int f0/0
Router(config-if)#ip access-group 101 in
Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to
up Figure 6. Router0 host can Telnet Router1
%LINEPROTO-5-UPDOWN: Line protocol on Interface
Serial2/0, changed state to up
Router>en
Router#config t
Enter configuration commands, one per line. End with
CNTL/Z.
Router(config)#int s2/0
Router(config-if)#ip add 10.10.10.2 255.0.0.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#int f0/0
Router(config-if)# Figure 7. Router0 can’t Telnet Router1
%LINEPROTO-5-UPDOWN: Line protocol on Interface
Serial2/0, changed state to up Figure 7 shows that when the host i.e. PC0 connected to
ip add 30.30.30.1 255.0.0.0 Router0 tries to telnet serial port connected to Router1, the
Router(config-if)#no shutdown access-list denies the host to route the packets.
1560
All Rights Reserved © 2016 IJSETR
ISSN: 2278 – 7798
International Journal of Science, Engineering and Technology Research (IJSETR)
Volume 5, Issue 5, May 2016
REFERENCES
1561
All Rights Reserved © 2016 IJSETR
View publication stats