NO DATA
849514113
Download
--------------------------------------------------
(4) Command `nmcli -t -f connection,state device`
['nmcli', '-t', '-f', 'connection,state', 'device'] returned 0 in 0.011s
STDOUT:
testeth0:connected
lo:connected (externally)
:disconnected
:disconnected
:disconnected
:disconnected
:disconnected
:disconnected
:disconnected
:disconnected
:disconnected
:disconnected
--------------------------------------------------
Download-------------------------------------------------- (5) Command `nmcli connection` ['nmcli', 'connection'] returned 0 in 0.014s STDOUT: NAME UUID TYPE DEVICE testeth0 d3ef5c66-5f17-4e79-937e-959880ff66ac ethernet eth0 lo 5d9a5c04-078f-4d86-9bc8-920e1ad3d7b3 loopback lo testeth1 cbed5f4c-7e23-4218-812d-f3eff0f1271a ethernet -- testeth10 12002de7-f4b9-40ef-b4c6-abd7867061dd ethernet -- testeth2 475cade9-be29-46d8-9d36-744d2a4cdcaa ethernet -- testeth3 3e658856-3eac-4314-9661-b7093baf4e97 ethernet -- testeth4 40894fd6-de2c-4bb4-aea6-9f77688e1c97 ethernet -- testeth5 e3a2323d-dc64-4f93-8a38-a7b6f210387a ethernet -- testeth6 03db207a-1688-4b10-80d0-28295a0421dd ethernet -- testeth7 e9d37402-107b-493f-90ee-7f8c29b786b4 ethernet -- testeth8 a685ebf4-0e53-465e-9cb3-8c1097fb9758 ethernet -- testeth9 af91efbd-da32-424a-a61b-6021ba363159 ethernet -- -------------------------------------------------- (6) Command `nmcli connection show -a` ['nmcli', 'connection', 'show', '-a'] returned 0 in 0.013s STDOUT: NAME UUID TYPE DEVICE testeth0 d3ef5c66-5f17-4e79-937e-959880ff66ac ethernet eth0 lo 5d9a5c04-078f-4d86-9bc8-920e1ad3d7b3 loopback lo -------------------------------------------------- (7) Command `nmcli con show testeth0` ['nmcli', 'con', 'show', 'testeth0'] returned 0 in 0.015s STDOUT: connection.id: testeth0 connection.uuid: d3ef5c66-5f17-4e79-937e-959880ff66ac connection.stable-id: -- connection.type: 802-3-ethernet connection.interface-name: eth0 connection.autoconnect: yes connection.autoconnect-priority: 0 connection.autoconnect-retries: -1 (default) connection.multi-connect: 0 (default) connection.auth-retries: -1 connection.timestamp: 1717663664 connection.permissions: -- connection.zone: -- connection.controller: -- connection.master: -- connection.slave-type: -- connection.port-type: -- connection.autoconnect-slaves: -1 (default) connection.autoconnect-ports: -1 (default) connection.down-on-poweroff: -1 (default) connection.secondaries: -- connection.gateway-ping-timeout: 0 connection.metered: unknown connection.lldp: default connection.mdns: -1 (default) connection.llmnr: -1 (default) connection.dns-over-tls: -1 (default) connection.mptcp-flags: 0x0 (default) connection.wait-device-timeout: -1 connection.wait-activation-delay: -1 802-3-ethernet.port: -- 802-3-ethernet.speed: 0 802-3-ethernet.duplex: -- 802-3-ethernet.auto-negotiate: no 802-3-ethernet.mac-address: -- 802-3-ethernet.cloned-mac-address: -- 802-3-ethernet.generate-mac-address-mask:-- 802-3-ethernet.mac-address-denylist: -- 802-3-ethernet.mtu: auto 802-3-ethernet.s390-subchannels: -- 802-3-ethernet.s390-nettype: -- 802-3-ethernet.s390-options: -- 802-3-ethernet.wake-on-lan: default 802-3-ethernet.wake-on-lan-password: -- 802-3-ethernet.accept-all-mac-addresses:-1 (default) ipv4.method: auto ipv4.dns: -- ipv4.dns-search: -- ipv4.dns-options: -- ipv4.dns-priority: 0 ipv4.addresses: -- ipv4.gateway: -- ipv4.routes: -- ipv4.route-metric: 99 ipv4.route-table: 0 (unspec) ipv4.routing-rules: -- ipv4.replace-local-rule: -1 (default) ipv4.dhcp-send-release: -1 (default) ipv4.ignore-auto-routes: no ipv4.ignore-auto-dns: no ipv4.dhcp-client-id: -- ipv4.dhcp-iaid: -- ipv4.dhcp-dscp: -- ipv4.dhcp-timeout: 0 (default) ipv4.dhcp-send-hostname: yes ipv4.dhcp-hostname: -- ipv4.dhcp-fqdn: -- ipv4.dhcp-hostname-flags: 0x0 (none) ipv4.never-default: no ipv4.may-fail: no ipv4.required-timeout: -1 (default) ipv4.dad-timeout: -1 (default) ipv4.dhcp-vendor-class-identifier: -- ipv4.link-local: 0 (default) ipv4.dhcp-reject-servers: -- ipv4.auto-route-ext-gw: -1 (default) ipv6.method: auto ipv6.dns: -- ipv6.dns-search: -- ipv6.dns-options: -- ipv6.dns-priority: 0 ipv6.addresses: -- ipv6.gateway: -- ipv6.routes: -- ipv6.route-metric: 99 ipv6.route-table: 0 (unspec) ipv6.routing-rules: -- ipv6.replace-local-rule: -1 (default) ipv6.dhcp-send-release: -1 (default) ipv6.ignore-auto-routes: no ipv6.ignore-auto-dns: no ipv6.never-default: no ipv6.may-fail: yes ipv6.required-timeout: -1 (default) ipv6.ip6-privacy: -1 (default) ipv6.temp-valid-lifetime: 0 (default) ipv6.temp-preferred-lifetime: 0 (default) ipv6.addr-gen-mode: eui64 ipv6.ra-timeout: 0 (default) ipv6.mtu: auto ipv6.dhcp-pd-hint: -- ipv6.dhcp-duid: -- ipv6.dhcp-iaid: -- ipv6.dhcp-timeout: 0 (default) ipv6.dhcp-send-hostname: yes ipv6.dhcp-hostname: -- ipv6.dhcp-hostname-flags: 0x0 (none) ipv6.auto-route-ext-gw: -1 (default) ipv6.token: -- proxy.method: none proxy.browser-only: no proxy.pac-url: -- proxy.pac-script: -- GENERAL.NAME: testeth0 GENERAL.UUID: d3ef5c66-5f17-4e79-937e-959880ff66ac GENERAL.DEVICES: eth0 GENERAL.IP-IFACE: eth0 GENERAL.STATE: activated GENERAL.DEFAULT: yes GENERAL.DEFAULT6: yes GENERAL.SPEC-OBJECT: -- GENERAL.VPN: no GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/2 GENERAL.ZONE: -- GENERAL.MASTER-PATH: -- IP4.ADDRESS[1]: 10.43.135.27/22 IP4.GATEWAY: 10.43.135.254 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 10.43.135.254, mt = 99 IP4.ROUTE[2]: dst = 10.43.132.0/22, nh = 0.0.0.0, mt = 99 IP4.DNS[1]: 10.45.248.15 IP4.DNS[2]: 10.38.5.26 IP4.DOMAIN[1]: tpb.lab.eng.brq.redhat.com IP4.DOMAIN[2]: lab.eng.brq.redhat.com IP4.DOMAIN[3]: brq.redhat.com IP4.DOMAIN[4]: redhat.com DHCP4.OPTION[1]: dhcp_client_identifier = 01:52:54:00:59:b8:de DHCP4.OPTION[2]: dhcp_lease_time = 86400 DHCP4.OPTION[3]: dhcp_server_identifier = 10.45.248.15 DHCP4.OPTION[4]: domain_name = tpb.lab.eng.brq.redhat.com lab.eng.brq.redhat.com brq.redhat.com redhat.com DHCP4.OPTION[5]: domain_name_servers = 10.45.248.15 10.38.5.26 DHCP4.OPTION[6]: expiry = 1717750064 DHCP4.OPTION[7]: filename = pxelinux.0 DHCP4.OPTION[8]: host_name = wifi5-ml5-vm2.tpb.lab.eng.brq.redhat.com DHCP4.OPTION[9]: ip_address = 10.43.135.27 DHCP4.OPTION[10]: next_server = 10.44.0.15 DHCP4.OPTION[11]: ntp_servers = 10.2.32.38 10.2.32.37 10.11.160.238 DHCP4.OPTION[12]: requested_broadcast_address = 1 DHCP4.OPTION[13]: requested_domain_name = 1 DHCP4.OPTION[14]: requested_domain_name_servers = 1 DHCP4.OPTION[15]: requested_domain_search = 1 DHCP4.OPTION[16]: requested_host_name = 1 DHCP4.OPTION[17]: requested_interface_mtu = 1 DHCP4.OPTION[18]: requested_ms_classless_static_routes = 1 DHCP4.OPTION[19]: requested_nis_domain = 1 DHCP4.OPTION[20]: requested_nis_servers = 1 DHCP4.OPTION[21]: requested_ntp_servers = 1 DHCP4.OPTION[22]: requested_rfc3442_classless_static_routes = 1 DHCP4.OPTION[23]: requested_root_path = 1 DHCP4.OPTION[24]: requested_routers = 1 DHCP4.OPTION[25]: requested_static_routes = 1 DHCP4.OPTION[26]: requested_subnet_mask = 1 DHCP4.OPTION[27]: requested_time_offset = 1 DHCP4.OPTION[28]: requested_wpad = 1 DHCP4.OPTION[29]: routers = 10.43.135.254 DHCP4.OPTION[30]: subnet_mask = 255.255.252.0 IP6.ADDRESS[1]: 2620:52:0:2b86:5054:ff:fe59:b8de/64 IP6.ADDRESS[2]: fe80::5054:ff:fe59:b8de/64 IP6.GATEWAY: fe80::f6a7:3901:5e6c:5261 IP6.ROUTE[1]: dst = 2620:52:0:2b86::/64, nh = ::, mt = 99 IP6.ROUTE[2]: dst = fe80::/64, nh = ::, mt = 1024 IP6.ROUTE[3]: dst = ::/0, nh = fe80::f6a7:3901:5e6c:5261, mt = 99 --------------------------------------------------
Download-------------------------------------------------- (8) Command `rpm -q NetworkManager-libreswan` ['rpm', '-q', 'NetworkManager-libreswan'] returned 0 in 0.008s STDOUT: NetworkManager-libreswan-1.2.22-1.el10.x86_64 -------------------------------------------------- (9) Command `rpm -q --qf '%{version}' libreswan` ['rpm', '-q', '--qf', '%{version}', 'libreswan'] returned 0 in 0.006s STDOUT: 4.12 -------------------------------------------------- (10) Command `rpm --eval '%%{lua: if rpm.vercmp("4.12", "3.17") < 0 then error("Libreswan too old"); end }'` ['rpm', '--eval', '%%{lua:\n if rpm.vercmp("4.12", "3.17") < 0 then\n error("Libreswan too old");\n end }'] returned 0 in 0.005s STDOUT: %{lua: if rpm.vercmp("4.12", "3.17") < 0 then error("Libreswan too old"); end } -------------------------------------------------- (11) Command `/usr/sbin/ipsec --checknss` ['/usr/sbin/ipsec', '--checknss'] returned 0 in 0.003s --------------------------------------------------
Download-------------------------------------------------- (12) Command `'MODE=ikev2 sh prepare/libreswan.sh'` ['MODE=ikev2 sh prepare/libreswan.sh'] (shell) returned 0 in 1.384s STDOUT: Configuring remote Libreswan peer * check namespace... FAIL * doing libreswan_teardown * configuring network... Connection 'lib1' (3829c66e-01ce-43e7-a97e-7cdec4ff6943) successfully added. Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/8) OK import server certificates into libreswan namespace NSS (if not exist yet)... pk12util: PKCS12 IMPORT SUCCESSFUL import client certificates into default NSS (if not exist yet)... pk12util: PKCS12 IMPORT SUCCESSFUL STDERR: /usr/libexec/ipsec/pluto: adjusting ipsec.d to /opt/ipsec /usr/libexec/ipsec/pluto: adjusting nssdir to /opt/ipsec/nss --------------------------------------------------
--------------------------------------------------
(13) Command `nmcli connection add con-name libreswan type vpn ifname '*' vpn-type libreswan`
['nmcli', 'connection', 'add', 'con-name', 'libreswan', 'type', 'vpn', 'ifname', '*', 'vpn-type', 'libreswan'] returned 0 in 0.013s
STDOUT:
Connection 'libreswan' (79baad7b-0545-4800-90ed-d73bd7d135e6) successfully added.
--------------------------------------------------
--------------------------------------------------
(14) Command `nmcli con modify libreswan vpn.data 'ikev2=insist, leftcert=LibreswanClient, leftid=%fromcert, right=11.12.13.14'`
['nmcli', 'con', 'modify', 'libreswan', 'vpn.data', 'ikev2=insist, leftcert=LibreswanClient, leftid=%fromcert, right=11.12.13.14'] returned 0 in 0.016s
--------------------------------------------------
--------------------------------------------------
(15) Command `nmcli connection up id libreswan`
['nmcli', 'connection', 'up', 'id', 'libreswan'] returned 0 in 0.879s
STDOUT:
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/9)
--------------------------------------------------
--------------------------------------------------
(16) Command `'ip route'`
['ip route'] (shell) returned 0 in 0.002s
STDOUT:
0.0.0.0/1 dev libreswan1 proto static scope link src 172.29.100.2 metric 50
default dev libreswan1 proto static scope link metric 50
default via 11.12.13.14 dev libreswan1 proto static metric 90
default via 10.43.135.254 dev eth0 proto dhcp src 10.43.135.27 metric 99
10.43.132.0/22 dev eth0 proto kernel scope link src 10.43.135.27 metric 99
11.12.13.0/24 dev libreswan1 proto kernel scope link src 11.12.13.15 metric 90
11.12.13.14 dev libreswan1 proto static scope link metric 50
128.0.0.0/1 dev libreswan1 proto static scope link src 172.29.100.2 metric 50
--------------------------------------------------
Download-------------------------------------------------- (17) Command `'nmcli c show libreswan'` ['nmcli c show libreswan'] (shell) returned 0 in 0.011s STDOUT: connection.id: libreswan connection.uuid: 79baad7b-0545-4800-90ed-d73bd7d135e6 connection.stable-id: -- connection.type: vpn connection.interface-name: -- connection.autoconnect: yes connection.autoconnect-priority: 0 connection.autoconnect-retries: -1 (default) connection.multi-connect: 0 (default) connection.auth-retries: -1 connection.timestamp: 1717663941 connection.permissions: -- connection.zone: -- connection.controller: -- connection.master: -- connection.slave-type: -- connection.port-type: -- connection.autoconnect-slaves: -1 (default) connection.autoconnect-ports: -1 (default) connection.down-on-poweroff: -1 (default) connection.secondaries: -- connection.gateway-ping-timeout: 0 connection.metered: unknown connection.lldp: default connection.mdns: -1 (default) connection.llmnr: -1 (default) connection.dns-over-tls: -1 (default) connection.mptcp-flags: 0x0 (default) connection.wait-device-timeout: -1 connection.wait-activation-delay: -1 ipv4.method: auto ipv4.dns: -- ipv4.dns-search: -- ipv4.dns-options: -- ipv4.dns-priority: 0 ipv4.addresses: -- ipv4.gateway: -- ipv4.routes: -- ipv4.route-metric: -1 ipv4.route-table: 0 (unspec) ipv4.routing-rules: -- ipv4.replace-local-rule: -1 (default) ipv4.dhcp-send-release: -1 (default) ipv4.ignore-auto-routes: no ipv4.ignore-auto-dns: no ipv4.dhcp-client-id: -- ipv4.dhcp-iaid: -- ipv4.dhcp-dscp: -- ipv4.dhcp-timeout: 0 (default) ipv4.dhcp-send-hostname: yes ipv4.dhcp-hostname: -- ipv4.dhcp-fqdn: -- ipv4.dhcp-hostname-flags: 0x0 (none) ipv4.never-default: no ipv4.may-fail: yes ipv4.required-timeout: -1 (default) ipv4.dad-timeout: -1 (default) ipv4.dhcp-vendor-class-identifier: -- ipv4.link-local: 0 (default) ipv4.dhcp-reject-servers: -- ipv4.auto-route-ext-gw: -1 (default) ipv6.method: auto ipv6.dns: -- ipv6.dns-search: -- ipv6.dns-options: -- ipv6.dns-priority: 0 ipv6.addresses: -- ipv6.gateway: -- ipv6.routes: -- ipv6.route-metric: -1 ipv6.route-table: 0 (unspec) ipv6.routing-rules: -- ipv6.replace-local-rule: -1 (default) ipv6.dhcp-send-release: -1 (default) ipv6.ignore-auto-routes: no ipv6.ignore-auto-dns: no ipv6.never-default: no ipv6.may-fail: yes ipv6.required-timeout: -1 (default) ipv6.ip6-privacy: -1 (default) ipv6.temp-valid-lifetime: 0 (default) ipv6.temp-preferred-lifetime: 0 (default) ipv6.addr-gen-mode: default ipv6.ra-timeout: 0 (default) ipv6.mtu: auto ipv6.dhcp-pd-hint: -- ipv6.dhcp-duid: -- ipv6.dhcp-iaid: -- ipv6.dhcp-timeout: 0 (default) ipv6.dhcp-send-hostname: yes ipv6.dhcp-hostname: -- ipv6.dhcp-hostname-flags: 0x0 (none) ipv6.auto-route-ext-gw: -1 (default) ipv6.token: -- vpn.service-type: org.freedesktop.NetworkManager.libreswan vpn.user-name: -- vpn.data: ikev2 = insist, leftcert = LibreswanClient, leftid = %fromcert, right = 11.12.13.14 vpn.secrets: <hidden> vpn.persistent: no vpn.timeout: 0 proxy.method: none proxy.browser-only: no proxy.pac-url: -- proxy.pac-script: -- GENERAL.NAME: libreswan GENERAL.UUID: 79baad7b-0545-4800-90ed-d73bd7d135e6 GENERAL.DEVICES: libreswan1 GENERAL.IP-IFACE: libreswan1 GENERAL.STATE: activated GENERAL.DEFAULT: yes GENERAL.DEFAULT6: no GENERAL.SPEC-OBJECT: /org/freedesktop/NetworkManager/ActiveConnection/8 GENERAL.VPN: yes GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/9 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/19 GENERAL.ZONE: -- GENERAL.MASTER-PATH: /org/freedesktop/NetworkManager/Devices/18 IP4.ADDRESS[1]: 172.29.100.2/32 IP4.ADDRESS[2]: 11.12.13.15/24 IP4.GATEWAY: 0.0.0.0 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 11.12.13.14, mt = 90 IP4.ROUTE[2]: dst = 11.12.13.0/24, nh = 0.0.0.0, mt = 90 IP4.ROUTE[3]: dst = 0.0.0.0/0, nh = 0.0.0.0, mt = 50 IP4.DNS[1]: 11.12.13.14 IP4.DNS[2]: 8.8.8.8 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 256 VPN.TYPE: libreswan VPN.USERNAME: -- VPN.GATEWAY: 11.12.13.14 VPN.BANNER: -- VPN.VPN-STATE: 5 - VPN connected VPN.CFG[1]: ikev2 = insist VPN.CFG[2]: leftcert = LibreswanClient VPN.CFG[3]: leftid = %fromcert VPN.CFG[4]: right = 11.12.13.14 --------------------------------------------------
Download-------------------------------------------------- (18) Command `'nmcli c show libreswan'` ['nmcli c show libreswan'] (shell) returned 0 in 0.011s STDOUT: connection.id: libreswan connection.uuid: 79baad7b-0545-4800-90ed-d73bd7d135e6 connection.stable-id: -- connection.type: vpn connection.interface-name: -- connection.autoconnect: yes connection.autoconnect-priority: 0 connection.autoconnect-retries: -1 (default) connection.multi-connect: 0 (default) connection.auth-retries: -1 connection.timestamp: 1717663941 connection.permissions: -- connection.zone: -- connection.controller: -- connection.master: -- connection.slave-type: -- connection.port-type: -- connection.autoconnect-slaves: -1 (default) connection.autoconnect-ports: -1 (default) connection.down-on-poweroff: -1 (default) connection.secondaries: -- connection.gateway-ping-timeout: 0 connection.metered: unknown connection.lldp: default connection.mdns: -1 (default) connection.llmnr: -1 (default) connection.dns-over-tls: -1 (default) connection.mptcp-flags: 0x0 (default) connection.wait-device-timeout: -1 connection.wait-activation-delay: -1 ipv4.method: auto ipv4.dns: -- ipv4.dns-search: -- ipv4.dns-options: -- ipv4.dns-priority: 0 ipv4.addresses: -- ipv4.gateway: -- ipv4.routes: -- ipv4.route-metric: -1 ipv4.route-table: 0 (unspec) ipv4.routing-rules: -- ipv4.replace-local-rule: -1 (default) ipv4.dhcp-send-release: -1 (default) ipv4.ignore-auto-routes: no ipv4.ignore-auto-dns: no ipv4.dhcp-client-id: -- ipv4.dhcp-iaid: -- ipv4.dhcp-dscp: -- ipv4.dhcp-timeout: 0 (default) ipv4.dhcp-send-hostname: yes ipv4.dhcp-hostname: -- ipv4.dhcp-fqdn: -- ipv4.dhcp-hostname-flags: 0x0 (none) ipv4.never-default: no ipv4.may-fail: yes ipv4.required-timeout: -1 (default) ipv4.dad-timeout: -1 (default) ipv4.dhcp-vendor-class-identifier: -- ipv4.link-local: 0 (default) ipv4.dhcp-reject-servers: -- ipv4.auto-route-ext-gw: -1 (default) ipv6.method: auto ipv6.dns: -- ipv6.dns-search: -- ipv6.dns-options: -- ipv6.dns-priority: 0 ipv6.addresses: -- ipv6.gateway: -- ipv6.routes: -- ipv6.route-metric: -1 ipv6.route-table: 0 (unspec) ipv6.routing-rules: -- ipv6.replace-local-rule: -1 (default) ipv6.dhcp-send-release: -1 (default) ipv6.ignore-auto-routes: no ipv6.ignore-auto-dns: no ipv6.never-default: no ipv6.may-fail: yes ipv6.required-timeout: -1 (default) ipv6.ip6-privacy: -1 (default) ipv6.temp-valid-lifetime: 0 (default) ipv6.temp-preferred-lifetime: 0 (default) ipv6.addr-gen-mode: default ipv6.ra-timeout: 0 (default) ipv6.mtu: auto ipv6.dhcp-pd-hint: -- ipv6.dhcp-duid: -- ipv6.dhcp-iaid: -- ipv6.dhcp-timeout: 0 (default) ipv6.dhcp-send-hostname: yes ipv6.dhcp-hostname: -- ipv6.dhcp-hostname-flags: 0x0 (none) ipv6.auto-route-ext-gw: -1 (default) ipv6.token: -- vpn.service-type: org.freedesktop.NetworkManager.libreswan vpn.user-name: -- vpn.data: ikev2 = insist, leftcert = LibreswanClient, leftid = %fromcert, right = 11.12.13.14 vpn.secrets: <hidden> vpn.persistent: no vpn.timeout: 0 proxy.method: none proxy.browser-only: no proxy.pac-url: -- proxy.pac-script: -- GENERAL.NAME: libreswan GENERAL.UUID: 79baad7b-0545-4800-90ed-d73bd7d135e6 GENERAL.DEVICES: libreswan1 GENERAL.IP-IFACE: libreswan1 GENERAL.STATE: activated GENERAL.DEFAULT: yes GENERAL.DEFAULT6: no GENERAL.SPEC-OBJECT: /org/freedesktop/NetworkManager/ActiveConnection/8 GENERAL.VPN: yes GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/9 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/19 GENERAL.ZONE: -- GENERAL.MASTER-PATH: /org/freedesktop/NetworkManager/Devices/18 IP4.ADDRESS[1]: 172.29.100.2/32 IP4.ADDRESS[2]: 11.12.13.15/24 IP4.GATEWAY: 0.0.0.0 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 11.12.13.14, mt = 90 IP4.ROUTE[2]: dst = 11.12.13.0/24, nh = 0.0.0.0, mt = 90 IP4.ROUTE[3]: dst = 0.0.0.0/0, nh = 0.0.0.0, mt = 50 IP4.DNS[1]: 11.12.13.14 IP4.DNS[2]: 8.8.8.8 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 256 VPN.TYPE: libreswan VPN.USERNAME: -- VPN.GATEWAY: 11.12.13.14 VPN.BANNER: -- VPN.VPN-STATE: 5 - VPN connected VPN.CFG[1]: ikev2 = insist VPN.CFG[2]: leftcert = LibreswanClient VPN.CFG[3]: leftid = %fromcert VPN.CFG[4]: right = 11.12.13.14 --------------------------------------------------
Download-------------------------------------------------- (19) Command `'nmcli d show libreswan1'` ['nmcli d show libreswan1'] (shell) returned 0 in 0.012s STDOUT: GENERAL.DEVICE: libreswan1 GENERAL.TYPE: ethernet GENERAL.HWADDR: 52:31:A8:F2:32:32 GENERAL.MTU: 1500 GENERAL.STATE: 100 (connected) GENERAL.CONNECTION: lib1 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/8 WIRED-PROPERTIES.CARRIER: on IP4.ADDRESS[1]: 172.29.100.2/32 IP4.ADDRESS[2]: 11.12.13.15/24 IP4.GATEWAY: 0.0.0.0 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 11.12.13.14, mt = 90 IP4.ROUTE[2]: dst = 11.12.13.0/24, nh = 0.0.0.0, mt = 90 IP4.ROUTE[3]: dst = 0.0.0.0/0, nh = 0.0.0.0, mt = 50 IP4.DNS[1]: 11.12.13.14 IP4.DNS[2]: 8.8.8.8 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 256 --------------------------------------------------
Download-------------------------------------------------- (20) Command `'nmcli d show libreswan1'` ['nmcli d show libreswan1'] (shell) returned 0 in 0.010s STDOUT: GENERAL.DEVICE: libreswan1 GENERAL.TYPE: ethernet GENERAL.HWADDR: 52:31:A8:F2:32:32 GENERAL.MTU: 1500 GENERAL.STATE: 100 (connected) GENERAL.CONNECTION: lib1 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/8 WIRED-PROPERTIES.CARRIER: on IP4.ADDRESS[1]: 172.29.100.2/32 IP4.ADDRESS[2]: 11.12.13.15/24 IP4.GATEWAY: 0.0.0.0 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 11.12.13.14, mt = 90 IP4.ROUTE[2]: dst = 11.12.13.0/24, nh = 0.0.0.0, mt = 90 IP4.ROUTE[3]: dst = 0.0.0.0/0, nh = 0.0.0.0, mt = 50 IP4.DNS[1]: 11.12.13.14 IP4.DNS[2]: 8.8.8.8 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 256 --------------------------------------------------
--------------------------------------------------
(21) Command `'sleep 40'`
['sleep 40'] (shell) returned 0 in 40.001s
--------------------------------------------------
Download-------------------------------------------------- (22) Command `'nmcli d show libreswan1'` ['nmcli d show libreswan1'] (shell) returned 0 in 0.011s STDOUT: GENERAL.DEVICE: libreswan1 GENERAL.TYPE: ethernet GENERAL.HWADDR: 52:31:A8:F2:32:32 GENERAL.MTU: 1500 GENERAL.STATE: 100 (connected) GENERAL.CONNECTION: lib1 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/8 WIRED-PROPERTIES.CARRIER: on IP4.ADDRESS[1]: 172.29.100.2/32 IP4.ADDRESS[2]: 11.12.13.15/24 IP4.GATEWAY: 0.0.0.0 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 11.12.13.14, mt = 90 IP4.ROUTE[2]: dst = 11.12.13.0/24, nh = 0.0.0.0, mt = 90 IP4.ROUTE[3]: dst = 0.0.0.0/0, nh = 0.0.0.0, mt = 50 IP4.ROUTE[4]: dst = 11.12.13.14/32, nh = 0.0.0.0, mt = 50 IP4.ROUTE[5]: dst = 0.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.ROUTE[6]: dst = 128.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.DNS[1]: 11.12.13.14 IP4.DNS[2]: 8.8.8.8 IP6.ADDRESS[1]: fe80::5031:a8ff:fef2:3232/64 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 256 -------------------------------------------------- (23) Command `'nmcli d show libreswan1'` ['nmcli d show libreswan1'] (shell) returned 0 in 0.011s STDOUT: GENERAL.DEVICE: libreswan1 GENERAL.TYPE: ethernet GENERAL.HWADDR: 52:31:A8:F2:32:32 GENERAL.MTU: 1500 GENERAL.STATE: 100 (connected) GENERAL.CONNECTION: lib1 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/8 WIRED-PROPERTIES.CARRIER: on IP4.ADDRESS[1]: 172.29.100.2/32 IP4.ADDRESS[2]: 11.12.13.15/24 IP4.GATEWAY: 0.0.0.0 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 11.12.13.14, mt = 90 IP4.ROUTE[2]: dst = 11.12.13.0/24, nh = 0.0.0.0, mt = 90 IP4.ROUTE[3]: dst = 0.0.0.0/0, nh = 0.0.0.0, mt = 50 IP4.ROUTE[4]: dst = 11.12.13.14/32, nh = 0.0.0.0, mt = 50 IP4.ROUTE[5]: dst = 0.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.ROUTE[6]: dst = 128.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.DNS[1]: 11.12.13.14 IP4.DNS[2]: 8.8.8.8 IP6.ADDRESS[1]: fe80::5031:a8ff:fef2:3232/64 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 256 -------------------------------------------------- (24) Command `'nmcli d show libreswan1'` ['nmcli d show libreswan1'] (shell) returned 0 in 0.010s STDOUT: GENERAL.DEVICE: libreswan1 GENERAL.TYPE: ethernet GENERAL.HWADDR: 52:31:A8:F2:32:32 GENERAL.MTU: 1500 GENERAL.STATE: 100 (connected) GENERAL.CONNECTION: lib1 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/8 WIRED-PROPERTIES.CARRIER: on IP4.ADDRESS[1]: 172.29.100.2/32 IP4.ADDRESS[2]: 11.12.13.15/24 IP4.GATEWAY: 0.0.0.0 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 11.12.13.14, mt = 90 IP4.ROUTE[2]: dst = 11.12.13.0/24, nh = 0.0.0.0, mt = 90 IP4.ROUTE[3]: dst = 0.0.0.0/0, nh = 0.0.0.0, mt = 50 IP4.ROUTE[4]: dst = 11.12.13.14/32, nh = 0.0.0.0, mt = 50 IP4.ROUTE[5]: dst = 0.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.ROUTE[6]: dst = 128.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.DNS[1]: 11.12.13.14 IP4.DNS[2]: 8.8.8.8 IP6.ADDRESS[1]: fe80::5031:a8ff:fef2:3232/64 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 256 -------------------------------------------------- (25) Command `'nmcli d show libreswan1'` ['nmcli d show libreswan1'] (shell) returned 0 in 0.011s STDOUT: GENERAL.DEVICE: libreswan1 GENERAL.TYPE: ethernet GENERAL.HWADDR: 52:31:A8:F2:32:32 GENERAL.MTU: 1500 GENERAL.STATE: 100 (connected) GENERAL.CONNECTION: lib1 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/8 WIRED-PROPERTIES.CARRIER: on IP4.ADDRESS[1]: 172.29.100.2/32 IP4.ADDRESS[2]: 11.12.13.15/24 IP4.GATEWAY: 0.0.0.0 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 11.12.13.14, mt = 90 IP4.ROUTE[2]: dst = 11.12.13.0/24, nh = 0.0.0.0, mt = 90 IP4.ROUTE[3]: dst = 0.0.0.0/0, nh = 0.0.0.0, mt = 50 IP4.ROUTE[4]: dst = 11.12.13.14/32, nh = 0.0.0.0, mt = 50 IP4.ROUTE[5]: dst = 0.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.ROUTE[6]: dst = 128.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.DNS[1]: 11.12.13.14 IP4.DNS[2]: 8.8.8.8 IP6.ADDRESS[1]: fe80::5031:a8ff:fef2:3232/64 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 256 -------------------------------------------------- (26) Command `'nmcli d show libreswan1'` ['nmcli d show libreswan1'] (shell) returned 0 in 0.011s STDOUT: GENERAL.DEVICE: libreswan1 GENERAL.TYPE: ethernet GENERAL.HWADDR: 52:31:A8:F2:32:32 GENERAL.MTU: 1500 GENERAL.STATE: 100 (connected) GENERAL.CONNECTION: lib1 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/8 WIRED-PROPERTIES.CARRIER: on IP4.ADDRESS[1]: 172.29.100.2/32 IP4.ADDRESS[2]: 11.12.13.15/24 IP4.GATEWAY: 0.0.0.0 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 11.12.13.14, mt = 90 IP4.ROUTE[2]: dst = 11.12.13.0/24, nh = 0.0.0.0, mt = 90 IP4.ROUTE[3]: dst = 0.0.0.0/0, nh = 0.0.0.0, mt = 50 IP4.ROUTE[4]: dst = 11.12.13.14/32, nh = 0.0.0.0, mt = 50 IP4.ROUTE[5]: dst = 0.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.ROUTE[6]: dst = 128.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.DNS[1]: 11.12.13.14 IP4.DNS[2]: 8.8.8.8 IP6.ADDRESS[1]: fe80::5031:a8ff:fef2:3232/64 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 256 --------------------------------------------------
DownloadAssertion Failed: Did not see the pattern "IP4.GATEWAY:[^\n]*11.12.13.14" in 2.000s seconds, output was: GENERAL.DEVICE: libreswan1 GENERAL.TYPE: ethernet GENERAL.HWADDR: 52:31:A8:F2:32:32 GENERAL.MTU: 1500 GENERAL.STATE: 100 (connected) GENERAL.CONNECTION: lib1 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/8 WIRED-PROPERTIES.CARRIER: on IP4.ADDRESS[1]: 172.29.100.2/32 IP4.ADDRESS[2]: 11.12.13.15/24 IP4.GATEWAY: 0.0.0.0 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 11.12.13.14, mt = 90 IP4.ROUTE[2]: dst = 11.12.13.0/24, nh = 0.0.0.0, mt = 90 IP4.ROUTE[3]: dst = 0.0.0.0/0, nh = 0.0.0.0, mt = 50 IP4.ROUTE[4]: dst = 11.12.13.14/32, nh = 0.0.0.0, mt = 50 IP4.ROUTE[5]: dst = 0.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.ROUTE[6]: dst = 128.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.DNS[1]: 11.12.13.14 IP4.DNS[2]: 8.8.8.8 IP6.ADDRESS[1]: fe80::5031:a8ff:fef2:3232/64 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 256
DownloadTraceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/behave/model.py", line 1329, in run match.run(runner.context) File "/usr/local/lib/python3.12/site-packages/behave/matchers.py", line 98, in run self.func(context, *args, **kwargs) File "features/steps/commands.py", line 499, in pattern_visible_command return check_pattern_command(context, command, pattern, seconds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "features/steps/commands.py", line 350, in check_pattern_command assert ( AssertionError: Did not see the pattern "IP4.GATEWAY:[^\n]*11.12.13.14" in 2.000s seconds, output was: GENERAL.DEVICE: libreswan1 GENERAL.TYPE: ethernet GENERAL.HWADDR: 52:31:A8:F2:32:32 GENERAL.MTU: 1500 GENERAL.STATE: 100 (connected) GENERAL.CONNECTION: lib1 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/8 WIRED-PROPERTIES.CARRIER: on IP4.ADDRESS[1]: 172.29.100.2/32 IP4.ADDRESS[2]: 11.12.13.15/24 IP4.GATEWAY: 0.0.0.0 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 11.12.13.14, mt = 90 IP4.ROUTE[2]: dst = 11.12.13.0/24, nh = 0.0.0.0, mt = 90 IP4.ROUTE[3]: dst = 0.0.0.0/0, nh = 0.0.0.0, mt = 50 IP4.ROUTE[4]: dst = 11.12.13.14/32, nh = 0.0.0.0, mt = 50 IP4.ROUTE[5]: dst = 0.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.ROUTE[6]: dst = 128.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.DNS[1]: 11.12.13.14 IP4.DNS[2]: 8.8.8.8 IP6.ADDRESS[1]: fe80::5031:a8ff:fef2:3232/64 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 256
Download
Download-------------------------------------------------- (28) Command `nmcli connection down libreswan` ['nmcli', 'connection', 'down', 'libreswan'] returned 0 in 0.032s STDOUT: Connection 'libreswan' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/9) -------------------------------------------------- (29) Command `nmcli connection delete libreswan` ['nmcli', 'connection', 'delete', 'libreswan'] returned 0 in 0.024s STDOUT: Connection 'libreswan' (79baad7b-0545-4800-90ed-d73bd7d135e6) successfully deleted. -------------------------------------------------- (30) Command `sh prepare/libreswan.sh teardown` ['sh', 'prepare/libreswan.sh', 'teardown'] returned 0 in 0.041s STDOUT: Connection 'lib1' (3829c66e-01ce-43e7-a97e-7cdec4ff6943) successfully deleted. -------------------------------------------------- (33) Command `nmcli connection` ['nmcli', 'connection'] returned 0 in 0.009s STDOUT: NAME UUID TYPE DEVICE testeth0 d3ef5c66-5f17-4e79-937e-959880ff66ac ethernet eth0 lo 5d9a5c04-078f-4d86-9bc8-920e1ad3d7b3 loopback lo testeth1 cbed5f4c-7e23-4218-812d-f3eff0f1271a ethernet -- testeth10 12002de7-f4b9-40ef-b4c6-abd7867061dd ethernet -- testeth2 475cade9-be29-46d8-9d36-744d2a4cdcaa ethernet -- testeth3 3e658856-3eac-4314-9661-b7093baf4e97 ethernet -- testeth4 40894fd6-de2c-4bb4-aea6-9f77688e1c97 ethernet -- testeth5 e3a2323d-dc64-4f93-8a38-a7b6f210387a ethernet -- testeth6 03db207a-1688-4b10-80d0-28295a0421dd ethernet -- testeth7 e9d37402-107b-493f-90ee-7f8c29b786b4 ethernet -- testeth8 a685ebf4-0e53-465e-9cb3-8c1097fb9758 ethernet -- testeth9 af91efbd-da32-424a-a61b-6021ba363159 ethernet -- -------------------------------------------------- (34) Command `nmcli connection show -a` ['nmcli', 'connection', 'show', '-a'] returned 0 in 0.008s STDOUT: NAME UUID TYPE DEVICE testeth0 d3ef5c66-5f17-4e79-937e-959880ff66ac ethernet eth0 lo 5d9a5c04-078f-4d86-9bc8-920e1ad3d7b3 loopback lo -------------------------------------------------- (35) Command `nmcli con show testeth0` ['nmcli', 'con', 'show', 'testeth0'] returned 0 in 0.010s STDOUT: connection.id: testeth0 connection.uuid: d3ef5c66-5f17-4e79-937e-959880ff66ac connection.stable-id: -- connection.type: 802-3-ethernet connection.interface-name: eth0 connection.autoconnect: yes connection.autoconnect-priority: 0 connection.autoconnect-retries: -1 (default) connection.multi-connect: 0 (default) connection.auth-retries: -1 connection.timestamp: 1717663664 connection.permissions: -- connection.zone: -- connection.controller: -- connection.master: -- connection.slave-type: -- connection.port-type: -- connection.autoconnect-slaves: -1 (default) connection.autoconnect-ports: -1 (default) connection.down-on-poweroff: -1 (default) connection.secondaries: -- connection.gateway-ping-timeout: 0 connection.metered: unknown connection.lldp: default connection.mdns: -1 (default) connection.llmnr: -1 (default) connection.dns-over-tls: -1 (default) connection.mptcp-flags: 0x0 (default) connection.wait-device-timeout: -1 connection.wait-activation-delay: -1 802-3-ethernet.port: -- 802-3-ethernet.speed: 0 802-3-ethernet.duplex: -- 802-3-ethernet.auto-negotiate: no 802-3-ethernet.mac-address: -- 802-3-ethernet.cloned-mac-address: -- 802-3-ethernet.generate-mac-address-mask:-- 802-3-ethernet.mac-address-denylist: -- 802-3-ethernet.mtu: auto 802-3-ethernet.s390-subchannels: -- 802-3-ethernet.s390-nettype: -- 802-3-ethernet.s390-options: -- 802-3-ethernet.wake-on-lan: default 802-3-ethernet.wake-on-lan-password: -- 802-3-ethernet.accept-all-mac-addresses:-1 (default) ipv4.method: auto ipv4.dns: -- ipv4.dns-search: -- ipv4.dns-options: -- ipv4.dns-priority: 0 ipv4.addresses: -- ipv4.gateway: -- ipv4.routes: -- ipv4.route-metric: 99 ipv4.route-table: 0 (unspec) ipv4.routing-rules: -- ipv4.replace-local-rule: -1 (default) ipv4.dhcp-send-release: -1 (default) ipv4.ignore-auto-routes: no ipv4.ignore-auto-dns: no ipv4.dhcp-client-id: -- ipv4.dhcp-iaid: -- ipv4.dhcp-dscp: -- ipv4.dhcp-timeout: 0 (default) ipv4.dhcp-send-hostname: yes ipv4.dhcp-hostname: -- ipv4.dhcp-fqdn: -- ipv4.dhcp-hostname-flags: 0x0 (none) ipv4.never-default: no ipv4.may-fail: no ipv4.required-timeout: -1 (default) ipv4.dad-timeout: -1 (default) ipv4.dhcp-vendor-class-identifier: -- ipv4.link-local: 0 (default) ipv4.dhcp-reject-servers: -- ipv4.auto-route-ext-gw: -1 (default) ipv6.method: auto ipv6.dns: -- ipv6.dns-search: -- ipv6.dns-options: -- ipv6.dns-priority: 0 ipv6.addresses: -- ipv6.gateway: -- ipv6.routes: -- ipv6.route-metric: 99 ipv6.route-table: 0 (unspec) ipv6.routing-rules: -- ipv6.replace-local-rule: -1 (default) ipv6.dhcp-send-release: -1 (default) ipv6.ignore-auto-routes: no ipv6.ignore-auto-dns: no ipv6.never-default: no ipv6.may-fail: yes ipv6.required-timeout: -1 (default) ipv6.ip6-privacy: -1 (default) ipv6.temp-valid-lifetime: 0 (default) ipv6.temp-preferred-lifetime: 0 (default) ipv6.addr-gen-mode: eui64 ipv6.ra-timeout: 0 (default) ipv6.mtu: auto ipv6.dhcp-pd-hint: -- ipv6.dhcp-duid: -- ipv6.dhcp-iaid: -- ipv6.dhcp-timeout: 0 (default) ipv6.dhcp-send-hostname: yes ipv6.dhcp-hostname: -- ipv6.dhcp-hostname-flags: 0x0 (none) ipv6.auto-route-ext-gw: -1 (default) ipv6.token: -- proxy.method: none proxy.browser-only: no proxy.pac-url: -- proxy.pac-script: -- GENERAL.NAME: testeth0 GENERAL.UUID: d3ef5c66-5f17-4e79-937e-959880ff66ac GENERAL.DEVICES: eth0 GENERAL.IP-IFACE: eth0 GENERAL.STATE: activated GENERAL.DEFAULT: yes GENERAL.DEFAULT6: yes GENERAL.SPEC-OBJECT: -- GENERAL.VPN: no GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/2 GENERAL.ZONE: -- GENERAL.MASTER-PATH: -- IP4.ADDRESS[1]: 10.43.135.27/22 IP4.GATEWAY: 10.43.135.254 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 10.43.135.254, mt = 99 IP4.ROUTE[2]: dst = 10.43.132.0/22, nh = 0.0.0.0, mt = 99 IP4.DNS[1]: 10.45.248.15 IP4.DNS[2]: 10.38.5.26 IP4.DOMAIN[1]: tpb.lab.eng.brq.redhat.com IP4.DOMAIN[2]: lab.eng.brq.redhat.com IP4.DOMAIN[3]: brq.redhat.com IP4.DOMAIN[4]: redhat.com DHCP4.OPTION[1]: dhcp_client_identifier = 01:52:54:00:59:b8:de DHCP4.OPTION[2]: dhcp_lease_time = 86400 DHCP4.OPTION[3]: dhcp_server_identifier = 10.45.248.15 DHCP4.OPTION[4]: domain_name = tpb.lab.eng.brq.redhat.com lab.eng.brq.redhat.com brq.redhat.com redhat.com DHCP4.OPTION[5]: domain_name_servers = 10.45.248.15 10.38.5.26 DHCP4.OPTION[6]: expiry = 1717750064 DHCP4.OPTION[7]: filename = pxelinux.0 DHCP4.OPTION[8]: host_name = wifi5-ml5-vm2.tpb.lab.eng.brq.redhat.com DHCP4.OPTION[9]: ip_address = 10.43.135.27 DHCP4.OPTION[10]: next_server = 10.44.0.15 DHCP4.OPTION[11]: ntp_servers = 10.2.32.38 10.2.32.37 10.11.160.238 DHCP4.OPTION[12]: requested_broadcast_address = 1 DHCP4.OPTION[13]: requested_domain_name = 1 DHCP4.OPTION[14]: requested_domain_name_servers = 1 DHCP4.OPTION[15]: requested_domain_search = 1 DHCP4.OPTION[16]: requested_host_name = 1 DHCP4.OPTION[17]: requested_interface_mtu = 1 DHCP4.OPTION[18]: requested_ms_classless_static_routes = 1 DHCP4.OPTION[19]: requested_nis_domain = 1 DHCP4.OPTION[20]: requested_nis_servers = 1 DHCP4.OPTION[21]: requested_ntp_servers = 1 DHCP4.OPTION[22]: requested_rfc3442_classless_static_routes = 1 DHCP4.OPTION[23]: requested_root_path = 1 DHCP4.OPTION[24]: requested_routers = 1 DHCP4.OPTION[25]: requested_static_routes = 1 DHCP4.OPTION[26]: requested_subnet_mask = 1 DHCP4.OPTION[27]: requested_time_offset = 1 DHCP4.OPTION[28]: requested_wpad = 1 DHCP4.OPTION[29]: routers = 10.43.135.254 DHCP4.OPTION[30]: subnet_mask = 255.255.252.0 IP6.ADDRESS[1]: 2620:52:0:2b86:5054:ff:fe59:b8de/64 IP6.ADDRESS[2]: fe80::5054:ff:fe59:b8de/64 IP6.GATEWAY: fe80::f6a7:3901:5e6c:5261 IP6.ROUTE[1]: dst = 2620:52:0:2b86::/64, nh = ::, mt = 99 IP6.ROUTE[2]: dst = fe80::/64, nh = ::, mt = 1024 IP6.ROUTE[3]: dst = ::/0, nh = fe80::f6a7:3901:5e6c:5261, mt = 99 -------------------------------------------------- (36) Command `nmcli connection delete libreswan` ['nmcli', 'connection', 'delete', 'libreswan'] returned 10 in 0.010s STDERR: Error: unknown connection 'libreswan'. Error: cannot delete unknown connection(s): 'libreswan'. --------------------------------------------------
Download
Downloadconn roadwarrior_psk auto=add pfs=no rekey=no left=11.12.13.14 leftsubnet=0.0.0.0/0 rightaddresspool=172.29.100.2-172.29.100.10 right=%any leftxauthserver=yes rightxauthclient=yes leftmodecfgserver=yes rightmodecfgclient=yes modecfgpull=yes modecfgdns=8.8.8.8 modecfgbanner=BUG_REPORT_URL fragmentation=yes cisco-unity=yes ikev2=insist leftcert=LibreswanServer leftsendcert=always leftid=11.12.13.14 leftrsasigkey=%cert rightca=%same rightid=%fromcert rightrsasigkey=%cert
NO DATA
Download
Download
DownloadExecuting @libreswan * waiting for testeth0 to connect ** we do have IPv4 complete @libreswan ... passed in 1.450s NetworkManager process id before: 46955 before_scenario ... passed in 1.622s Scenario: nmcli - libreswan - connect in ike2 * Add "libreswan" VPN connection named "libreswan" for device "\*" ... passed in 0.014s * Modify connection "libreswan" changing options "vpn.data 'ikev2=insist, leftcert=LibreswanClient, leftid=%fromcert, right=11.12.13.14'" ... passed in 0.016s * Bring "up" connection "libreswan" ... passed in 0.880s Then "11.12.13.0/24 [^\n]*dev libreswan1" is visible with command "ip route" ... passed in 0.002s Then "VPN.VPN-STATE:[^\n]*VPN connected" is visible with command "nmcli c show libreswan" ... passed in 0.011s Then "IP4.ADDRESS[^\n]*172.29.100.2/32" is visible with command "nmcli c show libreswan" ... passed in 0.011s Then "IP4.ADDRESS[^\n]*172.29.100.2/32" is visible with command "nmcli d show libreswan1" ... passed in 0.012s Then "IP4.ADDRESS[^\n]*11.12.13.15/24" is visible with command "nmcli d show libreswan1" ... passed in 0.011s * Execute "sleep 40" ... passed in 40.002s Then "IP4.GATEWAY:[^\n]*11.12.13.14" is visible with command "nmcli d show libreswan1" ... failed in 2.011s Assertion Failed: Did not see the pattern "IP4.GATEWAY:[^\n]*11.12.13.14" in 2.000s seconds, output was: GENERAL.DEVICE: libreswan1 GENERAL.TYPE: ethernet GENERAL.HWADDR: 52:31:A8:F2:32:32 GENERAL.MTU: 1500 GENERAL.STATE: 100 (connected) GENERAL.CONNECTION: lib1 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/8 WIRED-PROPERTIES.CARRIER: on IP4.ADDRESS[1]: 172.29.100.2/32 IP4.ADDRESS[2]: 11.12.13.15/24 IP4.GATEWAY: 0.0.0.0 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 11.12.13.14, mt = 90 IP4.ROUTE[2]: dst = 11.12.13.0/24, nh = 0.0.0.0, mt = 90 IP4.ROUTE[3]: dst = 0.0.0.0/0, nh = 0.0.0.0, mt = 50 IP4.ROUTE[4]: dst = 11.12.13.14/32, nh = 0.0.0.0, mt = 50 IP4.ROUTE[5]: dst = 0.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.ROUTE[6]: dst = 128.0.0.0/1, nh = 0.0.0.0, mt = 50 IP4.DNS[1]: 11.12.13.14 IP4.DNS[2]: 8.8.8.8 IP6.ADDRESS[1]: fe80::5031:a8ff:fef2:3232/64 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 256 NetworkManager process id after: 46955 (now 46955) cleanup action tag-libreswan (priority 10) ...Executing @libreswan Attach Libreswan logs * waiting for testeth0 to connect ** we do have IPv4 complete @libreswan ... passed in 0.130s passed in 0.130s cleanup action nmcli-connection-libreswan (priority 20) ... passed in 0.010s Attaching NM log after_scenario ... passed in 0.385s