remote 192.168.140.20 local 192.168.1.81 ttl 255 • sudo ip link set gre1 up • sudo ip addr add 172.18.1.1/24 peer 172.19.1.1/24 dev gre1 • Note: Gre0: is been used, so we have to used gre1 172.18.1.1 =>PC-A gre ip address 172.19.1.2 => PC-B gre ip address
remote 192.168.1.81 local 192.168.140.20 ttl 255 • sudo ip link set gre1 up • sudo ip addr add 172.19.1.1/24 peer 172.18.1.1/24 dev gre1 • Note: 172.18.1.1 =>PC-A gre ip address 172.19.1.2 => PC-B gre ip address