SolusVM Traffic Shaping limits are not working : Cannot find device "eth0"

Have more questions? Submit a request

Applicable to:

  • SolusVM

Symptoms

  • SolusVM Traffic Shaping limits are not working, despite the fact the feature is enabled on node's settings page Dashboard > Nodes > node_name > Traffic Shaping
  • SolusVM back-end script that responsible for traffic shaping fails to apply rules:

    # php /usr/local/solusvm/includes/trafficloader.php --mode=all --debug=1
    DELETING QDISC FROM eth0
    ADDING QDISC TO eth0
    Cannot find device "eth0"
    DELETING QDISC FROM kvm105.0
    ADDING QDISC TO kvm105.0
    ADDING CLASS TO kvm105.0 WITH SPEED 100mbit CLASSID 1
    ADDING QDISC TO kvm105.0 WITH HANDLE 1
    ADDING CLASS TO eth0 WITH SPEED 100mbit CLASSID 1
    Cannot find device "eth0"
    ADDING QDISC TO eth0 WITH HANDLE 1

Cause

NIC device name on the node used by SolusVM is different than eth0

Resolution

  1. Connect to the affected slave node via SSH
  2. Find actual NIC device name in the output of the following command:

    # ip a

  3. Browse to node's settings page in SolusVM on Dashboard > Nodes and click Edit node mceclip1.png icon against node name
  4. Set correct NIC device name in Network Interface field
    mceclip0.png

 

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.