Voip H5

From Teknologisk videncenter
Revision as of 12:28, 28 April 2010 by Kennikvik (talk | contribs) (New page: === Voip === Internal addresses 192.168.1.9 to 192.168.1.14 are NAT'ed to outside 195.181.54.1 to 195.181.54.6 dynamically, not knowing which inside address are NAT'ed to ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Voip

Internal addresses 192.168.1.9 to 192.168.1.14 are NAT'ed to outside 195.181.54.1 to 195.181.54.6 dynamically, not knowing which inside address are NAT'ed to which outside address.

R1

Using 2413 out of 196600 bytes
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$4V0g$hqtJRbjOd.a5WvQU.Gzkx.

no aaa new-model

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

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 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
 ip address 192.168.1.1 255.255.255.252
 ip nat inside
 ip virtual-reassembly
 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
no ip http secure-server
ip nat inside source list 10 interface FastEthernet0/1 overload
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 22 interface FastEthernet0/1 22

access-list 10 remark Permit Traffic From inside Data Valn
access-list 10 permit 192.168.0.0 0.0.255.255

control-plane

line con 0
line aux 0
line vty 0 4
 password 7 104D000A0618
 login

scheduler allocate 20000 1000
end

R2

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
 ip address 192.168.1.2 255.255.255.252

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

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

 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 nvram:IOS-Self-Sig#3401.cer
 
 
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