Voip H5
From Teknologisk videncenter
Voip
Vores interne adresser er NAT'ed til det yder net dynamisk.
R1
Skolens DHCP server gav Interface FastEthernet0/1 assigned DHCP address 192.168.138.157, mask 255.255.255.0, hostname R1
Building configuration...
Current configuration : 4304 bytes
!
! Last configuration change at 09:27:08 UTC Tue May 11 2010 by admin
! NVRAM config last updated at 08:21:26 UTC Tue May 11 2010
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$bMDv$QL/iMZKsHEc34OD.3v1Ye1
!
aaa new-model
!
!
!
aaa session-id common
!
resource policy
!
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.22.1 192.168.22.4
!
ip dhcp pool tele
network 192.168.21.0 255.255.255.0
default-router 192.168.21.1
dns-server 172.16.4.77
option 150 ip 192.168.22.2
!
ip dhcp pool data
network 192.168.22.0 255.255.255.0
default-router 192.168.22.1
dns-server 172.16.4.77
!
!
ip ssh time-out 60
ip ssh version 2
!
!
!
voice-card 0
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
crypto pki trustpoint TP-self-signed-4219314571
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-4219314571
revocation-check none
rsakeypair TP-self-signed-4219314571
!
!
crypto pki certificate chain TP-self-signed-4219314571
certificate self-signed 01
3082023A 308201A3 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 34323139 33313435 3731301E 170D3130 30353131 30383231
32355A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D34 32313933
31343537 3130819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100AE2A 733DFFA4 37C3527A 126B1E66 67D12B3C C1AB854B 3DE85E20 DEF5CE6A
BDBFDFB8 55B0EC68 5FD478E9 FFB64E36 6EF8531B AEB63584 8F6DCE0A A08AFE70
4C0CCC70 C7C59960 C7CAF508 250D0C01 D0A7D85B B3A2D7AD C8C9B9BF 82770E97
CB76D7D3 2E3E72DE C52AF83C E89D1635 F440824C B5DA74DC 4E3D533E 07726FFA
7C4B0203 010001A3 62306030 0F060355 1D130101 FF040530 030101FF 300D0603
551D1104 06300482 02523130 1F060355 1D230418 30168014 E1E4A572 DBC0B284
41ACC6C8 BCD9B73A 15DCC02F 301D0603 551D0E04 160414E1 E4A572DB C0B28441
ACC6C8BC D9B73A15 DCC02F30 0D06092A 864886F7 0D010104 05000381 810048EB
72D8DE89 C94F4E52 955692E5 823595DB 6E573BA1 B9A3D990 CAFF0901 D2092EA3
5CD8E8FC 98DFDF4B 966BE802 A7FF218F A43DFEF3 7628DD21 3708D6A1 84F6F870
96FE1F24 A68632A0 FC0203AE B7E8CF55 5BF03E47 F2C9B698 026583F8 ADF974FA
AFBE0884 7C48A9FC 914F2F2B 8248AA28 F99E2A61 43FD63A6 0D9E30D5 03B2
quit
username admin privilege 14 secret 5 $1$MI2Q$WBn5zBVhhWIYqlN24WwMA/
!
!
!
!
!
!
!
interface Loopback1
ip address 10.10.10.10 255.255.255.255
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.2
description Inside: Intern Data vlan
encapsulation dot1Q 2
ip address 192.168.22.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.21.1 255.255.255.0
!
interface FastEthernet0/1
description Outside: Skolens netvaerk ip udefra 83.90.239.178
ip address dhcp
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface Serial0/1/0
no ip address
shutdown
no fair-queue
clock rate 125000
!
interface Serial0/1/1
no ip address
shutdown
clock rate 125000
!
interface Serial0/2/0
bandwidth 8000
ip address 192.168.1.1 255.255.255.252
ip nat inside
ip virtual-reassembly
no fair-queue
clock rate 8000000
!
router eigrp 1111
redistribute connected
redistribute static
network 192.168.1.0 0.0.0.3
network 192.168.21.0
network 192.168.22.0
network 0.0.0.0
no auto-summary
!
!
!
ip http server
ip http secure-server
ip nat inside source list 10 interface FastEthernet0/1 overload
ip nat inside source static tcp 10.10.10.10 80 interface FastEthernet0/1 80
ip nat inside source static tcp 10.10.10.10 22 interface FastEthernet0/1 22
ip nat inside source static tcp 10.10.10.10 23 interface FastEthernet0/1 23
ip nat inside source static tcp 10.10.10.10 443 interface FastEthernet0/1 443
!
access-list 10 remark Permit Traffic From inside Data Valn
access-list 10 permit 192.168.0.0 0.0.255.255
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
alias exec r2 telnet 192.168.1.2
!
line con 0
line aux 0
line vty 0 4
password 7 104D000A0618
!
scheduler allocate 20000 1000
end
R2
Building configuration...
Current configuration : 1680 bytes
!
! No configuration change since last restart
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$l0FZ$KDWuxPIGg4RR3ai.m.3N30
!
no aaa new-model
!
resource policy
!
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.23.1 192.168.23.10
ip dhcp excluded-address 192.168.24.1 192.168.24.10
!
ip dhcp pool data
network 192.168.23.0 255.255.255.0
default-router 192.168.23.1
dns-server 172.16.4.77
!
ip dhcp pool tele
network 192.168.24.0 255.255.255.0
default-router 192.168.24.1
dns-server 172.16.4.77
option 150 ip 192.168.22.100
!
!
ip domain name MercantecVoice.dk
ip ssh time-out 60
ip ssh version 2
!
!
!
voice-card 0
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
username admin privilege 14 secret 5 $1$5nNp$C5/UJLR9I/dYB47w7Exp80
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.2
encapsulation dot1Q 2
ip address 192.168.23.1 255.255.255.0
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.24.1 255.255.255.0
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface Serial0/2/0
bandwidth 8000
ip address 192.168.1.2 255.255.255.252
no fair-queue
!
router eigrp 1111
network 192.168.1.0 0.0.0.3
network 192.168.23.0
network 192.168.24.0
no auto-summary
!
!
!
ip http server
no ip http secure-server
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
alias exec r1 telnet 192.168.1.1
!
line con 0
line aux 0
line vty 0 4
password 7 070C285F4D06
login
!
scheduler allocate 20000 1000
end
SW1
Using 7558 out of 393216 bytes
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
hostname SW1
enable secret 5 $1$I6dx$dxYf2NEEzWH4pb8nWgwe60
ip subnet-zero
spanning-tree mode pvst
spanning-tree extend system-id
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10
switchport mode trunk
no ip address
interface FastEthernet0/2
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/3
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/4
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/5
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/6
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/7
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/8
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/9
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/10
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/11
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/12
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/13
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/14
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/15
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/16
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/17
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/18
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/19
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/20
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/21
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/22
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/23
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/24
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/25
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/26
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/27
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/28
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/29
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/30
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/31
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/32
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/33
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/34
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/35
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/36
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/37
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/38
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
shutdown
spanning-tree portfast
interface FastEthernet0/39
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/40
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/41
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/42
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/43
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/44
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/45
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/46
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/47
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface FastEthernet0/48
switchport access vlan 2
switchport mode access
switchport voice vlan 10
no ip address
spanning-tree portfast
interface GigabitEthernet0/1
no ip address
shutdown
interface GigabitEthernet0/2
no ip address
shutdown
interface Vlan1
no ip address
shutdown
interface Vlan2
ip address 192.168.22.2 255.255.255.0
interface Vlan10
ip address 192.168.21.2 255.255.255.0
ip classless
ip http server
line con 0
line vty 0 4
password cisco
login
line vty 5 15
login
end
SW2
Building configuration...
Current configuration : 5497 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SW2
!
enable secret 5 $1$d.AW$n9spFJmENqFkkRB8DlHg./
enable password cisco
!
no aaa new-model
ip subnet-zero
!
!
!
crypto pki trustpoint TP-self-signed-1708353664
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1708353664
revocation-check none
rsakeypair TP-self-signed-1708353664
!
!
crypto pki certificate chain TP-self-signed-1708353664
certificate self-signed 01
3082023C 308201A5 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 31373038 33353336 3634301E 170D3933 30333031 30303031
30365A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 37303833
35333636 3430819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100CC0B 29F5A393 BF5A59E1 641DE99C 60F11652 2795AC67 4629820F 227853DF
ED86711E D79FB2F6 E54FE88F 42EEB8CA CE72EF26 1A8A32B7 5D2C3A88 5D137CCA
E5BF51C7 3DBA32DF C97FDBF0 8B6A7EAA 7713C16E 7C67AC8B C68C859B E674840A
C4EECBC6 D0945D57 3E767333 16DC1621 60E040F3 905E9873 0F7AD7EC 4BDC4C01
23550203 010001A3 64306230 0F060355 1D130101 FF040530 030101FF 300F0603
551D1104 08300682 04535732 2E301F06 03551D23 04183016 8014A998 1BC3F310
4049BEA8 04D8762D 2BB20E1D E55D301D 0603551D 0E041604 14A9981B C3F31040
49BEA804 D8762D2B B20E1DE5 5D300D06 092A8648 86F70D01 01040500 03818100
65D441E4 ACD575C9 27E43686 AF4A71ED 10D50A30 2DFFD060 2BBFF274 0B3E8EB7
59647D5E 86884A52 54939E7D 4B9B3D8E 7993D50E 0E2798E8 8C122356 119FCAB2
C4755F62 2D136E30 E6399847 008EEAA8 BEA00A5E 0B40E576 CEEFA6C8 56C6670A
D4F03C13 DE74CC11 35DDDB83 3A1FB054 6EFE610D C165BEE5 67633B3C 1C9D99D8
quit
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,10
switchport mode trunk
!
interface FastEthernet0/2
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/3
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/4
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/5
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/6
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/7
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/8
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/9
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/10
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/11
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/12
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/13
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/14
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/15
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/16
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/17
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/18
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/19
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/20
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/21
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/22
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/23
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface FastEthernet0/24
switchport access vlan 2
switchport mode access
switchport voice vlan 10
spanning-tree portfast
!
interface GigabitEthernet0/1
switchport mode dynamic desirable
!
interface GigabitEthernet0/2
switchport mode dynamic desirable
!
interface Vlan1
no ip address
!
interface Vlan2
ip address 192.168.23.2 255.255.255.0
!
ip classless
ip http server
ip http secure-server
!
!
!
control-plane
!
!
line con 0
password cisco
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end