LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to make a network interfaces configuration immutable? (http://www.linuxquestions.org/questions/linux-networking-3/how-to-make-a-network-interfaces-configuration-immutable-870761/)

jkbrown 03-24-2011 01:33 PM

how to make a network interfaces configuration immutable?
 
Similar to the linux command "chattr +i filename",
I would sure like to set my eth0 interface immutable. so once I assign the eth0 interface's IP and gateway, make it stay set until I say otherwise.

this way, I can run dhclient or Networkmanager on another interface without having to fret that it may alter this interface.
is there something out there that can do this?
Thanks

kbp 03-24-2011 08:39 PM

Seems a bit excessive .. if you use the following settings then nothing should change what you've configured -

BOOTPROTO=none
NM_CONTROLLED=no

hth


All times are GMT -5. The time now is 05:29 PM.