I am reading this article about setting up a GRE IP Tunnel: https://packetpushers.net/anatomy-of-gre-tunnels/
There's a section about creating a GRE tunnel interface on router A
R1:
interface Tunnel100
tunnel mode gre
ip address 102.1.1.1 255.255.255.0
ipv6 enable
tunnel source Loopback0
tunnel destination 2.2.2.2
I do not have a Cisco router but instead I am trying to create a similar GRE tunnel on a Debian Machine. What does the tunnel source/ tunnel destination map to in the typical ip_gre tunnel setup.
ip tunnel add Tunnel100 mode gre remote 2.2.2.2 local [?] ttl 64
ip addr add 102.1.1.1/24 dev Tunnel100
ip link set gre0 up
Is my above ip_gre settings configured correctly?
Once the gre tunnel is up, should I be able to ping from the 102.1.1.1/24 ip address range to hosts behind the 2.2.2.2 network?