[CentOS] Changing from dynamic ip to static ip

Tue Jun 13 12:39:36 UTC 2006
Joshua Gimer <jgimer at gmail.com>

IPADDR=71.30.117.2
NETMASK=255.255.255.252
NETWORK=71.30.117.0 <http://71.30.117.0/30>
GATEWAY=71.30.117.1

Add this to your /etc/sysconfig/networking/devices/ifcfg-eth0
And take out

BOOTPROTO=dhcp

On 6/13/06, Thomas E Dukes <edukes at alltel.net> wrote:
>
>
>
> > -----Original Message-----
> > From: centos-bounces at centos.org
> > [mailto:centos-bounces at centos.org] On Behalf Of William L. Maltby
> > Sent: Tuesday, June 13, 2006 7:41 AM
> > To: CentOS General List
> > Subject: Re: [CentOS] Changing from dynamic ip to static ip
> >
> > On Mon, 2006-06-12 at 18:53 -0400, Thomas E Dukes wrote:
> > > Hello,
> > >
> > > I have been on a dynamic ip for about 5 years and have just
> > upgraded
> > > to a static ip.
> > <snip>
> >
> > I almost didn't mention it because it's so common a concern
> > now, but just in case.
> >
> > Static IP gives attackers a lot more leeway in their attempts
> > to penetrate. Be sure your firewall (from ISP and iptables on CentOS
> > machine) are now appropriate for your situation. With port 80
> > open, make sure your server stuff is kept up-to-date with
> > security fixes. Make sure all services not needed are
> > disabled. TCP wrappers (hosts.deny and
> > hosts.allow) are up to snuff.
>
> Hi Bill,
>
> Thanks,
>
> Yes, I have a firewall setup and also use denyhosts and fail2ban.
>
> Thanks
> >
> > HTH
> > --
> > Bill
> >
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Thx
Joshua Gimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20060613/77889709/attachment-0004.html>