Lab 3 - First Site-to-Site IPsec VPN
In this lab we are going to build the first VPN between both UC540s using Cisco Configuration Assistant Multisite Manager rather than configuring IKE/IPsec manually.
The important complication is that both UC540 WAN interfaces obtain a dynamic public IPv4 address from Movistar LTE. Cisco’s Multisite Manager expects DHCP-WAN sites to have DDNS configured, because the remote site's WAN address can change. Cisco explicitly documents DDNS as required for DHCP WAN multisite deployments and allows remote sites to be identified by either a WAN IP or an FQDN.
Our final design is:
| Site 1 | Site 2 | |
|---|---|---|
| Data VLAN | VLAN 1 — 172.16.10.0/24 |
VLAN 1 — 172.17.10.0/24 |
| Voice VLAN | VLAN 100 — 172.16.20.0/24 |
VLAN 100 — 172.17.20.0/24 |
| WAN | DHCP over Movistar LTE | DHCP over Movistar LTE |
| DDNS | lte-1.sergio-jimenez.net |
lte-2.sergio-jimenez.net |
| DDNS updater | OpenWrt Pi lte-1 |
OpenWrt Pi lte-2 |
Dynamic DNS with Cloudflare
CCA was designed around old HTTP DDNS providers.
Instead of depending on those obsolete services, we use the domain we already control:
sergio-jimenez.net
and create two Cloudflare A records:
lte-1.sergio-jimenez.net
lte-2.sergio-jimenez.net
Both records are configured as DNS only, not proxied. This is essential: we need DNS to return the real Movistar public IPv4 because IPsec will connect directly to that address. A proxied Cloudflare record would instead resolve to Cloudflare infrastructure.
Cloudflare officially supports dynamic-address scenarios by having a script detect IP changes and update the DNS record through its API. API tokens with DNS Write permission can edit records, and proxied: false keeps an A record DNS-only.
Why the Pi cannot simply query its own public IP
Our OpenWrt configuration is unusual because of relayd. The LTE public address is passed through the Pi and assigned directly to the UC540 Fa0/0:
Huawei E3372s
│
wwan0
│
relayd
│
eth1
│
UC540 Fa0/0
│
Movistar public IPv4
The Pi therefore does not own the LTE public IP. Furthermore, each Pi is also connected as a Wi-Fi client to the home network so that the Pi itself can reach services such as the Cloudflare API:
Pi-generated traffic
│
└── Wi-Fi → Home Internet → Cloudflare API
UC540 traffic
│
└── eth1 → relayd → wwan0 → Movistar LTE
We verified OpenWrt policy routing already handles this correctly. Traffic entering eth1 uses the LTE routing table, while traffic generated locally by the Pi uses its normal Wi-Fi default route.
Detecting the UC540 public IP
relayd conveniently exposes the UC540-facing address through the neighbor table. For example on lte-1:
0.0.0.0 lladdr ac:f2:c5:9d:a1:a0 STALE
176.82.173.71 lladdr ac:f2:c5:9d:a1:a0 REACHABLE
Both entries use the same MAC address. The first lets us identify the UC540 WAN MAC, and the second gives us the corresponding current public IPv4. This is much cleaner than waiting for a DHCP renewal or querying an external “what is my IP” service.
Cloudflare DDNS updater on both Pis
Each Pi uses the same script. Because the OpenWrt hostnames are already lte-1 and lte-2, the script automatically constructs the correct DNS hostname.
Using a restricted API token rather than the Global API Key is Cloudflare's recommended authentication method. Cloudflare Docs. The script is:
#!/bin/sh
ZONE_ID="YOUR_ZONE_ID"
API_TOKEN="YOUR_API_TOKEN"
NAME="$(hostname).sergio-jimenez.net"
API="https://api.cloudflare.com/client/v4"
# Identify the UC540 WAN MAC through relayd
MAC="$(ip neigh show dev eth1 | awk '$1=="0.0.0.0" {print $3; exit}')"
# Find the public IPv4 associated with that MAC
IP="$(ip neigh show dev eth1 | \
awk -v mac="$MAC" '$1!="0.0.0.0" && $3==mac {print $1; exit}')"
[ -z "$IP" ] && {
logger -t cf-ddns "Could not find LTE public IP"
exit 1
}
# Read the current Cloudflare record
JSON="$(curl -sS \
-H "Authorization: Bearer $API_TOKEN" \
"$API/zones/$ZONE_ID/dns_records?type=A&name=$NAME")"
ID="$(echo "$JSON" | jsonfilter -e '@.result[0].id')"
OLD_IP="$(echo "$JSON" | jsonfilter -e '@.result[0].content')"
[ -z "$ID" ] && {
logger -t cf-ddns "Record $NAME not found"
exit 1
}
# Update only when the LTE address changes
if [ "$IP" != "$OLD_IP" ]; then
curl -sS -X PATCH \
-H "Authorization: Bearer $API_TOKEN" \
-H "Content-Type: application/json" \
"$API/zones/$ZONE_ID/dns_records/$ID" \
--data "{\"content\":\"$IP\",\"proxied\":false}" >/dev/null
logger -t cf-ddns "$NAME updated: $OLD_IP -> $IP"
else
logger -t cf-ddns "$NAME already correct: $IP"
fi
It is saved on both Pis as:
/usr/bin/cloudflare-ddns.sh
with:
chmod 700 /usr/bin/cloudflare-ddns.sh
And cron runs it periodically:
* * * * * /usr/bin/cloudflare-ddns.sh
The important result is now:
lte-1.sergio-jimenez.net → current Site 1 LTE public IPv4
lte-2.sergio-jimenez.net → current Site 2 LTE public IPv4
So even if Movistar replaces either DHCP lease, the DNS name follows the new address automatically.
Pre-Multisite checks
Before letting CCA modify anything, both UC540s must already have their normal standalone configuration working.
Cisco specifically says that Firewall/NAT should be configured before Multisite Manager, because changing those settings afterwards can require the multisite configuration to be rebuilt. Cisco also expects basic voice/data configuration, Internet access, unique Data VLAN networks and local telephony to already exist.
We have already done that in Labs 1 and 2:
SITE 1
Data VLAN 1 172.16.10.0/24
Voice VLAN 100 172.16.20.0/24
Phone 1xxx
Internet Working through LTE
SITE 2
Data VLAN 1 172.17.10.0/24
Voice VLAN 100 172.17.20.0/24
Phone 2xxx
Internet Working through LTE
NAT currently behaves normally:
LAN → Internet
│
▼
PAT
│
▼
UC540 Fa0/0 public LTE IPv4
Once Multisite Manager creates the VPN, inter-site traffic must instead be treated as VPN traffic and not ordinary Internet PAT traffic. We already covered that concept in Lab 2.
How CCA Multisite Manager will work
Cisco's intended workflow is to configure the complete multisite topology at Site 1, export the configuration, and then import it at Site 2. CCA will ask us for things such as:
Global settings
- VPN pre-shared key
- Intersite dialing settings
- Voice codec
Site 1
- Site name
- Site index
- Extension length
- WAN/FQDN
- Data VLAN information
Site 2
- Site name
- Site index
- Extension length
- WAN/FQDN
- Data VLAN information
For the remote WAN identities we intend to use:
Site 1 → lte-1.sergio-jimenez.net
Site 2 → lte-2.sergio-jimenez.net
CCA's own documentation confirms that remote sites can be entered using a WAN IP or FQDN. There is one thing we have deliberately not assumed yet: Cisco's old CCA checks whether DDNS is “configured” for a DHCP WAN before launching Multisite Manager. Our Cloudflare DDNS is functionally correct but maintained externally by OpenWrt rather than through CCA's obsolete DDNS-provider menu. Cisco's documentation describes that prerequisite in terms of CCA's DDNS configuration. So the next step is simply to see whether CCA accepts our setup.
Start Multisite Manager
Connect CCA to Site 1 / UC540-H1, preferably from the PC directly connected to that UC540.
Open:
Configure → Telephony → Site Management → Multisite Manager
As we suspected, CCA blocks us specifically because it believes DDNS is “Not Configured". The Cloudflare side is already correct; at that point we only need to deal with CCA's legacy prerequisite check rather than redesign DDNS.
CCA is not checking whether the hostname resolves; it is checking whether DDNS is configured on the UC540 itself. Cloudflare DDNS is already working correctly, but CCA does not know that because the updates are being performed by the Pi.
On Site 1, go to:
Configure → Routing → Internet Connection → Modify
Under HTTP DDNS, select one of the legacy providers. I would use:
Provider: members.dyndns.org
Hostname: lte-1.sergio-jimenez.net
Username: dummy
Password: dummy
CCA's documentation says the hostname is not validated, and the multisite requirement is essentially that a DHCP WAN has a DDNS configuration associated with it.
Then do the same on Site 2.
What this actually means is, we are not using DynDNS. The real system remains:
OpenWrt lte-1
│
└── Cloudflare API
│
▼
lte-1.sergio-jimenez.net
│
▼
Site 1 public LTE IP
CCA will merely generate an IOS DDNS configuration so Multisite Manager stops complaining. IOS typically represents HTTP DDNS with an update method plus commands on the DHCP WAN interface such as:
That is the standard Cisco IOS DDNS mechanism. The attempted legacy-provider updates may fail, but that doesn't matter because the Pi is maintaining the real Cloudflare record.
Back at the Multisite Manager section, we bypassed the DDNS check:
This first page is mainly a prerequisite check. CCA confirms that the site is ready to participate in a multisite topology. You currently see:
- WAN Traffic Shaping: Not Configured
- Call Admission Control: Not Configured
Both are optional for Multisite Manager. Cisco recommends traffic shaping/QoS when WAN bandwidth is limited, and CAC can limit simultaneous intersite calls so voice does not oversubscribe the WAN.
For our lab, leave both unconfigured for now. LTE bandwidth varies significantly, so choosing an arbitrary fixed shaping rate at this stage could make the lab worse rather than better. And since we only have one phone at each site, CAC provides little value yet.
Our current situation is therefore:
DDNS prerequisite ✓
Internet connectivity ✓
Unique Data VLANs ✓
Local CME configuration ✓
Traffic Shaping optional — skip for now
Call Admission Control optional — skip for now
Cisco's documented workflow is then to configure the complete multisite topology on the first UC500, export it, and import it at the other site. Click Enter Multisite Settings.
Configure these values:
| Setting | Value | Notes |
|---|---|---|
| Pre-Shared Key | Choose a strong lab key | Must be identical on both UC540s |
| Display Key | Optional | Only reveals it on screen |
| Allow Key to be Exported | Enable | Makes importing Site 2 easier |
| Codec for Intersite Calls | G.729 | Keep CCA default |
| Intersite Dialing Prefix | 8 | Keep default |
| H.323 Call Start | Slow | Keep default |
This authenticates the two IPsec peers. CCA accepts 8–127 characters; the same key must exist at every site. If Allow Key to be Exported is enabled, CCA includes it in plaintext in the exported multisite file, so protect/delete that file after the lab. Otherwise you must type the key manually at Site 2.
G.729
Keep G.729. It is the classic WAN codec and uses much less bandwidth than G.711, which makes sense over variable LTE links. Cisco specifically describes G.729 as the bandwidth-saving option for multisite/WAN calls. With only one intersite call, either codec would work, but staying with CCA's WAN-oriented default makes sense for this lab.
Intersite prefix 8
CCA's dialing scheme is:
8 + Site ID + Extension
Cisco explicitly defines multisite dialing this way. So if we use:
Site 1 ID = 1
Site 2 ID = 2
and the phones are:
Site 1 = 1001
Site 2 = 2001
CCA will eventually create dialing such as:
From Site 1 to Site 2 / extension 2001:
8 + 2 + 2001 = 822001
From Site 2 to Site 1 / extension 1001:
8 + 1 + 1001 = 811001
It's somewhat redundant because we already deliberately chose unique 1xxx and 2xxx ranges, but CCA Multisite Manager's design requires the intersite prefix + Site ID model. We can later inspect the generated dial-peers and decide whether a cleaner direct 1xxx ↔ 2xxx scheme is worth doing manually.
H.323 Call Start = Slow
Leave this at Slow. This controls the H.323 capability/media negotiation procedure; it does not mean the audio is slower or has extra latency once the call is established. Cisco distinguishes Slow Start from H.323 Fast Connect as different call-setup procedures.
Now click Edit on the Site 1 box.
Intersite Options
Both, because we want:
- the VPN tunnel for inter-site IP connectivity;
- the dialing configuration for calls between the two UC540s.
Once Site 1 is configured click on Add Site and configure similarly. The result should be as follows:
Cisco’s workflow is exactly this: define the first site, add the remote sites, then Apply the configuration. Only after a successful Apply does Export Multisite Configuration File become enabled.
Once Apply finishes successfully:
- Click Export Multisite Configuration File
- Save the XML on the PC
|
|
If you enable Allow Key to be Exported, the PSK will be stored in plaintext inside the exported XML, so keep that file private. Otherwise you’ll have to type the same PSK manually when importing at Home 2.
One important correction to our Lab 3 diagram/documentation: CCA Multisite Manager’s crypto-map VPN protects the Data VLAN subnet only. Cisco explicitly notes that the CCA crypto-map approach connects the UC500 Data VLAN subnets; multi-subnet VPNs including Voice VLAN require CLI/static VTI or manual crypto ACL work.
So for this CCA-based Lab 3, the protected VPN networks are initially:
172.16.10.0/24 ↔ 172.17.10.0/24
The intersite voice calling still works through the multisite dial-plan design, but we should not document VLAN 100 itself as a protected crypto subnet yet. We can extend that later in a separate lab if we want full Voice VLAN reachability.
Now onto Site 2:
- Connect CCA to Home 2
- Open Multisite Manager
- Choose Import Multisite Configuration File
- Import that XML
The test on both UC540-H1 and UC540-H2 are successful:
UC540-H1 checks
UC540-H1#show hosts
Default domain is sergio-jimenez.net
Name/address lookup uses domain service
Name servers are 80.58.61.250, 80.58.61.254
Codes: UN - unknown, EX - expired, OK - OK, ?? - revalidate
temp - temporary, perm - permanent
NA - Not Applicable None - Not defined
Host Port Flags Age Type Address(es)
lte-2.sergio-jimenez.net None (temp, OK) 0 IP 81.47.91.173
UC540-H1#ping lte-2.sergio-jimenez.net
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 81.47.91.173, timeout is 2 seconds:
U.U.U
Success rate is 0 percent (0/5)
UC540-H1#ping 172.17.10.1 source 172.16.10.1 repeat 10
Type escape sequence to abort.
Sending 10, 100-byte ICMP Echos to 172.17.10.1, timeout is 2 seconds:
Packet sent with a source address of 172.16.10.1
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 68/92/244 ms
UC540-H1#show crypto isakmp sa
IPv4 Crypto ISAKMP SA
dst src state conn-id status
81.47.91.173 37.13.152.2 QM_IDLE 2001 ACTIVE
IPv6 Crypto ISAKMP SA
UC540-H1#show crypto ipsec sa
interface: FastEthernet0/0
Crypto map tag: multisite, local addr 37.13.152.2
protected vrf: (none)
local ident (addr/mask/prot/port): (172.16.10.0/255.255.255.0/0/0)
remote ident (addr/mask/prot/port): (172.17.10.0/255.255.255.0/0/0)
current_peer 81.47.91.173 port 500
PERMIT, flags={origin_is_acl,}
#pkts encaps: 10, #pkts encrypt: 10, #pkts digest: 10
#pkts decaps: 10, #pkts decrypt: 10, #pkts verify: 10
#pkts compressed: 0, #pkts decompressed: 0
#pkts not compressed: 0, #pkts compr. failed: 0
#pkts not decompressed: 0, #pkts decompress failed: 0
#send errors 9, #recv errors 0
local crypto endpt.: 37.13.152.2, remote crypto endpt.: 81.47.91.173
path mtu 1500, ip mtu 1500, ip mtu idb FastEthernet0/0
current outbound spi: 0xB11F1EFB(2971606779)
PFS (Y/N): N, DH group: none
inbound esp sas:
spi: 0xE6A6D8DE(3869694174)
transform: esp-3des esp-sha-hmac ,
in use settings ={Tunnel, }
conn id: 1, flow_id: Onboard VPN:1, sibling_flags 80000046, crypto map: multisite
sa timing: remaining key lifetime (k/sec): (4528789/3564)
IV size: 8 bytes
replay detection support: Y
Status: ACTIVE
inbound ah sas:
inbound pcp sas:
outbound esp sas:
spi: 0xB11F1EFB(2971606779)
transform: esp-3des esp-sha-hmac ,
in use settings ={Tunnel, }
conn id: 2, flow_id: Onboard VPN:2, sibling_flags 80000046, crypto map: multisite
sa timing: remaining key lifetime (k/sec): (4528789/3564)
IV size: 8 bytes
replay detection support: Y
Status: ACTIVE
outbound ah sas:
outbound pcp sas:
UC540-H1#
UC540-H2 checks
banner login ^Cisco Configuration Assistant. Version: 3.2 (3). Thu Sep 24 16:49:39 CEST 2026^
UC500-H2#show crypto isakmp sa
IPv4 Crypto ISAKMP SA
dst src state conn-id status
81.47.91.173 37.13.152.2 QM_IDLE 2001 ACTIVE
IPv6 Crypto ISAKMP SA
UC500-H2#show crypto ipsec sa
interface: FastEthernet0/0
Crypto map tag: multisite, local addr 81.47.91.173
protected vrf: (none)
local ident (addr/mask/prot/port): (172.17.10.0/255.255.255.0/0/0)
remote ident (addr/mask/prot/port): (172.16.10.0/255.255.255.0/0/0)
current_peer 37.13.152.2 port 500
PERMIT, flags={origin_is_acl,}
#pkts encaps: 335, #pkts encrypt: 335, #pkts digest: 335
#pkts decaps: 330, #pkts decrypt: 330, #pkts verify: 330
#pkts compressed: 0, #pkts decompressed: 0
#pkts not compressed: 0, #pkts compr. failed: 0
#pkts not decompressed: 0, #pkts decompress failed: 0
#send errors 0, #recv errors 0
local crypto endpt.: 81.47.91.173, remote crypto endpt.: 37.13.152.2
path mtu 1500, ip mtu 1500, ip mtu idb FastEthernet0/0
current outbound spi: 0xE6A6D8DE(3869694174)
PFS (Y/N): N, DH group: none
inbound esp sas:
spi: 0xB11F1EFB(2971606779)
transform: esp-3des esp-sha-hmac ,
in use settings ={Tunnel, }
conn id: 1, flow_id: Onboard VPN:1, sibling_flags 80000046, crypto map: multisite
sa timing: remaining key lifetime (k/sec): (4476736/3408)
IV size: 8 bytes
replay detection support: Y
Status: ACTIVE
inbound ah sas:
inbound pcp sas:
outbound esp sas:
spi: 0xE6A6D8DE(3869694174)
transform: esp-3des esp-sha-hmac ,
in use settings ={Tunnel, }
conn id: 2, flow_id: Onboard VPN:2, sibling_flags 80000046, crypto map: multisite
sa timing: remaining key lifetime (k/sec): (4476735/3408)
IV size: 8 bytes
replay detection support: Y
Status: ACTIVE
outbound ah sas:
outbound pcp sas:
UC500-H2#show crypto map
Crypto Map IPv4 "multisite" 1 ipsec-isakmp
Description: Home 1
Peer = lte-1.sergio-jimenez.net [37.13.152.2, valid for 00:00:00]
Extended IP access list 105
access-list 105 permit ip 172.17.10.0 0.0.0.255 172.16.10.0 0.0.0.255
Current peer: lte-1.sergio-jimenez.net [37.13.152.2, valid for 00:00:00]
Security association lifetime: 4608000 kilobytes/3600 seconds
Responder-Only (Y/N): N
PFS (Y/N): N
Transform sets={
ESP-3DES-SHA: { esp-3des esp-sha-hmac } ,
}
QOS pre-classification
Interfaces using crypto map multisite:
FastEthernet0/0
UC500-H2#show access-lists
Extended IP access list 100
10 deny ip 192.168.10.0 0.0.0.255 any
20 deny ip host 255.255.255.255 any
30 deny ip 127.0.0.0 0.255.255.255 any
40 permit ip any any
Extended IP access list 101
10 permit tcp 172.17.20.0 0.0.0.255 eq 2000 any (18 matches)
20 permit udp 172.17.20.0 0.0.0.255 eq 2000 any
30 deny ip 172.17.20.0 0.0.0.255 any
40 deny ip 172.17.10.0 0.0.0.255 any
50 deny ip host 255.255.255.255 any
60 deny ip 127.0.0.0 0.255.255.255 any
70 permit ip any any (5294 matches)
Extended IP access list 102
10 deny ip 10.1.10.0 0.0.0.3 any
20 deny ip 172.17.20.0 0.0.0.255 any
30 deny ip host 255.255.255.255 any
40 deny ip 127.0.0.0 0.255.255.255 any
50 permit ip any any (19469 matches)
Extended IP access list 103
10 permit tcp 10.1.10.0 0.0.0.3 any eq 2000 (33 matches)
20 permit udp 10.1.10.0 0.0.0.3 any eq 2000
30 deny ip 10.1.10.0 0.0.0.3 any
40 deny ip 172.17.10.0 0.0.0.255 any
50 deny ip host 255.255.255.255 any
60 deny ip 127.0.0.0 0.255.255.255 any
70 permit ip any any (1227 matches)
Extended IP access list 104
10 permit ip 172.16.10.0 0.0.0.255 172.17.10.0 0.0.0.255
20 permit udp any any eq non500-isakmp
30 permit udp any any eq isakmp (1 match)
40 permit esp any any (330 matches)
50 permit ahp any any
60 deny ip 10.1.10.0 0.0.0.3 any
70 deny ip 172.17.20.0 0.0.0.255 any
80 deny ip 172.17.10.0 0.0.0.255 any
90 permit udp any eq bootps any eq bootpc
100 permit icmp any any echo-reply
110 permit icmp any any time-exceeded
120 permit icmp any any unreachable
130 deny ip 10.0.0.0 0.255.255.255 any
140 deny ip 172.16.0.0 0.15.255.255 any
150 deny ip 192.168.0.0 0.0.255.255 any
160 deny ip 127.0.0.0 0.255.255.255 any
170 deny ip host 255.255.255.255 any
180 deny ip any any log (71 matches)
Extended IP access list 105
10 permit ip 172.17.10.0 0.0.0.255 172.16.10.0 0.0.0.255 (665 matches)
Extended IP access list 106
10 deny ip 172.17.10.0 0.0.0.255 172.16.10.0 0.0.0.255 (34 matches)
20 permit ip 10.1.10.0 0.0.0.3 any
30 permit ip 172.17.10.0 0.0.0.255 any (1 match)
40 permit ip 172.17.20.0 0.0.0.255 any
UC500-H2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is 81.47.91.174 to network 0.0.0.0
S* 0.0.0.0/0 [254/0] via 81.47.91.174
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.1.10.0/30 is directly connected, Loopback0
S 10.1.10.1/32 is directly connected, Integrated-Service-Engine0/0
L 10.1.10.2/32 is directly connected, Loopback0
81.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 81.47.91.172/30 is directly connected, FastEthernet0/0
L 81.47.91.173/32 is directly connected, FastEthernet0/0
172.17.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 172.17.10.0/24 is directly connected, BVI1
L 172.17.10.1/32 is directly connected, BVI1
C 172.17.20.0/24 is directly connected, BVI100
L 172.17.20.1/32 is directly connected, BVI100
UC500-H2#ping 172.16.10.1 source 172.17.10.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.10.1, timeout is 2 seconds:
Packet sent with a source address of 172.17.10.1
..!!!
Success rate is 60 percent (3/5), round-trip min/avg/max = 76/138/264 ms
UC500-H2#ping 172.16.10.1 source 172.17.10.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.10.1, timeout is 2 seconds:
Packet sent with a source address of 172.17.10.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 72/260/952 ms
UC500-H2#show hosts
Default domain is not set
Name/address lookup uses domain service
Name servers are 80.58.61.250, 80.58.61.254
Codes: UN - unknown, EX - expired, OK - OK, ?? - revalidate
temp - temporary, perm - permanent
NA - Not Applicable None - Not defined
Host Port Flags Age Type Address(es)
UC500-H2#ping lte-1.sergio-jimenez.net
Translating "lte-1.sergio-jimenez.net"...domain server (80.58.61.250) [OK]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 37.13.152.2, timeout is 2 seconds:
...
Success rate is 0 percent (0/3)
UC500-H2#
QM_IDLE means IKE Phase 1 and IPsec Phase 2 completed successfully. The peers authenticated, negotiated the transform set, and installed working security associations.
DNS is resolving the hostnames so ICMP failing is not a problem. The public WAN itself simply isn't accepting ordinary ICMP echo traffic in the same way the protected LAN does. What matters for the VPN is that UDP/500, ESP, etc. are permitted — and the working IPsec tunnel proves they are.
CCA has generated and succesfully build:
DDNS peer resolution
↓
IKE / ISAKMP Phase 1
↓
Pre-shared-key authentication
↓
IPsec Phase 2
↓
3DES + SHA transform-set
↓
Crypto ACL 105
172.16.10.0/24 ↔ 172.17.10.0/24
↓
NAT exemption ACL 106
↓
Crypto map "multisite"
↓
FastEthernet0/0
CCA created the reverse crypto ACL correctly:
access-list 105 permit ip 172.17.10.0 0.0.0.255 172.16.10.0 0.0.0.255
and NAT exemption is also working:
access-list 106
deny ip 172.17.10.0 0.0.0.255 172.16.10.0 0.0.0.255
permit ip 10.1.10.0 0.0.0.3 any
permit ip 172.17.10.0 0.0.0.255 any
permit ip 172.17.20.0 0.0.0.255 any
That first deny means:
Do not NAT traffic from the Home 2 Data LAN when its destination is the Home 1 Data LAN.
Normal Internet traffic continues to match the later permits and gets PATed as before. The reverse ping confirms the tunnel is genuinely bidirectional:
172.17.10.1 → 172.16.10.1
First attempt: ..!!!
Second attempt: !!!!!
Final result: 100%
We can now consider the IPsec portion of Lab 3 complete:
Home 1 Data LAN Home 2 Data LAN
172.16.10.0/24 172.17.10.0/24
│ │
▼ ▼
UC540-H1 UC540-H2
37.13.152.2 81.47.91.173
│ │
└──────── IPsec ESP / 3DES-SHA ─────────┘
ACTIVE
And CCA has automatically created:
✓ FQDN-based VPN peers
✓ IKE/ISAKMP
✓ Pre-shared-key authentication
✓ ESP 3DES/SHA transform-set
✓ Crypto ACLs
✓ NAT exemption
✓ WAN ACL exceptions for IPsec
✓ Crypto map on Fa0/0
✓ Multisite voice dial-plan configuration
The key idea is that the phones themselves are not building the VPN and they are not speaking H.323 to each other. At each site, the phone is still just a normal local CME phone:
Home 1 phone 1001
172.16.20.x
|
| SCCP
v
UC540-H1
and:
Home 2 phone 2001
172.17.20.x
|
| SCCP
v
UC540-H2
When you dial from Home 1: 822001
CCA interprets that as:
8 = intersite prefix
2 = Site ID 2
2001 = extension at Site 2
The local UC540 does not try to send that directly to the remote phone. Instead, UC540-H1 creates an H.323 call leg toward UC540-H2. So conceptually
Phone 1001
|
| SCCP
v
UC540-H1
|
| H.323
| through IPsec
v
UC540-H2
|
| SCCP
v
Phone 2001
That is the important architecture:
SCCP locally
H.323 between the UC540s
SCCP locally again
Where the VPN comes in
CCA created this crypto selector:
172.16.10.0/24 <-> 172.17.10.0/24
Those are the Data VLANs, not the Voice VLANs. CCA also created the multisite H.323 configuration using the UC540s as the intersite voice gateways. The UC540-to-UC540 communication therefore uses addresses that are reachable through that VPN. So the intersite signaling looks broadly like:
UC540-H1
172.16.10.1
|
| H.323 signaling
|
| matches crypto ACL
v
============================
IPsec tunnel
============================
|
v
UC540-H2
172.17.10.1
That is why the call works even though the voice subnets:
172.16.20.0/24 <-> 172.17.20.0/24
are not currently part of the crypto ACL. The phones only need connectivity to their own local CME. The UC540s handle the intersite voice leg.
Signaling versus audio
There are really two separate flows in a VoIP call:
1. Signaling
"Call extension 2001"
"Phone is ringing"
"Call answered"
2. Media
Actual RTP audio packets
The H.323 signaling is clearly between the two UC540s. What I do not want to assume without looking at the generated configuration / active call state is the exact RTP media path CCA chose. There are two possibilities conceptually:
Phone 1001 -> UC540-H1 -> VPN -> UC540-H2 -> Phone 2001
or a more direct negotiated RTP path.
But we already know something important: because your call works with the VPN crypto ACL protecting only the Data VLANs, CCA is not relying on simple routed Voice-VLAN-to-Voice-VLAN connectivity for the call to function.














