IPoA configuration example
Network requirements
As shown in Figure 67, Router A, B, and C are connected to the ATM network for intercommunication.
The IP addresses of their ATM interfaces of the three routers are 202.38.160.1/24, 202.38.160.2/24, and 202.38.160.3/24, respectively.
In the ATM network, the VPI/VCI of Router A is 0/40 and 0/41, connecting to Router B and Router C, respectively. The VPI/VCI of Router B is 0/50 and 0/51, connecting to Router A and C, respectively. The VPI/VCI of Router C is 0/60 and 0/61, connected with Router A and B, respectively.
All the PVCs on ATM interfaces of the three routers operate in IPoA application mode.
Figure 67: Network diagram
![](images/image63.png)
Configuration procedure
Configure Router A:
# Enter the view of the ATM 1/0 interface and configure an IP address for it.
<RouterA> system-view [RouterA] interface atm 1/0 [RouterA-Atm1/0] ip address 202.38.160.1 255.255.255.0
# Establish a PVC and enable it to carry IP.
[RouterA-Atm1/0] pvc to_b 0/40 [RouterA-atm-pvc-Atm1/0-0/40-to_b] map ip 202.38.160.2 [RouterA-atm-pvc-Atm1/0-0/40-to_b] quit [RouterA-Atm1/0] pvc to_c 0/41 [RouterA-atm-pvc-Atm1/0-0/41-to_c] map ip 202.38.160.3
Configure Router B:
# Enter the view of the ATM 1/0 interface and configure an IP address for it.
<RouterB> system-view [RouterB] interface atm 1/0 [RouterB-Atm1/0] ip address 202.38.160.2 255.255.255.0
# Establish a PVC and enable it to carry IP.
[RouterB-Atm1/0] pvc to_a 0/50 [RouterB-atm-pvc-Atm1/0-0/50-to_a] map ip 202.38.160.1 [RouterB-atm-pvc-Atm1/0-0/50-to_a] quit [RouterB-Atm1/0] pvc to_c 0/51 [RouterB-atm-pvc-Atm1/0-0/51-to_c] map ip 202.38.160.3
Configure Router C:
# Enter the view of the ATM 1/0 interface and configure an IP address for it.
<RouterC> system-view [RouterC] interface atm 1/0 [RouterC-Atm1/0] ip address 202.38.160.3 255.255.255.0
# Establish a PVC and enable it to carry IP.
[RouterC-Atm1/0] pvc to_a 0/60 [RouterC-atm-pvc-Atm1/0-0/60-to_a] map ip 202.38.160.1 [RouterC-atm-pvc-Atm1/0-0/60-to_a] quit [RouterC-Atm1/0] pvc to_b 0/61 [RouterC-atm-pvc-Atm1/0-0/61-to_b] map ip 202.38.160.2