CONFIGURATION
38
Example of the L2TP Tunnel configuration:
Fig. 39: Topology of example L2TP tunnel configuration
Configuration of the L2TP tunnel:
Konfigurace A B
Mode L2TP Server L2TP Client
Server IP Address --- 10.0.0.1
Client Start IP Address 192.168.1.2 ---
Client End IP Address 192.168.1.254 ---
Local IP Address 192.168.1.1 ---
Remote IP Address --- ---
Remote Subnet 192.168.2.0 192.168.1.0
Remote Subnet Mask 255.255.255.0 255.255.255.0
Username username username
Password password password
Table 36: Example L2TP tunel configuration
192.168.1.4
192.168.1.3
192.168.1.2
192.168.2.2
192.168.2.3
192.168.2.4
Router A
ppp0 10.0.0.1
192.168.1.1
Router B
ppp0 10.0.0.2
192.168.2.1
Default Gateway 192.168.1.1
Default Gateway 192.168.2.1
A
B
Switch
Switch