D-Link DWL-500 - 11Mb Wireless LAN PCI Network Card Setup Guide Page 81

  • Download
  • Add to my manuals
  • Print
  • Page
    / 463
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 80
IPIP Configuration
Application Example
Suppose we want to add an IPIP tunnel between routers R1 and R2:
At first, we need to configure IPIP interfaces and then add IP addresses to them.
The configuration for router R1 is as follows:
[admin@Wandy] interface ipip> add
local-address: 10.0.0.1
remote-address: 22.63.11.6
[admin@Wandy] interface ipip> print
Flags: X - disabled, R - running
# NAME MTU LOCAL-ADDRESS REMOTE-ADDRESS
0 X ipip1 1480 10.0.0.1 22.63.11.6
[admin@Wandy] interface ipip> en 0
[admin@Wandy] interface ipip> /ip address add address 1.1.1.1/24 interface=ipip1
The configuration of the R2 is shown below:
[admin@Wandy] interface ipip> add local-address=22.63.11.6 remote-address=10.
0.0.1
[admin@Wandy] interface ipip> print
Flags: X - disabled, R - running
# NAME MTU LOCAL-ADDRESS REMOTE-ADDRESS
0 X ipip1 1480 22.63.11.6 10.0.0.1
[admin@Wandy] interface ipip> enable 0
[admin@Wandy] interface ipip> /ip address add address 1.1.1.2/24 interface=ipip1
Now both routers can ping each other:
[admin@Wandy] interface ipip> /ping 1.1.1.2
1.1.1.2 64 byte ping: ttl=64 time=24 ms
1.1.1.2 64 byte ping: ttl=64 time=19 ms
1.1.1.2 64 byte ping: ttl=64 time=20 ms
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 19/21.0/24 ms
[admin@Wandy] interface ipip>
Ethernet Interfaces
Document revision 1.2 (Fri Apr 16 12:35:37 GMT 2004)
This document applies to Wandy RouterOS V2.8
Table of Contents
Table of Contents
General Information
Summary
Specifications
Related Documents
Page view 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 462 463

Comments to this Manuals

No comments