static ip in f11, f12 using networkmanager

Bob Marcan bob.marcan at gmail.com
Tue May 11 16:28:15 UTC 2010


On Tue, 11 May 2010 09:41:10 -0600
Phil Meyer <pmeyer at themeyerfarm.com> wrote:

> On 05/10/2010 12:04 PM, jackson byers wrote:
> > Phil Meyer wrote:
> >    
> >> NM_CONTROLLED=
> >>      
> >    
> >> Depending upon what you want to do.
> >>      
> >    
> >> Will you ever use a Cell card on this system?
> >> Will you ever change IPs temporarily, or often?
> >>      
> >    
> >> It can be useful to let Network Manager manage the ifcfg-eth0 file.
> >>      
> >

 Linux smicro 2.6.32.11-99.fc12.x86_64 #1 SMP Mon Apr 5 19:59:38 UTC
 2010 x86_64 x86_64 x86_64 GNU/Linux
NetworkManager-0.8.0-6.git20100408.fc12.x86_64

It is useful if you have wifi and/or made a lot of testing with
different equipment.
I have the primary link with the Netscreen and backup with the Cisco.
If i have problems with the primary (4 times power supply),
connecting adsl to the backup and i'm online again.

Start nm-applet as root (sudo) then you can configure everything.

This is mine:

/etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82566DM-2 Gigabit Network Connection
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:30:48:98:0E:89
ONBOOT=yes
IPADDR=192.168.168.11
NETMASK=255.255.255.0
TYPE=Ethernet
GATEWAY=192.168.168.1
NM_CONTROLLED=yes
IPV6INIT=no
USERCTL=yes
PREFIX=24
DNS1=192.168.168.11
DNS2=193.189.160.23
DOMAIN='xxxx.xxxx.net xxxxx.xxx.eu xxxxx-xxx.si xxx.si xxxx.com'
NAME=ns5xt-eth0
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
MTU=1400
DEFROUTE=yes

/etc/sysconfig/network-scripts/ifcfg-c1700-eth0
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.168.11
PREFIX=24
GATEWAY=192.168.168.3
DNS1=192.168.168.11
DNS2=193.189.160.23
DOMAIN='xxxx.xxxx.net xxxxx.xxx.eu xxxxx-xxx.si xxx.si xxxx.com'
DEFROUTE=yes
IPV6INIT=no
NAME=c1700-eth0
UUID=a082f99c-5b80-4d2e-9b2b-6e07d6b2bf6f
ONBOOT=no
LAST_CONNECT=1270836707
DEVICE=c1700-eth0
USERCTL=yes

BR, Bob


More information about the users mailing list