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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content