Project

General

Profile

Actions

Bug #199

closed

Deleting an unused VLAN ID removes IP addresses from all active VLAN interfaces

Added by Jim Pingle over 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
Operating System
Target version:
Start date:
11/30/2009
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
1.2.3
Affected Architecture:

Description

On 1.2.3 (Current snapshots, and from at least last month) when you delete a VLAN ID that is not assigned to an interface, all VLAN interfaces on the system have their IP addresses removed. When you have a VLAN for WAN and LAN, this is very harmful as it leaves the box up but unreachable.

How to reproduce:
  1. Add a few VLAN IDs
  2. Assign an VLAN interface as an OPT and give it an IP.
  3. Delete one of the other unused VLAN IDs

When you look at the console menu header, any configured VLAN interface shows an IP address of "NONE" and indeed when you check the ifconfig output, no IP address is present.

If you run /etc/rc.reload_interfaces or reboot, they come back, but it must be done by hand to restore connectivity.

I've reproduced this on my live test system and on a clean VM.


Files

vlandeletefix.diff (405 Bytes) vlandeletefix.diff Jim Pingle, 11/30/2009 03:29 PM
Actions #1

Updated by Jim Pingle over 14 years ago

The attached patch may be the equivalent of swatting a fly with a cannon, but it seems to do the trick. With this patch I can delete VLANs one after another and the active ones stay up and running.

Actions #2

Updated by Jim Pingle over 14 years ago

I may have spoken too soon on that. I deleted a few in a row rapidly and the system rebooted itself. I couldn't get to the console in time to see the error, but I'll keep trying to reproduce it.

Actions #3

Updated by Jim Pingle over 14 years ago

Try as I might, I can't replicate the reboot that happened yesterday. I have created and deleted a couple dozen vlans and it seems to be holding up so far.

Actions #4

Updated by Scott Ullrich over 14 years ago

  • Status changed from New to Feedback
Actions #5

Updated by Chris Buechler about 14 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF