!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
ip dhcp excluded-address 192.168.0.1 192.168.0.10
ip dhcp excluded-address 192.168.1.1 192.168.1.10
!
ip dhcp pool VOICE
network 192.168.0.0 255.255.255.0
default-router 192.168.0.1
option 150 ip 192.168.0.1
ip dhcp pool DATA
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.1
description VOICE
encapsulation dot1Q 10
ip address 192.168.0.1 255.255.255.0
!
interface FastEthernet0/0.2
description DATA
encapsulation dot1Q 20
ip address 192.168.1.1 255.255.255.0
!
interface FastEthernet0/1
ip address 10.10.10.2 255.255.255.252
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router rip
!
ip classless
ip route 192.168.0.0 255.255.255.0 10.10.10.0
ip route 192.168.1.0 255.255.255.0 10.10.10.0
!
ip flow-export version 9
!
!
!
!
!
!
!
!
dial-peer voice 1 voip
destination-pattern .0000
session target ipv4:10.10.10.2
!
telephony-service
max-ephones 5
max-dn 5
ip source-address 192.168.0.1 port 2000
auto assign 1 to 5
!
ephone-dn 1
number 1001
!
ephone-dn 2
number 1002
!
ephone-dn 3
number 1003
!
ephone 1
device-security-mode none
mac-address 000C.8536.D193
type 7960
button 1:2
!
ephone 2
device-security-mode none
mac-address 0060.5C90.6640
type 7960
button 1:1
!
ephone 3
device-security-mode none
mac-address 0002.17B8.6168
type 7960
button 1:3
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end