LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-06-2014, 11:11 PM   #1
shishirms
LQ Newbie
 
Registered: Mar 2014
Posts: 8

Rep: Reputation: Disabled
Extra interface is appearing in "ifconfig" output


Hi All,

When i issue "ifconfig" command in Centos 5.5, there is one extra interface is appearing, could any one please help me in removing that?

If you see the below example "__tmp1755126292" s the extra interface which i want to remove.

FYR:

[root@MT-PT-OSB1 ~]# ifconfig
__tmp1755126292 Link encap:Ethernet HWaddr 84:8F:69:81:80:79
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:222 errors:0 dropped:0 overruns:0 frame:0
TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22800 (22.2 KiB) TX bytes:17882 (17.4 KiB)
Interrupt:82 Memory:da000000-da012800

eth0 Link encap:Ethernet HWaddr 84:8F:69:81:80:7B
inet addr:192.168.128.133 Bcast:192.168.128.255 Mask:255.255.255.0
inet6 addr: fe80::868f:69ff:fe81:807b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3188 (3.1 KiB) TX bytes:8428 (8.2 KiB)
Interrupt:90 Memory:dc000000-dc7fffff







[root@MT-PT-OSB1 network-scripts]# ls -l
total 384
-rw-r--r-- 3 root root 259 Oct 26 2012 ifcfg-eth0
-rw-r--r-- 3 root root 259 Oct 26 2012 ifcfg-eth1
-rw-r--r-- 3 root root 333 Apr 7 04:41 ifcfg-eth2
-rw-r--r-- 1 root root 254 Oct 13 2010 ifcfg-lo
lrwxrwxrwx 1 root root 20 Nov 15 2011 ifdown -> ../../../sbin/ifdown
-rwxr-xr-x 1 root root 625 Oct 13 2010 ifdown-bnep
-rwxr-xr-x 1 root root 4573 Oct 13 2010 ifdown-eth
-rwxr-xr-x 1 root root 827 Oct 13 2010 ifdown-ippp
-rwxr-xr-x 1 root root 2149 Oct 13 2010 ifdown-ipsec
-rwxr-xr-x 1 root root 4473 Oct 13 2010 ifdown-ipv6
lrwxrwxrwx 1 root root 11 Nov 15 2011 ifdown-isdn -> ifdown-ippp
-rwxr-xr-x 1 root root 1481 Oct 13 2010 ifdown-post
-rwxr-xr-x 1 root root 1084 Oct 13 2010 ifdown-ppp
-rwxr-xr-x 1 root root 637 Oct 13 2010 ifdown-routes
-rwxr-xr-x 1 root root 1593 Oct 13 2010 ifdown-sit
-rwxr-xr-x 1 root root 913 Oct 13 2010 ifdown-sl
-rwxr-xr-x 1 root root 1074 Oct 13 2010 ifdown-tunnel
lrwxrwxrwx 1 root root 18 Nov 15 2011 ifup -> ../../../sbin/ifup
-rwxr-xr-x 1 root root 13427 Oct 13 2010 ifup-aliases
-rwxr-xr-x 1 root root 859 Oct 13 2010 ifup-bnep
-rwxr-xr-x 1 root root 10798 Oct 13 2010 ifup-eth
-rwxr-xr-x 1 root root 12033 Oct 13 2010 ifup-ippp
-rwxr-xr-x 1 root root 8078 Oct 13 2010 ifup-ipsec
-rwxr-xr-x 1 root root 10853 Oct 13 2010 ifup-ipv6
-rwxr-xr-x 1 root root 823 Oct 13 2010 ifup-ipx
lrwxrwxrwx 1 root root 9 Nov 15 2011 ifup-isdn -> ifup-ippp
-rwxr-xr-x 1 root root 727 Oct 13 2010 ifup-plip
-rwxr-xr-x 1 root root 954 Oct 13 2010 ifup-plusb
-rwxr-xr-x 1 root root 2369 Oct 13 2010 ifup-post
-rwxr-xr-x 1 root root 4298 Oct 13 2010 ifup-ppp
-rwxr-xr-x 1 root root 1707 Oct 13 2010 ifup-routes
-rwxr-xr-x 1 root root 3662 Oct 13 2010 ifup-sit
-rwxr-xr-x 1 root root 1675 Oct 13 2010 ifup-sl
-rwxr-xr-x 1 root root 2078 Oct 13 2010 ifup-tunnel
-rwxr-xr-x 1 root root 3325 Oct 13 2010 ifup-wireless
-rwxr-xr-x 1 root root 5433 Oct 13 2010 init.ipv6-global
-rwxr-xr-x 1 root root 1154 Oct 13 2010 net.hotplug
-rw-r--r-- 1 root root 10363 Oct 13 2010 network-functions
-rw-r--r-- 1 root root 39833 Oct 13 2010 network-functions-ipv6

