Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-15-2003, 01:39 AM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 17
Rep:
|
/etc/hosts file
I am running RedHat 7.3. I have a local intranet. My Linux box is configured to get it's ip from the Home Gateway which is also a DHCP server. I have been attempting confire the gateway with DMZ as to access the webserver from the internet (via ip address),without a host name. In the midts of trying, I experimented by, bypassing the Gateway and going straight into my Road Runner Cable modem. I restarted my net services on my Linux box and received an address of 65.x.x.x. I then decided to switch back to connecting the Gateway to share the internet connection with a w2k box. Upon connecting to the Gateway I restarted my net services and a funny thing happened, I STILL RECEIVE THE 64.X.X.X address instead of a 192.x.x.x address. I reconfigured the Gateway from the DMZ setting, back to the DHCP server only. Also, while getting the ip of 65.x.x.x I was also getting a broacast message of 192.168.x.x. I also had no internet access. I have tried all I know to try...
I have now shut everything down, then went directly from the Linux box to the RR cable modem. I then powered up the cable modem, and then powered up the Linux box. I still have the ip address of 65.x.x.x, which I believe could be correct only upon IFCONFIG, I have DNS servers with ip's of 24.x.x.x, which is typical for Road Runner...
Any ideas/help as to why the SAME IP no matter how connected, are greatly appreciated...
the best thing about Linux I have found so far is the fact that Linux gives me the power to totally configure my PC. So I am willing to bet I just need to reconfigure a file, I am just not sure which one.
On boot, what file does eth0 get its information????
thanks for listening...
LINUX ROCKS...
|
|
|
10-15-2003, 01:44 AM
|
#2
|
Member
Registered: May 2003
Location: India
Distribution: Knoppix, RedHat
Posts: 246
Rep:
|
hi
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
use netconfig
or redhat-config-network to reconfigure
regards
rahul sundaram
|
|
|
10-16-2003, 01:39 AM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 17
Original Poster
Rep:
|
thanks for all the help...
|
|
|
10-16-2003, 01:52 AM
|
#4
|
Member
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198
Rep:
|
or..down load Webmin @ http://www.webmin.com
easy to use 1 shoot GUI admin
|
|
|
10-16-2003, 06:03 PM
|
#5
|
LQ Newbie
Registered: Aug 2003
Posts: 17
Original Poster
Rep:
|
Thanks I will try it out...however what is "1shoot"...
I have verified the files and the system is set to receive DHCP. It acts as though it has a static IP of 65.27.254.31. I only work on the system late at night, and I have changed something, but cannot find it...I will keep on trouble shooting through the weekend. Since it is a test system I can always reload the nic, or even the whole system. It is a important test system, as I will be bringing a webserver online at work, with the same OS, and almost the same hardware. Although it will have a "rea" hostname and static IP, so this specific won't be an issue. However as with any trouble, I have the chance to learn and grow.
thanks again,
|
|
|
All times are GMT -5. The time now is 03:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|