Re: Network help for Linux Newbie

This is a discussion on Re: Network help for Linux Newbie within the Linux Networking forums, part of the Linux Forums category; in the /etc/sysconfig/network-scripts/ifcfg-eth0 file put DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes and then do /sbin/...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-06-2003
W Cardwell
 
Posts: n/a
Default Re: Network help for Linux Newbie

in the /etc/sysconfig/network-scripts/ifcfg-eth0 file put

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

and then do /sbin/service network restart

You may know already that if you use DHCP to configure a server you will
want to designate a specific IP tied to its MAC address in the Cisco DHCP
server, so the IP won't change.

As far as keeping it safe from the outside you can use either /sbin/lokkit
(RedHat's firewall GUI) or read up on iptables and write your own ruleset to
deny access from outside the LAN.



"BG" <NOT@home.net> wrote in message
news:yeINa.427474$3n5.383800@news2.central.cox.net ...
> I have a small home network (2 Win XP systems) which are connected to an
> Intel 5-port HUB, and then the Hub is connected to a Cisco 1605 Router to
> allow internet sharing. The Cisco is set to automatically obtain it's eth0
> IP from my provider and configured as a DHCP server on eth1 (so that my
> Windows systems may automatically obtain their IP's from the router.
>
> Because I run a few websites I decided to setup a third system running
> RedHat 7.3/Apache/Perl so that I may test all of my website scripts

locally
> before placing them on my remote web servers. My question is how can I
> configure the new Linux machine to be able to automatically obtain it's IP
> from the Cisco router as my other systems do? And how can I at the same

time
> keep it secure from the outside (it is only going to be used as sort of a
> mirror for testing my sites files)?
>
> Thanks for any help
>
> BG
>
>



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:45 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0