Network Design Using Access Controls and Voip
Network Design Using Access Controls and Voip
CONTENTS
Abstract
Network
Topology
Frame Relay
DHCP
Routing Protocol
VLAN
Telnet
ACL
VoIP
ABSTRACT
To
NETWORK TOPOLOGY
Network description
Router configuration
Router 1
Router>en
Router#conf t
Router(config)#int s 0/2/0
Router(config-if)#ip addr 192.168.0.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int s0/3/0
Router(config-if)#ip addr 192.168.1.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int f0/0
Router(config-if)#ip addr 172.21.0.1 255.255.0.0
Router(config-if)#no shut
Router(config)#int f0/1
Router(config-if)#ip addr 172.20.0.1 255.255.0.0
Router(config-if)#no shut
Contd...
Router2
Router>en
Router#conf t
Router(config)#int s0/2/0
Router(config-if)#ip addr 192.168.0.2 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int s0/3/0
Router(config-if)#ip addr 192.168.2.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int f0/0
Router(config-if)#ip addr 172.17.0.1 255.255.0.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int f0/1
Router(config-if)#ip addr 172.16.0.1 255.255.0.0
Router(config-if)#no shut
Router(config-if)#exit
contd..
Router3
Router>en
Router#conf t
Router(config)#int s0/3/0
Router(config-if)#ip addr 192.168.1.2 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int s0/2/0
Router(config-if)#ip addr 192.168.2.2 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int f0/0
Router(config-if)#ip addr 172.19.0.1 255.255.0.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int f0/1
Router(config-if)#ip addr 172.18.0.1 255.255.0.0
Router(config-if)#no shut
Router(config-if)#exit
Frame-Relay
Frame
relay is a telecommunication
service designed for cost-efficient data
transmission for intermittent traffic
between local area networks (LANs)
and between end-points in a wide area
network (WAN). Frame relay puts data
in a variable-size unit called a frame
and leaves any necessary error
correction (retransmission of data) up
to the end-points, which speeds up
overall data transmission.
Frame-relay configuration
Frame-relay config.
Router1 (frame-relay)
Router(config)#int s0/2/0
Router(config-if)#encapsulation frame-relay
Router(config-if)#frame-relay lmi-type cisco
Router(config-if)#frame-relay interface-dlci 102
Router(config-if)#no shut
Router3 (frame-relay)
Router(config)#int s0/2/0
Router(config-if)#encapsulation frame-relay
Router(config-if)#frame-relay lmi-type cisco
Router(config-if)#frame-relay interface-dlci 201
Router(config-if)#no shut
DHCP
DHCP Config.
Router1
Router(config)#ip dhcp pool R1
Router(dhcp-config)#network 172.20.0.0
255.255.0.0
Router(dhcp-config)#default-router 172.20.0.1
Router(dhcp-config)#exit
contd
Router2
Router(config)#ip dhcp pool R2
Router(dhcp-config)#network 172.17.0.0
255.255.0.0
Router(dhcp-config)#default-router 172.17.0.1
Router(dhcp-config)#exit
Router3
Router(config)#ip dhcp pool R3
Router(dhcp-config)#network 172.19.0.0
255.255.0.0
Router(dhcp-config)#default-router 172.18.0.1
Router(dhcp-config)#exit
RIP
RIP Config.
Router1
Router(config)#router rip
Router(config-router)#network
192.168.0.0
Router(config-router)#network
192.168.1.0
Router(config-router)#network 172.20.0.0
Router(config-router)#network 172.21.0.0
contd
Router2
Router(config)#router rip
Router(config-router)#network
Router(config-router)#network
Router(config-router)#network
Router(config-router)#network
192.168.0.0
192.168.2.0
172.16.0.0
172.17.0.0
Router3
Router(config)#router rip
Router(config-router)#network
Router(config-router)#network
Router(config-router)#network
Router(config-router)#network
192.168.1.0
192.168.2.0
172.18.0.0
172.19.0.0
VLAN
Vlan config.
Switch1
Switch>en
Switch#conf t
Switch(config)#vlan 2
Switch(config-vlan)#name HR
Switch(config-vlan)#exit
Switch(config)#vlan 3
Switch(config-vlan)#name AC
Switch(config-vlan)#exit
Switch(config)#vlan 2
Switch(config-vlan)#int f0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-if)#int f0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-if)#exit
contd.
Switch(config)#vlan 3
Switch(config-vlan)#int f0/5
Switch(config-if)#switchport
Switch(config-if)#switchport
Switch(config-if)#int f0/6
Switch(config-if)#switchport
Switch(config-if)#switchport
Switch(config-if)#exit
mode access
access vlan 3
mode access
access vlan 3
Switch(config)#int f0/2
Switch(config-if)#switchport mode trunk
(trunk is used to connect one switch with another
switch)
contd
Switch7
Switch(config)#vlan 2
Switch(config-vlan)#int f0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-if)#int f0/3
Switch(config-if)#switchport mode access
83
Switch(config-if)#switchport access vlan 2
Switch(config-if)#exit
contd.
Switch(config)#vlan 3
Switch(config-vlan)#int f0/4
Switch(config-if)#switchport
Switch(config-if)#switchport
Switch(config-if)#int f0/5
Switch(config-if)#switchport
Switch(config-if)#switchport
Switch(config-if)#exit
mode access
access vlan 3
mode access
access vlan 3
Switch(config)#int f0/1
Switch(config-if)#switchport mode trunk
TELNET
Telnet
Telnet configuration on
router2 & router3
Router2
Router(config)#line vty 0 4
Router(config-line)#password ccna1
Router(config-line)#login
Router(config-line)#exit
Router(config)#enable password ccie
Router3
Router(config)#line vty 0 4
Router(config-line)#password ccna2
Router(config-line)#login
Router(config-line)#exit
Router(config)#enable password ccie1
Accessing router 2
VOIP
Voice
Protocols in Voip
DHCP
CALL
MANAGER EXPRESS
PHONE DIRECTORY
DIAL PEER CONFIGURATION
Router3
Router(config)#ip dhcp pool voice
Router(dhcp-config)#network 172.18.0.0
255.255.0.0
Router(dhcp-config)#default-router
172.18.0.1
Router(dhcp-config)#option 150 ip
172.18.0.1
Router(dhcp-config)#exit
contd..
Router2
Router(config)#telephony-service
Router(config-telephony)#max-dn 5
Router(config-telephony)#max-ephones 5
Router(config-telephony)#ip source-addr 172.16.0.1 port 2005 77
Router(config-telephony)#auto assign 4 to 6
Router(config-telephony)#auto assign 1 to 5
Router(config-telephony)#exit
Router3
Router(config)#telephony-service
Router(config-telephony)#max-dn 5
Router(config-telephony)#max-ephones 5
Router(config-telephony)#ip source-addr 172.18.0.1 port 2010
Router(config-telephony)#auto assign 4 to 6
Router(config-telephony)#auto assign 1 to 5
Router(config-telephony)#exit
contd
Switch0
Switch(config)#int range f0/1-5
Switch(config-if-range)#switchport
Switch(config-if-range)#switchport
Switch(config-if-range)#exit
Switch5
Switch(config)#int range f0/1-5
Switch(config-if-range)#switchport
Switch(config-if-range)#switchport
Switch(config-if-range)#exit
Switch4
Switch(config)#int range f0/1-5
Switch(config-if-range)#switchport
Switch(config-if-range)#switchport
Switch(config-if-range)#exit
contd.
mode access
voice vlan 1
mode access
voice vlan 1
mode access
voice vlan 1
Router2
Router(config)#ephone-dn 1
Router(config-ephone-dn)#number
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 1
Router(config-ephone-dn)#number
Router(config-ephone-dn)#exit
Router 3
Router(config)#ephone-dn 1
Router(config-ephone-dn)#number
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 1
Router(config-ephone-dn)#number
Router(config-ephone-dn)#exit
contd
2101
2102
3101
3102
Dial-Peer config.
Router1
Router(config)#dial-peer voice 1 voip
Router(config-dial-peer)#destination-pattern 2...
Router(config-dial-peer)#session target
ipv4:192.168.0.2
Router(config-dial-peer)#exit
Router(config)#dial-peer voice 2 voip
Router(config-dial-peer)#destination-pattern 3...
Router(config-dial-peer)#session target
ipv4:192.168.1.2
Router(config-dial-peer)#exit
contd
Router2
Router(config)#dial-peer voice 3 voip
Router(config-dial-peer)#destination-pattern 1...
Router(config-dial-peer)#session target ipv4:192.168.0.1
Router(config-dial-peer)#exit
Router(config)#dial-peer voice 5 voip
Router(config-dial-peer)#destination-pattern 3...
Router(config-dial-peer)#session target ipv4:192.168.2.2
Router(config-dial-peer)#exit
Router3
Router(config)#dial-peer voice 4 voip
Router(config-dial-peer)#destination-pattern 1...
Router(config-dial-peer)#session target ipv4:192.168.1.1
Router(config-dial-peer)#exit 80
Router(config)#dial-peer voice 6 voip
Router(config-dial-peer)#destination-pattern 2...
Router(config-dial-peer)#session target ipv4:192.168.2.1
Router(config-dial-peer)#exit
contd.
Dialing phone
Connected phone
Benefits of voip
The
BIBLIOGRAPHY
BOOKS
CISCO CCNA ICND2 official exam certification book
CCNA study guide access control list standard and
extended.
REFERENCES
http://www.packettracer.com/ voipconfiguration.html
http://www.packettracer.com/
VoIP_in_Cisco_Packet_Tracer.htm
http://www.howstuffworks.com/ ip-telephony.htm
http://www.wikipedia.com/ Voice_over_IP.html
http://www.louisvilleuniversity.com/intro.html
http://www.rogerdarlington.me.uk/VoIP.html
http://www.baumann.info/public/voip
Syngress Cisco Internetworking Book
THANK YOU