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/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 > > |