Last edited by shishirms; 04-06-2014 at 11:14 PM.
 
Old 04-06-2014, 11:22 PM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Initially there are 3 interfaces, the naming is wrong for one of the interface "__tmp1755126292"
Quote:
-rw-r--r-- 3 root root 259 Oct 26 2012 ifcfg-eth0
-rw-r--r-- 3 root root 259 Oct 26 2012 ifcfg-eth1
-rw-r--r-- 3 root root 333 Apr 7 04:41 ifcfg-eth2
Sample configuration:-
Quote:
DEVICE=eth0
# eth0
IPADDR=192.168.10.31
NETMASK=255.255.255.0
BOOTPROTO=static
ONBOOT=yes
USERCTL=no
Open the eth1/eth2 and verify which one with "DEVICE=__tmp1755126292"
if you dont want extra interface then open both configuration and change "ONBOOT=no"
 
Old 04-07-2014, 01:34 AM   #3
shishirms
LQ Newbie
 
Registered: Mar 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
Now also there are 3 interfaces but i didnt mention all.
All the device names are proper.

FYR

[root@MT-PT-OSB1 network-scripts]# cat ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
[root@MT-PT-OSB1 network-scripts]# cat ifcfg-eth0
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Ethernet
DEVICE=eth0
HWADDR=84:8f:69:81:80:6b
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=192.168.128.133
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
[root@MT-PT-OSB1 network-scripts]# cat ifcfg-eth1
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Ethernet
DEVICE=eth1
HWADDR=84:8f:69:81:80:6d
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=192.168.128.134
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
[root@MT-PT-OSB1 network-scripts]# cat ifcfg-eth2
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
DEVICE=eth2
GATEWAY=56.4.200.1
TYPE=Ethernet
BROADCAST=56.4.200.255
HWADDR=84:8f:69:81:80:66
BOOTPROTO=none
NETMASK=255.255.255.0
NETWORK=56.4.200.0
IPADDR=56.4.200.1
ONBOOT=yes
USERCTL=no
IPV6INIT=no
IPV6_AUTOCONF=no
PEERDNS=yes
 
Old 04-07-2014, 02:10 AM   #4
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
what is your loopback configuration?
 
Old 04-07-2014, 02:16 AM   #5
shishirms
LQ Newbie
 
Registered: Mar 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
Sorry, I didnt get you

I am doing weblogic upgradation. When i was running script for upgrade it was saying "invalid network interface list", when i checked i found one extra interface "__tmp1755126292". As of now i did "ifconfig __tmp1755126292 down". now script is working fine.

But still i dont know how that extra interface is appearing
 
Old 04-07-2014, 02:17 AM   #6
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
check the loopback interface configuration
Quote:
vi ifcfg-lo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Extra interface is appearing in "ifconfig" output shishirms Linux - Newbie 1 04-07-2014 01:09 AM
[SOLVED] Is This Weird Or Typical Output For "IP a" & "IFconfig"? Sumguy Linux - General 3 10-30-2013 10:32 AM
Why "-bash: ifconfig : command not found" when typing "$ifconfig" dangdtvn Linux - Server 9 09-20-2013 06:01 AM
What is "carrier" from the ifconfig output? brian_p_sully Linux - Networking 6 04-17-2012 10:14 PM
Strange "characters" appearing in auto "created" man pages Sector11 Linux - General 7 02-28-2010 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration