[r1]interface GigabitEthernet 0/0/1 [r1-GigabitEthernet0/0/1]ip address 192.168.1.1 24 [r1]interface Serial 4/0/0 [r1-Serial4/0/0]ip address 12.1.1.2 24 [r1-Serial4/0/0]link-protocol hdlc [r1]ip route-static 0.0.0.0 0 12.1.1.1 [r1]interface Tunnel 0/0/0 [r1-Tunnel0/0/0]ip address 192.168.4.1 24 [r1-Tunnel0/0/0]tunnel-protocol gre p2mp [r1-Tunnel0/0/0]source 12.1.1.2 [r1-Tunnel0/0/0]nhrp entry multicast dynamic [r1-Tunnel0/0/0]nhrp network-id 100 [r1]rip 100 [r1-rip-100]network 192.168.1.0 [r1-rip-100]network 192.168.4.0 [r1-rip-100]ping 192.168.2.2 PING 192.168.2.2: 56 data bytes, press CTRL_C to break Request time out Reply from 192.168.2.2: bytes=56 Sequence=2 ttl=127 time=10 ms Reply from 192.168.2.2: bytes=56 Sequence=3 ttl=127 time=20 ms Reply from 192.168.2.2: bytes=56 Sequence=4 ttl=127 time=30 ms Reply from 192.168.2.2: bytes=56 Sequence=5 ttl=127 time=20 ms [r1]interface Tunnel 0/0/0 [r1-Tunnel0/0/0]undo rip split-horizon [r1]acl 2000 [r1-acl-basic-2000]rule permit source 192.168.1.0 0.0.0.255 [r1-acl-basic-2000]q [r1]interface Serial 4/0/0 [r1-Serial4/0/0]nat outbound 2000 [r1]ping 2.2.2.2 PING 2.2.2.2: 56 data bytes, press CTRL_C to break Reply from 2.2.2.2: bytes=56 Sequence=1 ttl=255 time=30 ms Reply from 2.2.2.2: bytes=56 Sequence=2 ttl=255 time=10 ms Reply from 2.2.2.2: bytes=56 Sequence=3 ttl=255 time=10 ms Reply from 2.2.2.2: bytes=56 Sequence=4 ttl=255 time=10 ms Reply from 2.2.2.2: bytes=56 Sequence=5 ttl=255 time=30 ms |