?
Solved

Help with RedHat 7.2

Posted on 2002-03-27
5
Medium Priority
?
325 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 150 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month12 days, 13 hours left to enroll

777 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