Solved

Help with RedHat 7.2

Posted on 2002-03-27
5
322 Views
Last Modified: 2013-12-15
I have a doman name and how do I tell Redhat what it is?
and the other question. I have two win boxes and a redhat for the internet how do I make redhat to share internet?
Thanks
Ron
0
Comment
Question by:rdmclark
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 4

Expert Comment

by:MFCRich
ID: 6902449
On the command line(as root): hostname <Fully quaified name here>

To make it automatic at boot time edit the file '/etc/sysconfig/network' and put a line like this in it:

HOSTNAME=<fully qualified name here>

For turning your Linux box into a gateway you want to use masquerading. Go to the HOWTO section of www.linuxdoc.org and look at the IP-Masquerading HOWTO and the IPChains HOWTO.
0
 
LVL 1

Accepted Solution

by:
MindBender earned 50 total points
ID: 6909773
You have a domain name, you could name the Linux box as the default domain name, but as well.. whoever you have your domain name reg'd with.. you would need to make sure that they are doing DNS or "somebody" is doing DNS for the domain name and is pointing it to the coorect IP.

Is this a dedicated connection? With static IP?
No static.. maybe Dns2go.com might help...

(You didn't mention what version but normally)
RedHat check /etc/sysconfig
also /etc/sysconfig/network
also /etc/sysconfig/network/network-scripts ifcfg-eth0

To use your Linux box as the default gateway.. you would want to look into Squid http://www.squid.org and also
NAT (Network Address Translation) Various different search engines will return great data on NAT. NAT as the Keyword.

A direction, not a perfect answer...
MindBender
0
 
LVL 5

Expert Comment

by:BlackDiamond
ID: 6921666
edit the file /etc/resolv.conf and add the following lines (change the nameserver ip's to your DNS servers).


domain mydomain.com
nameserver 1.2.3.4
nameserver 1.2.3.5
search mydomain.com
0
 

Expert Comment

by:CleanupPing
ID: 9086647
rdmclark:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 9905082

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Split points between MFCRich, Mindbender and Blackdiamond, as all have valid input to what is in fact a very poor question.

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

pjedmond
EE Cleanup Volunteer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question