Salve a tutti,
sto configurando due 1751-v, li chiamo r1 e r2 per comodità, r1 è collegato a internet tramite un terzo router che non centra niente con questo scenario lui è innocente^_^, mentre r2 è collegato all'interfaccia ethernet di r1 e pinga tutto il mondo internet senza problemi, quindi non dovrebbero esserci problemi....invece quando vado a effettuare una chiamata voip da r2 verso il computer con installato un software phone la chiamata non viene stabilita...il pc dal router lo pingo ma non riesco a fare chiamate voip da e verso r2 , la cosa bellina è che tra i vari "interni" configurati su i due router tutto funziona, ho pure aperto la 5061 sia come tcp che come udp(nel dubbio...) ma non è cambiato nulla, vi posto le conf dei due router qui sotto...
r1:
Current configuration : 2828 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname dayrouter
!
boot-start-marker
boot-end-marker
!
logging userinfo
logging buffered 51200 notifications
logging cns-events debugging
enable secret 5 xxxxxxxxxxxxx
!
aaa new-model
!
!
aaa authentication login default group radius local
!
aaa session-id common
!
resource policy
!
memory-size iomem 20
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
voice-card 0
codec complexity medium
!
voice-card 2
codec complexity medium
!
no ip subnet-zero
ip cef
!
!
!
!
ip name-server 208.67.222.222
ip name-server 208.67.220.220
!
!
!
voice service pots
!
voice service voip
allow-connections h323 to h323
allow-connections sip to sip
sip
registrar server expires max 600 min 60
!
!
!
!
!
!
!
!
!
!
!
!
!
username xxxxxxxxx privilege 15 secret 5 xxxxxxxxxx
!
!
!
!
interface FastEthernet0/0
ip address 192.168.0.10 255.255.255.0
ip nat outside
speed auto
!
interface Ethernet1/0
ip address 10.1.1.1 255.255.255.0
ip nat inside
full-duplex
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.0.1
!
no ip http server
no ip http secure-server
ip nat service sip udp port 5061
ip nat inside source list 101 interface FastEthernet0/0 overload
ip nat inside source static udp 10.1.1.2 5061 interface FastEthernet0/0 5061
ip nat inside source static tcp 192.168.0.10 23 interface FastEthernet0/0 23
!
logging trap notifications
logging facility auth
logging 192.168.0.100
access-list 23 permit 192.168.0.0 0.0.0.255
access-list 101 permit ip any any
radius-server host 192.168.0.100 auth-port 1812 acct-port 1813 key WinRadius
!
control-plane
!
!
!
voice-port 0/0
echo-cancel coverage 32
playout-delay nominal 100
playout-delay mode fixed
cptone IT
timeouts interdigit 3
timeouts call-disconnect 0
music-threshold -70
caller-id enable
!
voice-port 0/1
echo-cancel coverage 32
playout-delay nominal 100
playout-delay mode fixed
cptone IT
timeouts interdigit 3
timeouts call-disconnect 0
music-threshold -70
caller-id enable
!
voice-port 2/0
!
voice-port 2/1
!
!
!
!
!
!
dial-peer voice 1 pots
destination-pattern [0,1,3,8]T
port 2/0
!
dial-peer voice 2 pots
destination-pattern 7000
port 0/0
!
dial-peer voice 3 voip
destination-pattern 9000
session target ipv4:10.1.1.2
!
dial-peer voice 4 pots
destination-pattern 7001
port 0/1
!
dial-peer voice 5 voip
destination-pattern 9001
session target ipv4:10.1.1.2
!
dial-peer voice 6 voip
destination-pattern 5000
session protocol sipv2
session target ipv4:192.168.0.100:5061
session transport udp
codec g711ulaw
no vad
!
!
line con 0
line aux 0
line vty 0 4
access-class 23 in
exec-timeout 120 0
password xxxxxxxx
length 0
transport input telnet
!
end
r2:
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname elrouter
!
boot-start-marker
boot-end-marker
!
enable secret 5 xxxxxxx
!
aaa new-model
!
!
aaa authentication login default group radius local
!
aaa session-id common
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
voice-card 1
codec complexity medium
!
voice-card 2
codec complexity medium
!
ip subnet-zero
ip cef
!
!
!
!
ip name-server 208.67.222.222
ip name-server 208.67.220.220
!
!
!
voice service pots
!
voice service voip
sip
!
!
!
!
!
!
!
!
!
!
!
!
username xxxxxxxxx privilege 15 secret 5 xxxxxxxxxxxx
!
!
!
!
interface Ethernet0/0
ip address 10.1.1.2 255.255.255.0
full-duplex
!
interface FastEthernet0/0
no ip address
shutdown
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.1.1.1
!
no ip http server
no ip http secure-server
!
logging trap notifications
logging facility auth
logging 192.168.0.100
access-list 23 permit 192.168.0.0 0.0.0.255
access-list 24 permit 10.1.1.0 0.0.0.255
access-list 101 permit ip any any
radius-server host 192.168.0.100 auth-port 1812 acct-port 1813 key WinRadius
!
control-plane
!
!
!
voice-port 1/0
echo-cancel coverage 32
playout-delay nominal 100
playout-delay mode fixed
cptone IT
timeouts interdigit 3
timeouts call-disconnect 0
music-threshold -70
caller-id enable
!
voice-port 1/1
echo-cancel coverage 32
playout-delay nominal 100
playout-delay mode fixed
cptone IT
timeouts interdigit 3
timeouts call-disconnect 0
music-threshold -70
caller-id enable
!
voice-port 2/0
echo-cancel coverage 32
playout-delay nominal 100
playout-delay mode fixed
cptone IT
timeouts interdigit 3
timeouts call-disconnect 0
music-threshold -70
caller-id enable
!
voice-port 2/1
echo-cancel coverage 32
playout-delay nominal 100
playout-delay mode fixed
cptone IT
timeouts interdigit 3
timeouts call-disconnect 0
music-threshold -70
caller-id enable
!
!
!
!
!
!
dial-peer voice 2 pots
destination-pattern 9000
port 1/0
!
dial-peer voice 3 voip
destination-pattern 7000
session target ipv4:10.1.1.1
!
dial-peer voice 4 pots
destination-pattern 9001
port 1/1
!
dial-peer voice 5 voip
destination-pattern 7001
session target ipv4:10.1.1.1
!
dial-peer voice 1 voip
destination-pattern [0,1,3,8]T
session target ipv4:10.1.1.1
session transport udp
!
dial-peer voice 6 voip
destination-pattern 5000
session target ipv4:192.168.0.100:5061
session transport udp
codec g711ulaw
no vad
!
!
line con 0
line aux 0
line vty 0 4
access-class 23 in
exec-timeout 120 0
password xxxxxxxx
length 0
transport input telnet
!
end
voip e due 1751-v
Moderatore: Federico.Lagni
- daysleeper
- Network Emperor
- Messaggi: 347
- Iscritto il: gio 20 ott , 2005 12:47 pm
- Località: Gioia del Colle(ba)
A daje e daje le cipolle diventan'aje!!!
- daysleeper
- Network Emperor
- Messaggi: 347
- Iscritto il: gio 20 ott , 2005 12:47 pm
- Località: Gioia del Colle(ba)
Mmmh mi sono reso conto che da r1 non chiamo r2...maledetto nat..pensavo di togliere il nat e di fare routing statico, ma quando provo con una route statica non arrivo a internet...pingo l'interfaccia del router r1 ma non riesco a pingare nulla oltre quella...eppure la route 0.0.0.0 0.0.0.0 192.168.0.1 l'ho messa...uff com'è difficile!
A daje e daje le cipolle diventan'aje!!!