Page 1 of 1

different name for ethernet interface

PostPosted: Tue Oct 28, 2014 11:10 pm
by rani
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?

Re: different name for ethernet interface

PostPosted: Tue Nov 25, 2014 12:10 pm
by SIbinPhilip
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.

Re: different name for ethernet interface

PostPosted: Tue Nov 25, 2014 12:18 pm
by SIbinPhilip
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.

Re: different name for ethernet interface

PostPosted: Sat Dec 06, 2014 3:20 pm
by m4tomson
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.

agree

PostPosted: Mon Dec 29, 2014 12:27 am
by DennisSi
Interesting article
want to
post online .
You agree?

[url].[/url]