正解:
以下の解決策を参照してください。
-
Solution:
On R1:
R1(config)#router bgp 123
R1(config-router)#address-family ipv4
R1(config-router-af)#neighbor 10.0.0.2 allowas-in
On R3:
R3(config)#router bgp 123
R3(config-router)# address-family ipv4
R3(config-router-af)#neighbor 192.168.1.2 allowas-in
VERIFICATION:
R3#sh ip route bgp
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
B 1.1.1.1 [20/0] via 192.168.1.2, 00:01:17
2.0.0.0/32 is subnetted, 1 subnets
B 2.2.2.2 [20/0] via 192.168.1.2, 00:05:06
10.0.0.0/24 is subnetted, 1 subnets
B 10.0.0.0 [20/0] via 192.168.1.2, 00:01:17
Test Ping from R3 to R1:
R3#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
R3#ping 1.1.1.1 source lo0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
Packet sent with a source address of 3.3.3.3
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms