Page MenuHomeVyOS Platform

Issue committing 'remote-ip' when configuring tun interface
Closed, ResolvedPublic

Description

Received this error trying to create a GRE tunnel:

[ interfaces tunnel tun0 remote-ip 167.225.xx.xx ]
add tunnel "tun0" failed: Invalid argument

[[interfaces tunnel tun0]] failed

With a bit of trial and error - if I blow tun0 away and recreate like this it works fine:

set remote-ip xxxx
set local-ip xxxx
set encap gre

commit

set address xxxxx/30
set desc "description"
set mtu 1400

commit
save

If I try to set and commit all items in one go it gives the error above and refuses to commit the remote-ip.

View forum discussion here:

http://forum.vyos.net/showthread.php?tid=26805

Details

Difficulty level
Easy (less than an hour)
Version
1.2.0

Event Timeline

This issue is no longer reproducible, though it's hard to tell which commit fixed it by now. Either way, I can create GRE tunnels just fine. Closing, if it re-appears, just reopen.