Collegare due 1751V tramite porta FastEthernet.

Voice su IP

Moderatore: Federico.Lagni

Rispondi
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

Siccome mi piace complicarmi la vita :D ho voluto usare due 1751V tra loro ma non riesco a far funzionare il secondo. Dunque il primo è collegato ad internet e tramite una WIC 1Enet ho collegato il secondo 1751V alla Fastethernet ma non funziona (il secondo router monta una CME 4.1 con collegati due telefoni in SCCP. Ecco un pò di configurazioni:

Router 1 VIC Adsl+1Enet

interface FastEthernet0/0
description Lan Interna Macintosh Wireless Airport
ip address 172.31.43.254 255.255.255.0
ip nat inside
ip virtual-reassembly
no ip mroute-cache
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface Ethernet1/0
description Ethernet Cisco 1751-V Phone Eutelia Voip
ip address 172.17.43.254 255.255.255.0
ip nat inside
ip virtual-reassembly
half-duplex

e poi

ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
!
!
no ip http server
no ip http secure-server
ip nat inside source list 101 interface Dialer0 overload
ip nat inside source list 102 interface Dialer0 overload


ed ancora

access-list 101 permit ip 172.31.43.0 0.0.0.255 any
access-list 102 permit ip 172.17.43.0 0.0.0.255 any
dialer-list 1 protocol ip permit
!
!


Router 2 Vic FXS+Vic Voice E & M + Vic 5 FastEthernet:

interface FastEthernet0/0
ip address dhcp
ip nat inside
ip virtual-reassembly
no ip route-cache cef
no ip route-cache
no ip mroute-cache
speed auto
hold-queue 100 out
!
interface FastEthernet1/1
description Siemens C450IP
!
interface FastEthernet1/2
description Cisco IP Phone 7970G Studio
!
interface FastEthernet1/3
description Cisco IP Phone 7941G Salotto
!
interface FastEthernet1/4
!
interface Vlan1
ip address 172.16.43.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
!
no ip http server
no ip http secure-server
ip nat pool EUTELIA_Voce 172.16.43.254 172.16.43.254 netmask 255.255.255.0 type rotary
ip nat inside source list 101 interface FastEthernet0/0 overload
ip nat inside source list 102 interface FastEthernet0/0 overload
ip nat inside destination list 102 pool EUTELIA_Voce
!
access-list 101 permit ip 172.17.43.0 0.0.0.255 any
access-list 102 permit ip 172.16.43.0 0.0.0.255 any

Grazie mille a tutti
:D
lorbellu
Network Emperor
Messaggi: 313
Iscritto il: gio 25 ott , 2007 6:14 pm

ho collegato il secondo 1751V alla Fastethernet ma non funziona
Puoi essere più specifico? Il fisico ti sale? mettendo due ip statici i router si pingano?

Saluti
Lorbellu
lucaspag
Cisco fan
Messaggi: 47
Iscritto il: sab 28 mar , 2009 11:14 am

:D allora avevo abbandonato l'idea dei due router e in realtà mi ero anche arenato. Adesso utilizzo un 1720 che serve a far navigare i computer in internet e dalla WIC 1Enet vado al 1751V che dovrebbe fare da centralino (spero di riuscirci, prima o poi) ed ecco le configurazioni:

Cisco 1720.


clock timezone CET 1
clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
no aaa new-model
ip subnet-zero
no ip source-route
!
!
!
ip dhcp pool Via_Agnone_43
network 172.31.43.0 255.255.255.0
default-router 172.31.43.254
dns-server 151.99.125.1 151.99.0.100
!
ip dhcp pool Voip_Cisco_1751-V
network 172.30.43.0 255.255.255.0
dns-server 151.99.125.1 151.99.0.100
default-router 172.30.43.254
!
ip cef
ip audit po max-events 100
!
!
username lucaspag
!
!
!
!
!
interface ATM0
no ip address
no ip mroute-cache
no atm ilmi-keepalive
dsl operating-mode auto
pvc 8/35
encapsulation aal5snap
protocol ppp dialer
dialer pool-member 1
!
!
interface Ethernet0
description Lan Eutelia Voip
ip address 172.30.43.254 255.255.255.0
ip nat inside
half-duplex
!
interface FastEthernet0
description rete internet
ip address 172.31.43.254 255.255.255.0
no ip proxy-arp
ip nat inside
speed auto
!
interface Dialer0
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp pap sent-username xxxxxxxxxx@xxxxxxxxxxxx password 7 xxxxxxxxxxxxxx
!
ip nat inside source list 101 interface Dialer0 overload
ip nat inside source list 102 interface Dialer0 overload
ip nat inside source list 103 interface Dialer0 overload
ip nat inside source static tcp 172.31.43.13 8080 xx.xx.xx.xxx 8080 extendable
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
no ip http server
no ip http secure-server
!
!
!
map-class dialer DialClass
access-list 101 permit ip 172.31.43.0 0.0.0.255 any
access-list 102 permit ip 172.30.43.0 0.0.0.255 any
access-list 103 permit ip 172.16.43.0 0.0.0.255 any
dialer-list 1 protocol ip permit
!
snmp-server community public RO
!
line con 0
exec-timeout 120 0
line aux 0
line vty 0 4
login local
!
sntp server 193.204.114.232
end



Ed ecco il 1751V


hostname Super4Mega-EuteliaVoip
!
boot-start-marker
boot-end-marker
!
enable password 7 030D5F0A
!
no aaa new-model
clock timezone CET 1
clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
voice-card 1
!
voice-card 2
!
ip cef
!
!
no ip dhcp use vrf connected
!
ip dhcp pool VOIP
network 172.16.43.0 255.255.255.0
default-router 172.16.43.254
dns-server 62.94.0.42 62.94.0.41
domain-name voip.eutelia.it
option 150 ip 172.16.43.254
!
!
ip vrf forwarding
!
multilink bundle-name authenticated
!
!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
sip
!
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
!
!
!
!
!
!
voice class custom-cptone 1
!
!
!
voice register global
mode cme
source-address 172.16.43.254 port 5060
max-dn 10
max-pool 20
!
voice register dn 1
number 204
allow watch
name Studio
label Studio
!
voice register dn 2
number 205
allow watch
name Salotto
label Salotto
!
voice register pool 1
id mac 001B.D45F.E2A0
number 1 dn 1
codec g711ulaw
blf-speed-dial 1 0242101200# label "Trasferimento_di_Chiamata"
blf-speed-dial 2 4050# label "Credito_Eutelia_Voip"
!
voice register pool 2
id mac 001E.136C.4F53
number 2 dn 2
codec g711ulaw
!
!
!
!
!
!
!
username lucaspag password 7 08245E400C0A1118
archive
log config
hidekeys
!
!
!
class-map match-any voice-signaling
!
!
!
!
!
interface FastEthernet0/0
description Eutelia Voip
ip address dhcp
ip nat inside
ip virtual-reassembly
no ip route-cache cef
no ip route-cache
no ip mroute-cache
speed auto
hold-queue 100 out
!
interface FastEthernet0/1
description Siemens C450 IP Messagnet xxxxxxxxxxx
!
interface FastEthernet0/2
description Cisco IP Phone 7941 Salotto
!
interface FastEthernet0/3
description Cisco IP Phone 7970 Studio
!
interface FastEthernet0/4
!
interface Vlan1
ip address 172.16.43.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0

!
no ip http server
no ip http secure-server
ip nat inside source list 103 interface FastEthernet0/0 overload
!

access-list 103 permit ip 172.16.43.0 0.0.0.255 any
tftp-server flash:term41.default.loads
tftp-server flash:term61.default.loads
tftp-server flash:apps41.8-2-2ES1.sbn
tftp-server flash:cnu41.8-2-2ES1.sbn
tftp-server flash:SCCP41.8-2-2SR1S.loads
tftp-server flash:cvm41sccp.8-2-2ES1.sbn
tftp-server flash:jar41sccp.8-2-2ES1.sbn
tftp-server flash:dsp41.8-2-2ES1.sbn
tftp-server flash:/it-mk-sccp.jar alias Italian_Italy/mk-sccp.jar
tftp-server flash:/g3-tones.xml alias Italy/g3-tones.xml
tftp-server flash:apps70.8-2-2ES1.sbn
tftp-server flash:cnu70.8-2-2ES1.sbn
tftp-server flash:cvm70sccp.8-2-2ES1.sbn
tftp-server flash:dsp70.8-2-2ES1.sbn
tftp-server flash:jar70sccp.8-2-2ES1.sbn
tftp-server flash:SCCP70.8-2-2SR1S.loads
tftp-server flash:term70.default.loads
tftp-server flash:term71.default.loads
tftp-server flash:it-td-sccp.jar alias Italian_Italy/td-sccp.jar
control-plane host
!
!
control-plane
!
!
!
voice-port 1/0
echo-cancel coverage 32
no vad
playout-delay mode fixed
cptone IT
timeouts initial 120
timeouts interdigit 3
timeouts call-disconnect 0
music-threshold -10
bearer-cap Speech
caller-id enable
!
voice-port 1/1
echo-cancel coverage 32
no vad
playout-delay mode fixed
timeouts initial 120
timeouts interdigit 3
timeouts call-disconnect 0
bearer-cap Speech
caller-id enable
!
!
!
!
!
!
dial-peer voice 1 pots
answer-address xxxxxxxxxxxx
destination-pattern xxxxxxxxxxx
port 1/0
authentication username xxxxxxxxxx password 7 1058001802191D05095079 realm voip.eutelia.it
supported-language it
!
dial-peer voice 2 pots
answer-address xxxxxxxxxxx
destination-pattern xxxxxxxxxxx
port 1/1
authentication username xxxxxxxxxxx password 7 11050C0616011B0D037C7F realm voip.eutelia.it
supported-language it
!
dial-peer voice 3 voip
destination-pattern .T
voice-class codec 1
session protocol sipv2
session target sip-server
session transport udp
incoming called-number .T
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs5 signaling
!
sip-ua
authentication username xxxxxxxxxxxx password 7 1058001802191D05095079 realm voip.eutelia.it
retry invite 4
retry response 3
retry bye 2
retry cancel 2
registrar ipv4:83.211.227.21:5060 expires 3600
sip-server ipv4:83.211.227.21:5060
!
!
telephony-service
video
maximum bit-rate 256
load 7941GE SCCP41.8-2-2SR1S.loads
load 7970 SCCP70.8-2-2SR1S.loads
max-ephones 5
max-dn 10
ip source-address 172.16.43.254 port 2000
auto assign 1 to 5
service phone displayIdleTimeout 00:10
service phone daysDisplayNotActive 1,2,3,4,5,6,7
service phone displayOnWhenIncomingCall 1
system message xxxx xxxxxxxx
time-zone 23
time-format 24
date-format dd-mm-yy
max-conferences 2 gain -6
dn-webedit
time-webedit
transfer-system full-consult
transfer-pattern .T
secondary-dialtone 9
fac custom callfwd all 0*
!
!
ephone-template 1
service phone daysDisplayNotActive 1,2,3,4,5,6,7
service phone backlightIdleTimeout 00.10
service phone displayOnWhenIncomingCall 1
!
!
ephone-dn 1 dual-line
number xxxxxxxx288 no-reg primary
label xxxxxxxxxx
!
!
ephone-dn 2 dual-line
number xxxxxxxxxxx no-reg primary
!
!
ephone-dn 10 dual-line
number xxxxxxxxxxx no-reg primary
label Deviazione di Chiamata
call-forward all xxxxxxxxxx
!
!
ephone 1
description Cisco IP Phone 7970G Studio
video
mac-address 001B.D45F.E2A0
ephone-template 1
blf-speed-dial 1 0242101200# label "Trasferimento_di_Chiamata"
blf-speed-dial 2 4050# label "Credito_Eutelia_Voip"
type 7970
auto-line 1
button 1:1 2:2
!
!
!
ephone 2
description Cisco IP Phone 7941G Salotto
mac-address 001E.136C.4F53
type 7941GE
button 1:1
!
!
!
line con 0
line aux 0
line vty 0 4
login local
!
sntp server 193.204.114.232
end


Il problema è che il secondo router non effettua le chiamate e pure collegando un pc ad una porta della Vlan non si naviga, la cosa che mi mette dei dubbi è il fatto che il sip-ua si registra!!! Potete aiutarmi???
Rispondi