LinuxQuestions.org
Visit Jeremy's Blog.
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 05-29-2013, 11:42 AM   #1
shailendra.dlink
LQ Newbie
 
Registered: Jul 2012
Posts: 5

Rep: Reputation: Disabled
Post 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
 
Old 06-01-2013, 03:44 PM   #2
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273

Rep: Reputation: 1
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...
 
Old 06-11-2013, 07:36 AM   #3
shailendra.dlink
LQ Newbie
 
Registered: Jul 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi Gil,
Thanks for the reply.
Fedora system doesn't have below file
/etc/udev/rules.d/70-persistent-net.rules

Best Regards,
Shailendra
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora - system-config-firewall - p2p1 trusted interface - how to configure ? dlugasx Linux - Server 0 09-05-2012 05:01 AM
can i used web interface to reboot or restart my whole system nikhidet1 Programming 5 02-08-2012 04:21 AM
Fedora 14 - Ethernet interface does not get activated upon reboot Sreeram B S Linux - Networking 12 06-07-2011 02:08 PM
my interface bond0 can't bring up automatically after system reboot ericyao Linux - Hardware 3 04-11-2010 11:16 PM
Installed Fedora 8 and system will not do the initial reboot, it hangs at the restart mfiederer Fedora - Installation 1 11-15-2007 03:10 PM

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

All times are GMT -5. The time now is 03:51 AM.

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