SCIENTIFIC-LINUX-DEVEL Archives

July 2014

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Florian La Roche <[log in to unmask]>
Reply To:
Florian La Roche <[log in to unmask]>
Date:
Wed, 23 Jul 2014 07:26:49 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (63 lines)
Hello,


On Tue, Jul 22, 2014 at 02:43:14PM -0500, William R Somsky wrote:
> I'm seeing the following issue w/ SL7 installation:
> 
>  - Doing a network install w/ http acquired kickstart
> 
>  - The kickstart package selection is "--nobase @core"
> 
>  - The kickstart file has the following static ip declaration:
> 
>      network --device=link --activate
>        --hostname=<xxx> --bootproto=static --noipv6 
>        --ip=<xxx> --netmask=<xxx> --gateway=<xxx> --nameserver=<xxx>,<xxx>
> 
>  - The install works fine, and the network comes up properly.
>    Specifically, (w/ <gateway> being the proper gateway address):
> 
>      #] ip route
>      default via <gateway> dev em1  proto static  metric 1024 
>      x.x.x.0/23 dev em1  proto kernel  scope link  src x.x.x.x 
> 
>  - The file /etc/sysconfig/network contains just a comment, 
>    and /etc/sysconfig/network-scripts/ifcfg-em1 contains:
> 
>      [...]
>      GATEWAY0=<gateway>

Does it work correctly if you change this from GATEWAY0= to GATEWAY= ?

Red Hat will fix this in a future release as you can see in this report:
https://bugzilla.redhat.com/show_bug.cgi?id=1105770

>      DEFROUTE=yes
>      [...]
> 
>  - However, this is for non-mobile, desktop workstations w/ assigned
>    IP addresses, and I don't like having NetworkManager around 
>    potentially messing w/ the static network settings.
> 
>  - In the past (SL5,SL6), I've just not installed NetworkManager
>    and everything works fine and dandy.

I've done the same with RHEL5/6 for static routes, there is really no need
to have NetworkManager running then...

> 
>  - In SL7, however, if NetworkManager is not present, (deinstalled 
>    or not installed in the first place) the network does *not* come
>    up properly: the ip address is fine, but the routing is wrong:
> 
>      #] ip route
>      169.254.0.0/16 dev em1  scope link  metric 1002 
>      x.x.x.0/23 dev em1  proto kernel  scope link  src x.x.x.x 
> 
> So what gives?  We shouldn't need NetworkManager for static ip's.


best regards,

Florian La Roche

ATOM RSS1 RSS2