different name for ethernet interface

Solution For Your Network Issues.

different name for ethernet interface

Postby rani » Tue Oct 28, 2014 11:10 pm

My machine contains 2 NICs named as 'eth0' and 'eth1'. But every time when my system reboots it shows a different name for eth1 as eth5 or eth8 and so on. When I try to restart the network service it shows as no such device.But the name remains the same in the files.Can any one help?
rani
 
Posts: 0
Joined: Tue Oct 28, 2014 5:24 pm

Re: different name for ethernet interface

Postby SIbinPhilip » Tue Nov 25, 2014 12:10 pm

Try to reconfigure the network settings. After configuring the network restart the service and enable the service to ON, so that it does not change during reboot. See if this works.
SIbinPhilip
 
Posts: 0
Joined: Tue Nov 25, 2014 12:01 pm

Re: different name for ethernet interface

Postby SIbinPhilip » Tue Nov 25, 2014 12:18 pm

Try to reconfigure the network settings. After configuring it, restart the service and enable the service, so that it does not change during reboot. See if this works.
SIbinPhilip
 
Posts: 0
Joined: Tue Nov 25, 2014 12:01 pm

Re: different name for ethernet interface

Postby m4tomson » Sat Dec 06, 2014 3:20 pm

You can change the interface name once your machine boots up.If you can check the /sys/class/net directory, you can see the interface names and you can change it using the following command.

For an eg: if your interface appeared as eth5 instead of eth1, then to change it to eth1

#ip link set dev eth5 name eth1

Now restart your network.
m4tomson
 
Posts: 0
Joined: Tue Oct 28, 2014 5:15 pm

agree

Postby DennisSi » Mon Dec 29, 2014 12:27 am

Interesting article
want to
post online .
You agree?

[url].[/url]
DennisSi
 
Posts: 0
Joined: Thu Dec 25, 2014 12:57 pm


Return to Linux Networking

Login  •  Register

cron