beautypg.com

3 application examples – Allied Telesis AT-WR4500 User Manual

Page 160

background image

160

AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers

RouterOS v3 Configuration and User Guide

Use /ip address add command to assign an IP address to the IPIP interface.
There is no authentication or 'state' for this interface. The bandwidth usage of the interface may be
monitored with the monitor feature from the interface menu.

8.4.3

Application Examples

Description

Suppose we want to add an IPIP tunnel between routers R1 and R2:

[R2]
22.63.11.6

[R1]
10.0.0.1

IP Network

Local Net

Local Net

1.1.1.1

1.1.1.2

IPIP Tunnel

Figure 22: IPIP Tunnel example network

At first, we need to configure IPIP interfaces and then add IP addresses to them.
The configuration for router R1 is as follows:

[admin@AT-WR4562] interface ipip> add
local-address: 10.0.0.1
remote-address: 22.63.11.6
[admin@AT-WR4562] 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@AT-WR4562] interface ipip> en 0
[admin@AT-WR4562] interface ipip> /ip address add address 1.1.1.1/24 interface=ipip1


The configuration of the R2 is shown below:

[admin@AT-WR4562] interface ipip> add local-address=22.63.11.6 remote-address=10.
0.0.1
[admin@AT-WR4562] 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@AT-WR4562] interface ipip> enable 0
[admin@AT-WR4562] interface ipip> /ip address add address 1.1.1.2/24 interface=ipip1

This manual is related to the following products: