Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 206917

Summary: ifconfig does not show the full interface name
Product: Red Hat Enterprise Linux 4 Reporter: Lumir <srchlm>
Component: net-toolsAssignee: Radek Vokál <rvokal>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: awashbro, tao
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0691 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-24 19:36:59 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 Flags
trim_iface none

Description Lumir 2006-09-18 05:50:04 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)

Description of problem:
This problem is related to ifconfig limitation which show only first 9 characters of network interface name.

We created the bond0 interface tagged with VLAN 103. The name of the interface was bond0.103 that have 9 characters total. Then we created aliases to this interface but ifconfig still showed only the bond0.103 name without :0, :1 supplements to aliases IPs.

Version-Release number of selected component (if applicable):
net-tools-1.60-37.EL4.6

How reproducible:
Always


Steps to Reproduce:
1.Create network interface with name longer than 9 characters
2.Run ifconfig
3.

Actual Results:
bond0.103 Link encap:Ethernet  HWaddr 00:13:72:69:FE:FE
          inet addr:10.0.3.4  Bcast:10.0.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1

Expected Results:
bond0.103:1 Link encap:Ethernet  HWaddr 00:13:72:69:FE:FE
          inet addr:10.0.3.4  Bcast:10.0.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1

Additional info:

Comment 2 Jose Plans 2007-02-01 11:22:04 UTC
Created attachment 147095 [details]
trim_iface

This should fix the problem. Patch from Rawhide.

Comment 7 Radek Vokál 2008-01-03 09:44:43 UTC
*** Bug 252017 has been marked as a duplicate of this bug. ***

Comment 13 errata-xmlrpc 2008-07-24 19:36:59 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0691.html