Deleting network interfaces takes a long time in RHEL6

Solution Verified - Updated -

Issue

  • Destroying network devices takes about 1 second on average each.

  • ifdowning the interfaces first somewhat alleviates the issue.

  • This is very noticable while using a script like following.

#!/bin/bash
#
# set down a load of vlans

LIMIT=110

for ((a=10; a <= LIMIT ; a++))
do
  ip link delete eth0.${a}
done

Environment

  • Red Hat Enterprise Linux 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.