JF1980
October 3, 2016, 2:46pm
1
Hi,
I’m having issues creating a plain GRE tunnel. Configuration items for tun0:
address 172.20.218.65/30
description GRE1
encapsulation gre
local-ip 86.45.xx.xx
mtu 1400
multicast disable
+remote-ip 167.225.xx.xx
It won’t let me commit remote-ip it just throws up the error:
[code][ interfaces tunnel tun0 remote-ip 167.225.xx.xx ]
add tunnel “tun0” failed: Invalid argument
[[interfaces tunnel tun0]] failed[/code]
Any idea what the issue is? I can’t find any reference to this error online.
This looks like a bug, though I’m not sure if I’ve ever seen it.
What VyOS version is it? 1.1.7 or the 1.2.0 nightly build?
There may also be something interesting in /var/log/vyatta/vyatta-commit.log or cfg-stdout.log/cfg-stderr.log
JF1980
October 3, 2016, 5:02pm
3
dmbaturin:
This looks like a bug, though I’m not sure if I’ve ever seen it.
What VyOS version is it? 1.1.7 or the 1.2.0 nightly build?
There may also be something interesting in /var/log/vyatta/vyatta-commit.log or cfg-stdout.log/cfg-stderr.log
It does seem like a bug as I’ve seen various examples using similar config and no reference to this error. I’m on 1.1.7 which I believe is the latest stable version - have checked those log files and nothing useful (or related) in there at all.
EDIT Just tried with 1.1.6 - same issue.
JF1980
October 4, 2016, 11:43am
4
JF1980:
dmbaturin:
This looks like a bug, though I’m not sure if I’ve ever seen it.
What VyOS version is it? 1.1.7 or the 1.2.0 nightly build?
There may also be something interesting in /var/log/vyatta/vyatta-commit.log or cfg-stdout.log/cfg-stderr.log
It does seem like a bug as I’ve seen various examples using similar config and no reference to this error. I’m on 1.1.7 which I believe is the latest stable version - have checked those log files and nothing useful (or related) in there at all.
EDIT Just tried with 1.1.6 - same issue.
Am I doing something wrong? The configuration I’m trying to create is the same as I’d setup on a Cisco router.
JF1980
October 4, 2016, 2:28pm
5
Right this is a bug. 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.
Tunnel now up and running!
syncer
October 5, 2016, 5:14pm
6
Thanks for sharing that!
Can you create task at https://phabricator.vyos.net
describe issue and reffer to this post?
So this can be fixed in future releases
JF1980
October 5, 2016, 5:36pm
7
No problem, done. Hopefully this helps anyone else out in the meantime.
bisade
March 8, 2017, 1:47pm
8
Thanks for sharing the solution. you just saved me
system
Closed
July 8, 2018, 1:41am
9
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.