Bug 162727
Summary: | vconfig claimed success but no change in ifconfig or ip addr list | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Henry Harris <henry.harris> | ||||
Component: | vconfig | Assignee: | Phil Knirsch <pknirsch> | ||||
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | kanderso, lhh, rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-10-17 14:39:22 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Henry Harris
2005-07-08 02:09:46 UTC
This works as I'd expect it to (sort of). Does it show up in "ifconfig -a" ? I did: ip addr list <-- works, but no eth1.101 as expected ifconfig -a <-- still no eth1.101 vconfig add eth1 101 <-- fails, eth1 not up (expected) ifconfig eth1 10.1.1.1 broadcast 10.1.1.255 netmask 255.255.255.0 up ip addr list <-- eth1.101 shows up, but is down ifconfig -a <-- eth1.101 is in list, but is not up ifconfig <-- eth1 is up, no eth1.101 ifconfig eth1.101 up ifconfig <-- eth1.101 is up now (no IP, but at least it's there) (not in typescript) ifconfig eth1.101 down vconfig rem eth1.101 What kernel, vconfig, net-tools, and iproute2 packages do you have? Created attachment 116519 [details]
Typescript
No, it did not show up with ifconfig -a. Since eth1 was up, I excepted eth1.101 to be up also. I am running: kernel - 2.6.9-11.Elsmp vconfig - 1.8-4 net-tools - 1.60-37.EL4.6 iproute2 - not installed -- Is this needed? Sorry, "iproute", not "iproute2" eth1 being up is required to add the device, otherwise it gives you an error: [root@green ~]# vconfig add eth1 101 ERROR: trying to add VLAN #101 to IF -:eth1:- error: Invalid argument However, that doesn't make the new VLAN device come up automatically. Adding the VLAN to the device a second time should also produce the above error. Question for the bug owner -- have you been able to reproduce this bug? It worked for Lon but I still have not seen it work the way Lon did. Is it the version I'm using or I am missing something? What's the status, please? BTW, I'm running with iproute-2.6.9-3. Thats really strange. I've been trying to reproduce the bug just like you and Lon did, but i get the same results as Lon: If the interface on which the vlan is set up is down you'll get an error and the vlan won't be configured. As soon as the interface is up (as in your initial example) if i set up the vlan it works nicely without an error message and shows up just like in Lon's examples. I've tried it with a base RHEL4 U1 system and with current FC4 installations and both work the same way. My only guess is that it might be some wierd hardware and/or driver problem, but i can't see how that could really be the case. Could you attach a /sbin/lspci -v output to this bugreport? Thanks, Read ya, Phil |