Blog Education

Jumat, 28 Juli 2023

Coding Membuat Jaringan Voip dengan Cisco Packet Tracer

 

Coding Membuat Jaringan Voip dengan Cisco Packet Tracer
Gambar (Jaringan Voip) 

A. Configuration Router0 ke Switch :

Coding/Sintax Jairngan : 

en - conf t - int fa 0/0 – ip add 192.168.1.1 255.255.255.0 – no sh - ex

ip dhcp pool voice – net 192.168.1.0 255.255.255.0 –  default-router 192.168.1.1

option 150 ip 192.168.1.1 – ex

ip dhcp excluded-address 192.168.1.1 – telephony-service 

max-dn 3 – max-ephone 3 – ip source-address 192.168.1.1 port 2000

auto assign 1 to 2 – ex

ephone-dn 1 – number 111 – ephone-dn 2 – number 112 – ex

B. Configuration Switch0 :

Coding/Sintax Jaringan :

en – conf t – int range fa 0/1-24 – switchport voice vlan 1

C. Configuration Router1 Ke Switch :

Coding/Sintax Jaringan :

en - conf t - int fa 0/0 – ip add 192.168.2.1 255.255.255.0 – no sh - ex

ip dhcp pool voice – net 192.168.2.0 255.255.255.0 –  default-router 192.168.2.1

option 150 ip 192.168.2.1 – ex

ip dhcp excluded-address 192.168.2.1 – telephony-service 

max-dn 3 – max-ephone 3 – ip source-address 192.168.2.1 port 2000

auto assign 1 to 2 – ex

ephone-dn 1 – number 111 – ephone-dn 2 – number 112 – ex

D. Configuration Switch1 :

Coding/Sintax Jaringan :

1. en – conf t – int range fa 0/1-24 – switchport voice vlan 1

E. Configuration Router0 ke Router 1

Coding/Sintax Jaringan : 

en – conf t – int fa 0/1 – ip add 192.168.100.1 255.255.255.0 – no sh

dial-peer voice 1 voip  - session target ipv4:192.168.100.2

destination-pattern 22. – ex

F. Configuration Router1 ke Router0

Coding/Sintax Jaringan : 

en – conf t – int fa 0/1 – ip add 192.168.100.2 255.255.255.0 – no sh

dial-peer voice 1 voip  - session target ipv4:192.168.100.1

destination-pattern 11. – ex