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

Also available in: Atom PDF