vRouter failed

78 views
Skip to first unread message

John

unread,
Mar 8, 2023, 8:34:45 AM3/8/23
to flexiWAN users

the FlexiWan failed to run vRouter. After checking the log, found the following error. Any clue how to fix it?


add interface into netplan config file command failed

Error: _on_apply_router_config(): failed to add interface into netplan config file. (error: API failed: add_remove_netplan_interface)
Error: add_remove_netplan_interface: pci:0000:02:00.02 was not found

K Young

unread,
Mar 8, 2023, 5:10:13 PM3/8/23
to flexiWAN users

It looks like you are having an issue with adding an interface into the netplan configuration file. To resolve this, you should first check if the interface exists in your system's PCI bus. If it does, you can try running 'ip link show' to get a list of all the interfaces on your system, and then try to add the FlexiWan interface to the netplan config file manually. If that doesn't work, you might need to reinstall the FlexiWan driver

John

unread,
Mar 9, 2023, 12:42:28 AM3/9/23
to flexiWAN users, K Young
Hi,

I have reset by fresh install with FlexiWAN ISO, configure the basic system interfaces and token, I still see the following error.
Is there any user friendly way of solving this issue? I don't think normal user will be able to fix plus this is happen after the new installation.
Meanwhile, can you share with me the step of adding FlexiWAN interface to netplan config file?

Below is the ip link show command output.

 [admin@flexiwan-router ~]$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:90:0b:98:94:c5 brd ff:ff:ff:ff:ff:ff
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:90:0b:98:94:c6 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:90:0b:98:94:c8 brd ff:ff:ff:ff:ff:ff
6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:90:0b:98:94:c3 brd ff:ff:ff:ff:ff:ff
7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:90:0b:98:94:c4 brd ff:ff:ff:ff:ff:ff
9: eth7: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:90:0b:98:94:ca brd ff:ff:ff:ff:ff:ff
10: wwan0: <BROADCAST,MULTICAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether b2:8e:c9:ae:9e:02 brd ff:ff:ff:ff:ff:ff
11: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/ether 04:f0:21:85:83:d3 brd ff:ff:ff:ff:ff:ff
14: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 00:90:0b:98:94:c7 brd ff:ff:ff:ff:ff:ff
15: eth6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 00:90:0b:98:94:c9 brd ff:ff:ff:ff:ff:ff
 [admin@flexiwan-router ~]$

Error: _on_apply_router_config(): failed to add interface into netplan config file. (error: API failed: add_remove_netplan_interface)

[
  {
    "entity": "agent",
    "message": "start-router",
    "params": {
      "interfaces": [
        {
          "dev_id": "pci:0000:02:00.02",
          "dhcp": "no",
          "addr": "192.168.9.105/16",
          "addr6": "",
          "mtu": 1500,
          "type": "WAN",
          "multilink": {
            "labels": []
          },
          "deviceType": "dpdk",
          "configuration": {},
          "routing": [
            "NONE"
          ],
          "gateway": "192.168.1.1",
          "metric": "0",
          "useStun": true,
          "monitorInternet": true,
          "dnsServers": [
            "8.8.8.8",
            "8.8.4.4"
          ],
          "dnsDomains": [],
          "bandwidthMbps": {
            "tx": 100,
            "rx": 100
          },
          "bridge_addr": null
        },
        {
          "dev_id": "pci:0000:08:00.00",
          "dhcp": "no",
          "addr": "172.16.90.99/24",
          "addr6": "",
          "mtu": 1500,
          "type": "LAN",
          "multilink": {
            "labels": []
          },
          "deviceType": "dpdk",
          "configuration": {},
          "routing": [
            "NONE"
          ],
          "bridge_addr": null
        }
      ]
    }
  }
]

Reply all
Reply to author
Forward
0 new messages