電話(110) 電話(120)
R1---------R2--------R3
電話(119) 電話(123)
1. 接口ip地址 路由
2. 電話號(hào)碼
3. 映射路由
路由1:
inter f0/0
ip add 192.168.1.2 255.255.255.0
no shut
ip route 192.1682.0 255.255.255.0
語(yǔ)音設(shè)置
dial-peer voice 1 pots
dest-patt 110
port 1/0/0
dial-peer voice 2 pots
dest 119
port 1/0/1
dial-peer voice 10 voip
st 120
ss ta ipv4:192.168.2.2
al-peer voice 11 voip
es ta ipv4:192.168.2.2
路由3
inter f0/1
ip add 192.168.2.2 255.255.255.0
ip route 192.168.1.0 255.255.255.0 192.168.2.1
dial-peer 120
port 1/0/0
dial-peer voice 1 pots
dest 120
port 1/0/0
dial-peer voice 2 post
dest 123
port 1/0/1
dial-peer voice 10 voip
dest 110
sees ta ipv4:192.168.1.2
dial-peer voice 11 voip
dest-patt 119
sees ta ipv4:192.168.1.2
路由1
inter f0/0
ip add 192.168.1.1 255.255.255.0
no shut
inter f0/1
ip add 192.168.2.1 255.255.255.0
no shut
來(lái)源:網(wǎng)絡(luò)通信中國(guó)