Experimental environment:
Here we use a Huawei s3526 switch to simulate Internet two H3C firewalls, two quidway s2403h-hi switches
Two 192.168.1.0 and 192.168.2.0 network segments are connected by the two sides of Huawei's firewall respectively
Achieving cheap connectivity using VPN technology
To allow two LANs to communicate with each other, the GRE tunneling technique is used between two firewalls (the so-called tunnels are logical virtual)
Experimental purposes:
The GRE tunneling technology is established on the basis of VPN to realize the interconnection between the LAN of 192.168.1.0 and 192.168.2.0 network segment.
Experiment topology:
Configuration of the S3526 switch (analog Internet)
<quidway>system-view
[Quidway]sysname ISP
Creating VLANs and adding ports to the VLAN
[Isp]vlan 10
[Isp-vlan10]port E0/10
[Isp-vlan10]vlan 20
[Isp-vlan20]port E0/20
[Isp-vlan20]quit
Configure interface addresses
[Isp]int Vlan-interface 10
[Isp-vlan-interface10]ip Add 61.130.130.2 255.255.255.252
[Isp-vlan-interface10]int Vlan 20
[Isp-vlan-interface20]ip Add 61.130.132.2 255.255.255.252
[Isp]dis IP routing-table