You are on page 1of 6

untuk router 1 :

RouterA#show running-config
Building configuration...
Current configuration : 2281 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname RouterA
!
!
!
!
ip dhcp excluded-address 192.168.1.1 192.168.1.10
ip dhcp excluded-address 192.168.2.1 192.168.2.10
!
ip dhcp pool VOICE
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
option 150 ip 192.168.1.1
ip dhcp pool DATA
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.1.1 255.255.255.0
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 192.168.2.1 255.255.255.0
!
interface FastEthernet0/1
ip address 192.168.10.1 255.255.255.0
duplex auto
speed auto

!
interface Serial0/0/0
ip address 202.10.10.1 255.255.255.0
encapsulation frame-relay
frame-relay map ip 202.10.10.2 111
clock rate 64000
!
interface Serial0/0/1
no ip address
shutdown
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 192.168.1.0
network 192.168.2.0
network 192.168.3.0
network 192.168.4.0
network 192.168.5.0
network 192.168.20.0
network 202.0.0.0
network 202.10.10.0
default-information originate
no auto-summary
!
ip classless
ip route 192.168.20.0 255.255.255.0 202.10.10.2
ip route 192.168.3.0 255.255.255.0 202.10.10.2
ip route 192.168.4.0 255.255.255.0 202.10.10.2
!
!
!
!
!
!
!
dial-peer voice 1 voip
destination-pattern 2001
session target ipv4:202.10.10.2
!
dial-peer voice 2 voip
destination-pattern 2002
session target ipv4:202.10.10.2
!
dial-peer voice 3 voip
destination-pattern 2003
session target ipv4:202.10.10.2
!
telephony-service
max-ephones 10
max-dn 10
ip source-address 192.168.1.1 port 2000
auto assign 1 to 10
!
ephone-dn 1
number 1001
!

ephone-dn 2
number 1002
!
ephone-dn 3
number 1003
!
ephone-dn 4
number 1004
!
ephone 1
device-security-mode none
mac-address 0060.5C91.4401
type ata
button 1:1
!
ephone 2
device-security-mode none
mac-address 0030.F22B.CA68
type 7960
button 1:2
!
ephone 3
device-security-mode none
mac-address 00D0.976E.763D
type 7960
button 1:3
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
untuk router 2 :
RouterB#show running-config
Building configuration...
Current configuration : 2263 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname RouterB
!
!
!
!
ip dhcp excluded-address 192.168.3.1 192.168.3.10
ip dhcp excluded-address 192.168.4.1 192.168.4.10
!
ip dhcp pool VOICE

network 192.168.3.0 255.255.255.0


default-router 192.168.3.1
option 150 ip 192.168.3.1
ip dhcp pool DATA
network 192.168.4.0 255.255.255.0
default-router 192.168.4.1
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.3.1 255.255.255.0
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 192.168.4.1 255.255.255.0
!
interface FastEthernet0/1
ip address 192.168.20.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 202.10.10.2 255.255.255.0
encapsulation frame-relay
frame-relay map ip 202.10.10.1 222
!
interface Serial0/0/1
no ip address
shutdown
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 192.168.0.0
network 192.168.1.0
network 192.168.2.0
network 192.168.3.0
network 192.168.4.0
network 192.168.10.0
network 202.0.0.0

network 202.10.10.0
default-information originate
no auto-summary
!
ip classless
ip route 192.168.10.0 255.255.255.0 202.10.10.1
ip route 192.168.1.0 255.255.255.0 202.10.10.1
ip route 192.168.2.0 255.255.255.0 202.10.10.1
!
!
!
!
!
!
!
dial-peer voice 1 voip
destination-pattern 1001
session target ipv4:202.10.10.1
!
dial-peer voice 2 voip
destination-pattern 1002
session target ipv4:202.10.10.1
!
dial-peer voice 3 voip
destination-pattern 1003
session target ipv4:202.10.10.1
!
telephony-service
max-ephones 10
max-dn 10
ip source-address 192.168.3.1 port 2000
auto assign 1 to 10
!
ephone-dn 1
number 2001
!
ephone-dn 2
number 2002
!
ephone-dn 3
number 2003
!
ephone-dn 4
number 2004
!
ephone 1
device-security-mode none
mac-address 0003.E481.1801
type ata
button 1:1
!
ephone 2
device-security-mode none
mac-address 0060.5C62.5136
type 7960
button 1:2
!
ephone 3
device-security-mode none
mac-address 000B.BE3C.A414

type 7960
button 1:3
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end

You might also like