<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sysname r1
[r1]int g0/0
[r1-GigabitEthernet0/0]ip add192.168.1.1 24[r1-GigabitEthernet0/0]int g0/1
[r1-GigabitEthernet0/1]ip add12.1.1.1 24
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C][H3C]sysname r2
[r2]int g0/0
[r2-GigabitEthernet0/0]ip add12.1.1.2 24[r2-GigabitEthernet0/0]int g0/1
[r2-GigabitEthernet0/1]ip add23.1.1.2 24[r2-GigabitEthernet0/1]int loo0
[r2-LoopBack0]ip add4.4.4.4 24
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sysname r3
[r3]int g0/0
[r3-GigabitEthernet0/0]ip add23.1.1.1 24[r3-GigabitEthernet0/0]int g0/1
[r3-GigabitEthernet0/1]ip add192.168.3.1 24
<H3C>ping 4.4.4.4
Ping 4.4.4.4 (4.4.4.4): 56 data bytes, press CTRL_C to break56 bytes from 4.4.4.4: icmp_seq=0ttl=254time=3.000 ms
56 bytes from 4.4.4.4: icmp_seq=1ttl=254time=3.000 ms
56 bytes from 4.4.4.4: icmp_seq=2ttl=254time=2.000 ms
56 bytes from 4.4.4.4: icmp_seq=3ttl=254time=3.000 ms
56 bytes from 4.4.4.4: icmp_seq=4ttl=254time=2.000 ms
私网访问私网
<H3C>ping 192.168.3.2
Ping 192.168.3.2 (192.168.3.2): 56 data bytes, press CTRL_C to break56 bytes from 192.168.3.2: icmp_seq=0ttl=253time=3.000 ms
56 bytes from 192.168.3.2: icmp_seq=1ttl=253time=4.000 ms
56 bytes from 192.168.3.2: icmp_seq=2ttl=253time=5.000 ms
56 bytes from 192.168.3.2: icmp_seq=3ttl=253time=5.000 ms
56 bytes from 192.168.3.2: icmp_seq=4ttl=253time=4.000 ms