PR https://github.com/vyos/vyos-1x/pull/1114
vyos@r11-roll:~$ show nat destination rules Rule Destination Translation Inbound Interface ---- ----------- ----------- ----------------- 100 port 3389 192.0.2.40 port 80 eth0 vyos@r11-roll:~$
PR https://github.com/vyos/vyos-1x/pull/1114
vyos@r11-roll:~$ show nat destination rules Rule Destination Translation Inbound Interface ---- ----------- ----------- ----------------- 100 port 3389 192.0.2.40 port 80 eth0 vyos@r11-roll:~$
Strace statistics
Duplicate T1877
Not sure if we can migrate all old cluster CLI syntax, but create a new I think we can
Something like:
set cluster corosync name xxx set cluster corosync resource ip|systemd x.x.x.x set cluster corosync two-node enable|disable (default enable) set cluster corosync transport udpu|knet set cluster corosync node node01 address|name x.x.x.x|node01.local set cluster corosync node node01 node-id 1 set cluster corosync node node02 adderss|name x.x.x.x|node02.local set cluster corosync node node02 node-id 2
Still with issues, VyOS 1.4-rolling-202112090318:
vyos@r11-roll# set system config-management commit-archive location sftp://foo:foo@192.168.122.14/
[edit]
vyos@r11-roll# commit
Archiving config...
sftp://192.168.122.14/ Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/vyos/remote.py", line 312, in upload
urlc(urlstring, *args, **kwargs).upload(local_path)
File "/usr/lib/python3/dist-packages/vyos/remote.py", line 202, in upload
with self._establish() as ssh, ssh.open_sftp() as sftp:
File "/usr/lib/python3/dist-packages/vyos/remote.py", line 189, in _establish
sock = socket.create_connection((self.hostname, self.port), socket.getdefaulttimeout(), self.source)
File "/usr/lib/python3.9/socket.py", line 830, in create_connection
sock.bind(source_address)
TypeError: str, bytes or bytearray expected, not NoneType
[edit]
vyos@r11-roll#
[edit]But save is working:
vyos@r11-roll# save sftp://foo:foo@192.168.122.14/ Saving configuration to 'sftp://foo:foo@192.168.122.14/'... Done [edit] vyos@r11-roll#
Duplicate T2922
@hexes Do I understand correctly that when you set this option you get logs "Options error"?
openvpn-option "--server-bridge 10.1.4.1 255.255.255.0 10.1.4.240 10.1.4.250"
To reproduce:
set policy access-list 100 rule 1 source any set policy access-list 100 rule 1 destination any set policy access-list 100 rule 1 action permit set interface ethernet eth1 address 203.0.113.1/24 set protocols mpls ldp discovery transport-ipv4-address 203.0.113.1 set protocols mpls ldp interface eth1 set protocols mpls ldp router-id 203.0.113.1 commit
Access list is present:
vyos@r4-epa2# vtysh -c "show run" | grep access access-list 100 seq 5 permit ip any any [edit]
Add hello interval:
set protocols mpls ldp discovery hello-ipv4-interval 1
There is no access-list anymore
vyos@r4-epa2# commit [edit] vyos@r4-epa2# vtysh -c "show run" | grep access [edit] vyos@r4-epa2#
The correct key for sflow sfprobe_source_ip
PR https://github.com/vyos/vyos-1x/pull/1099
It is working only for TCP right now
set system syslog host 192.168.122.1 facility all protocol 'tcp' set system syslog host 192.168.122.1 format octet-counted set system syslog host 192.168.122.1 port '1514'
Config:
vyos@r4-epa2# cat /etc/rsyslog.d/vyos-rsyslog.conf ## generated by syslog.py ## ## file based logging $outchannel global,/var/log/messages,262144,/usr/sbin/logrotate /etc/logrotate.d/vyos-rsyslog *.info;local7.debug :omfile:$global ## console logging ## remote logging *.err @@(o)192.168.122.1:1514;RSYSLOG_SyslogProtocol23Format [edit] vyos@r4-epa2#
@fetzerms Thanks, Could you test the crux build?
>>> from vyos.ifconfig import Section
>>> Section.interfaces('geneve')
[]
>>>@fetzerms Is xe-guest-utilities is present in iso image?
I'll look at it soon.
It's just a warning message, as ppp+ it is a regex, exactly interface with such name not exist.
But rule applied
I opened an issue https://github.com/FRRouting/frr/issues/10160
@FileGo It does not require such configuration in the server section.
As user interfaces creates dynamically "ppp0 ppp5 ppp23" etc
Your zone should look like:
@anthr76 Try vyos-1.4-rolling-202112010318-amd64.iso
After disable/enable interface ethX the routes reappear
vyos@r11-roll:~$ sudo ip link set dev eth0 down vyos@r11-roll:~$ sudo ip link set dev eth0 up
PR https://github.com/vyos/vyos-1x/pull/1090
vyos@r11-roll:~$ show configuration json pretty
{
"interfaces": {
"ethernet": {
"eth0": {
"address": [
"192.168.122.11/24"
],
"hw-id": "52:54:00:48:a0:c6"
},
"eth1": {
"hw-id": "52:54:00:fc:50:0b"
},
"eth2": {
"hw-id": "52:54:00:e5:2f:51"
}
},
"loopback": {
"lo": {}
}
},
"protocols": {
"static": {
"route": {
"0.0.0.0/0": {
"next-hop": {
"192.168.122.1": {}
}
}
}
}
},
"service": {
"ssh": {
"disable-host-validation": {}
}
},
"system": {
"config-management": {
"commit-revisions": "100"
},
"conntrack": {
"modules": {
"ftp": {},
"h323": {},
"nfs": {},
"pptp": {},
"sip": {},
"sqlnet": {},
"tftp": {}
}
},
"console": {
"device": {
"ttyS0": {
"speed": "115200"
}
}
},
"host-name": "r11-roll",
"login": {
"user": {
"vyos": {
"authentication": {
"encrypted-password": "$45OXXXX",
"plaintext-password": "",
"public-keys": {
"vyos@vyos": {
"key": "AAXXXXk=",
"type": "ssh-rsa"
}
}
}
}
}
},
"name-server": [
"1.1.1.1"
],
"ntp": {
"server": {
"time1.vyos.net": {},
"time2.vyos.net": {},
"time3.vyos.net": {}
}
},
"syslog": {
"global": {
"facility": {
"all": {
"level": "info"
},
"protocols": {
"level": "debug"
}
}
}
},
"time-zone": "Europe/Madrid"
}
}PR https://github.com/vyos/vyos-build/pull/206
vyos@vyos:~$ show version all | match cloud ii amazon-cloudwatch-agent 1.247349.0b251399-1 amd64 Amazon CloudWatch Agent ii cloud-init 20.4-404-g0a9f4841-1~bddeb all Init scripts for cloud instances vyos@vyos:~$
Require rewriting vyatta-config-mgmt to XML/Python
@NikolayP Can you play with it?
Already implemented in FRR 8.x, so for first, we should migrate to FRR 8.x if it is possible T3753
We try not to use "raw options" of commands.
But I don't see another universal solution for it.
As the first step: