Delete an interface
07/01/2018 15:30
First some history, I 'ghosted' a Linux image to a computer and at thesame time replaced the Gigabit 10/100/1000 NIC. The original NIC was adual i/f (no name brand). I replaced it with a better card (also a duali/f).

Now the problem is, that all four of the eth's are shown in 'ifconfig'.

Let me clarify, there are four i/f's listed, they are: eth0, eth1,eth2, and eth3. My presumption is that I should have only: eth0 andeth1. That is, two eth's, one for each of the two interfaces that arecurrently attached.

My question is should I get rid of the unused eth i/f listed inifconfig?And if so, how? The cause for alarm is that I have no way of knowing which one is thereal i/f? Thanks, Delphinus

Source is Usenet: comp.os.linux.networking
Sign in to add a comment

Answer score: 5
07/01/2018 15:30 - And THANKS to you both for your help!

Source is Usenet: comp.os.linux.networking
Sign in to add a comment

Answer score: 5
07/01/2018 15:30 - shrini <tshrinivasan@gmail.com> writes: And network restart should have given them IP addresses already. Better be different addresses for each.


Source is Usenet: comp.os.linux.networking
Sign in to add a comment

Answer score: 5
07/01/2018 15:30 - Hi Delphinus .

giveifconfig eth0 downifconfig eth1 downifconfig eth2 downifconfig eth3 down This will remove all interfaces.

Now give /etc/init.d/network restart now give ifconfig.

two interfaces will shownand one loopback will shown.

now set 2 ip address for each one as ifconfig eth0 A.B.C.Difconfig eth1 A.B.C.D This is enough.

regards,T.Shrinivasan.


Source is Usenet: comp.os.linux.networking
Sign in to add a comment

Answer score: 5
07/01/2018 15:30 - Sorry guys.

we have to give different IP address for the two cards.

I used A.B.C.D just for IP address format, as a skeleton.

Thanks Unruh.

regards, T.Shrinivasan.


Source is Usenet: comp.os.linux.networking
Sign in to add a comment

eDiscover
Helpforce eDiscover provides technical articles updated each dayHelpforce eDiscover RSS feed contains the latest technical articles in RSS
Click the logo to go back to the main page
Search eDiscover
  
Categories

Click an icon to go to that category

Helpforce eDiscover contains articles about Microsoft Windows Helpforce eDiscover contains articles about Apple products and MacOS Helpforce eDiscover contains articles about Linux and POSIX operating systems Helpforce eDiscover contains articles about Helpforce Helpforce has a large variety of technical information and articles for you to read Helpforce eDiscover contains articles about databases, MYSQL, SQL Server Oracle Helpforce eDiscover contains articles about Java, JVM and the JRE Helpforce eDiscover contains articles about the QNX operating system Helpforce eDiscover contains articles about Oracle Solaris and Open Solaris Helpforce eDiscover contains articles about RISC OS, Acorn and the BBC Micro Helpforce eDiscover contains articles about Amiga and AmigaOS

Type your comment into the box below