Skip to content

Add Tunnel support for EOS#3659

Draft
snuffy22 wants to merge 6 commits into
ipspace:devfrom
snuffy22:eos-tunnel
Draft

Add Tunnel support for EOS#3659
snuffy22 wants to merge 6 commits into
ipspace:devfrom
snuffy22:eos-tunnel

Conversation

@snuffy22

@snuffy22 snuffy22 commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Add GRE support for EOS.

Passes tests as expected.

Do we want to update the 02-gre-vrf.yml test ?

(py3-snuff) netlab@netlab:~/snuffy-netlab/tests/integration/tunnel$ netlab up -p clab -d eos 01-gre.yml

(py3-snuff) netlab@netlab:~/snuffy-netlab/tests/integration/tunnel$ netlab validate
[g4_adj_v4]  Check OSPF adjacencies (GRE IPv4) [ node(s): r2 ]
[PASS]       r2: OSPFv2 neighbor 10.0.0.1 is in state Full/-
[PASS]       Test succeeded in 0.1 seconds

[g4_adj_v6]  Check OSPFv3 adjacencies (GRE IPv4) [ node(s): r2 ]
[PASS]       r2: OSPFv3 neighbor 10.0.0.1 is in state Full
[PASS]       Test succeeded in 0.1 seconds

[g4_pfx_v4]  Check DUT IPv4 loopback prefix propagation (GRE IPv4) [ node(s): r2 ]
[PASS]       r2: The prefix 10.0.0.1/32 is in the OSPF topology
[PASS]       Test succeeded in 0.1 seconds

[g4_pfx_v6]  Check DUT IPv6 loopback prefix propagation (GRE IPv4) [ node(s): r2 ]
[PASS]       r2: The prefix 2001:db8::1/128 is in the OSPFv3 topology
[PASS]       Test succeeded in 0.1 seconds

[g4_ping_v4] Check end-to-end IPv4 connectivity (GRE IPv4) [ node(s): r2 ]
[PASS]       r2: Ping to 10.0.0.1 from 10.0.0.2/32 succeeded
[PASS]       Test succeeded in 0.1 seconds

[g4_ping_v6] Check end-to-end IPv6 connectivity (GRE IPv4) [ node(s): r2 ]
[PASS]       r2: Ping to ipv6 2001:db8::1 from 2001:db8::2/128 succeeded
[PASS]       Test succeeded in 0.1 seconds

[f_warning]  Starting test
[WARNING]    eos does not support GRE tunnels over IPv6

[INFO]       One test out of 7 tests generated a warning
(py3-snuff) netlab@netlab:~/snuffy-netlab/tests/integration/tunnel$

@DanPartelly

Copy link
Copy Markdown
Collaborator

See #3571, Ivan doesnt really wanted it in Netlab.

@snuffy22

Copy link
Copy Markdown
Contributor Author

@DanPartelly mm what i get for not looking at all the discussions before tinkering.. ;)

@snuffy22 snuffy22 closed this Jul 18, 2026
@ipspace

ipspace commented Jul 18, 2026

Copy link
Copy Markdown
Owner

See #3571, Ivan doesnt really wanted it in Netlab.

Where did you get that impression from? I just told you to run away ;)

@snuffy22 -- to solve this properly, you'd have to (A) figure out whether the "tunnel routes" applies only to OSPF or to all IGPs and then (B) add a device quirk that would set the corresponding flag in routing protocol data, followed by (C) modification of all routing protocol configuration templates.

What you did was unfortunately "developing against the test", and even that would fail if we tested the tunnels in VRFs (not using VRFs for transport)

@snuffy22

Copy link
Copy Markdown
Contributor Author

@ipspace, guilty about for developing against the test.
I will re-visit it after I fix the other few PRs i've made problems for =/

@DanPartelly

Copy link
Copy Markdown
Collaborator

Where did you get that impression from? I just told you to run away ;)

Probably context was off ? I got the impression literally from, and I quote:

"You could start wireshare and figure out what's going on, but I would instead recommend to run away as fast as you can 🤦‍♂️

Also, this is not something I want to see implemented in netlab. "

@snuffy22

Copy link
Copy Markdown
Contributor Author

Did a little extra digging..
IPv4 GRE tunnel:

  • RIPv2 seemed ok without any knobs
  • OSPFv3 seemed ok without any knobs
  • BGP seemed ok without any knobs
  • ISIS also was ok without any knobs

@DanPartelly

Copy link
Copy Markdown
Collaborator

ISIS for my image returned 4 duplicates for any ICMP echo. Please test it manually.

@DanPartelly DanPartelly reopened this Jul 19, 2026
@snuffy22

Copy link
Copy Markdown
Contributor Author

I will look into it in the next day or so and get back if i can produce same issue..

@DanPartelly

Copy link
Copy Markdown
Collaborator

I will look into it in the next day or so and get back if i can produce same issue..

Thank you, and thank you for your prolific contributions to Netlab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants