in
cisco.
Berikut cara konfigurasi VoIP dengan DHCP dan CME terpisah serta terhubung dengan switch pada Cisco.
Konfigurasi Router CME
CME_VOICE#sh running-config
Building configuration
Current configuration : 2520 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname CME_VOICE
!
spanning-tree mode pvst
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 172.16.1.1 255.255.255.0
!
interface FastEthernet0/0.50
encapsulation dot1Q 50 native
!
end
Konfigurasi Router DHCP
DHCP_ROUTER#sh running-config
Building configuration
Current configuration : 821 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname DHCP_ROUTER
!
!
!
!
ip dhcp excluded-address 172.16.1.1 172.16.1.10
ip dhcp excluded-address 172.16.2.1 172.16.2.10
!
ip dhcp pool VOICE
network 172.16.1.0 255.255.255.0
default-router 172.16.1.1
option 150 ip 172.16.1.1
ip dhcp pool DATA
network 172.16.2.0 255.255.255.0
default-router 172.16.2.1
dns-server 4.2.2.2
!
!
!
!
!
!
!
no ip domain-lookup
!
!
!
!
!
!
interface FastEthernet0/0
ip address 172.16.3.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.16.3.2
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line vty 0 4
login
!
!
!
end
Konfigurasi SwitchA
SwitchA#sh running-config
Building configuration
Current configuration : 1320 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname SwitchA
!
!
!
ip routing
!
!
!
spanning-tree mode pvst
!
!
interface FastEthernet0/10
switchport access vlan 30
switchport mode access
!
!
!
interface FastEthernet0/20
switchport trunk native vlan 50
switchport trunk encapsulation dot1q
switchport mode trunk
!
!
!
interface FastEthernet0/24
switchport trunk native vlan 50
switchport trunk encapsulation dot1q
switchport mode trunk
!
!
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
!
line con 0
line vty 0 4
login
!
!
!
end
Konfigurasi SwitchB
SwitchB#sh running-config
Building configuration
Current configuration : 2135 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname SwitchB
!
!
!
ip routing
!
!
!
spanning-tree mode pvst
!
!
!
interface FastEthernet0/1
switchport access vlan 50
switchport trunk native vlan 50
!
interface Vlan50
ip address 172.16.2.2 255.255.255.0
ip helper-address 172.16.3.1
!
ip classless
!
!
line con 0
line vty 0 4
login
!
!
!
end
Setelah konfigurasi ini tunggu IP Phone mendapatkan IP dan nomor dari DHCP, setting Masing-masing PC
ke DHCP Client.