Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-29-2013, 11:42 AM
|
#1
|
LQ Newbie
Registered: Jul 2012
Posts: 5
Rep: 
|
Management interface changes after fedora system reboot
Hi,
By using below procedure, I have changed the interface names on Fedora17 system
[root@localhost ~]# rpm -qa | grep biosdevname
biosdevname-0.3.11-6.fc17.i686
[root@localhost ~]# rpm -e biosdevname-0.3.11-6.fc17.i686
[root@localhost ~]# cd /etc/sysconfig/network-scripts/
[root@localhost network-scripts]# mv ifcfg-p5p1 ifcfg-eth0
[root@localhost network-scripts]# mv ifcfg-p3p1 ifcfg-eth1
[root@localhost network-scripts]# mv ifcfg-p3p2 ifcfg-eth2
[root@localhost network-scripts]# mv ifcfg-p3p3 ifcfg-eth3
[root@localhost network-scripts]# mv ifcfg-p3p4 ifcfg-eth4
## Changed the device name to resp eth interface in each ifcfg-eth file
[root@localhost network-scripts]# vim ifcfg-eth0
[root@localhost network-scripts]# vim ifcfg-eth1
[root@localhost network-scripts]# vim ifcfg-eth2
[root@localhost network-scripts]# vim ifcfg-eth3
[root@localhost network-scripts]# vim ifcfg-eth4
[root@localhost network-scripts]# reboot
After system reboot the interface name changed successfully but now facing one weird issue on Fedora17 system.
The problem is that whenever the Fedora system is rebooted the management ip address is assigned to intermittently different interfaces i.e sometimes it allocates to eth0 & sometimes to eth4 but no connectivity issue is observed.
I need it to be consistently assign to eth0 only.
If anyone have solution to above issue then pls reply
|
|
|
06-01-2013, 03:44 PM
|
#2
|
Member
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273
Rep:
|
Hi shailendra,
Quote:
[root@localhost ~]# cd /etc/sysconfig/network-scripts/
[root@localhost network-scripts]# mv ifcfg-p5p1 ifcfg-eth0
|
changes won't last after reboot, you have to edit /etc/udev/rules.d/70-persistent-net.rules file to make changes permanent.
Quote:
[root@centos ~]# vim /etc/udev/rules.d/70-persistent-net.rules
# PCI device 0x14e4:0x1677 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:14:38:c7:f4:5c", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x1186:0x4c00 (skge)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:11:95:fd:d9:3e", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
~
|
since mine is centos i'll have eth*, so you have to find p5p1 and replace it eth
gil...
|
|
|
06-11-2013, 07:36 AM
|
#3
|
LQ Newbie
Registered: Jul 2012
Posts: 5
Original Poster
Rep: 
|
Hi Gil,
Thanks for the reply.
Fedora system doesn't have below file
/etc/udev/rules.d/70-persistent-net.rules
Best Regards,
Shailendra
|
|
|
All times are GMT -5. The time now is 03:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|