|
|
|
|
|
GRE command line tunneling Generic Routing Encapsulation (GRE) is an IP tunneling protocol used to transport packets from one network through another network. GRE is supported from the command line in Firmware 3.5.1, on all ACM5xxx, IM4xxx and KCS6xxx models. In future release support for GRE tunneling will be added to the Management GUI You can use this method to bridge two sites on the same subnet together. It's also similar to running OpenVPN to bridge two networks together, without the privacy/security of encryption/authentication. The example below shows how to establish a GRE tunnel between two machines that are already able to contact each other. One machine's IP address is "pc_ip_addr" and the other is "acm_ip_addr". The shared subnet that is to be bridged between the two devices is "10.0.1.0/24". ACM Side: # modprobe ip_gre # ip tunnel add Tunnel mode gre remote pc_ip_addr # ip link set Tunnel up # ip addr add 10.0.1.1 dev Tunnel # ip route add 10.0.1.0/24 dev Tunnel PC Side: # modprobe ip_gre # ip tunnel add Tunnel mode gre remote acm_ip_addr # ip link set Tunnel up # ip addr add 10.0.1.2 dev Tunnel # ip route add 10.0.1.0/24 dev Tunnel You will need a custom network start script to bring this up automatically Note that this connection will be unencrypted and that if encryption is required that we recommended tunnelling the GRE connection over an IPSec tunnel for improved security. |