LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-25-2010, 08:24 PM   #1
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Question Configure Linux IP


hi guys, can anyone give an idea on how to configure Red Hat IP.

Here's what i'm trying to do use linux as a web server and at the same time connect the linux machine to local area network.

So i need to configure one static ip such as 203.blah.blah.blah and then 192.blah.blah.blah
Need your help on how to do this.

Thanks.
 
Old 04-25-2010, 09:50 PM   #2
bendib
Member
 
Registered: Feb 2009
Location: I'm the rat in your couch.
Distribution: Fedora on servers, Debian on PPC Mac, custom source-built for desktops
Posts: 174

Rep: Reputation: 40
What version of Red Hat are you using? And is it Enterprise or that ancient predecessor to Fedora Linux?
 
Old 04-25-2010, 10:29 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
read the red hat doc page , then pay red hat $$$ Cash
then install apache
http://www.redhat.com/rhel/
http://kbase.redhat.com/faq/en
http://www.redhat.com/docs/manuals/
http://www.redhat.com/docs/manuals/RHNetwork/
 
Old 04-26-2010, 12:58 AM   #4
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Original Poster
Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Cool

Quote:
Originally Posted by bendib View Post
What version of Red Hat are you using? And is it Enterprise or that ancient predecessor to Fedora Linux?
red hat enterprise 5.3. Thanks.
 
Old 04-26-2010, 01:30 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by JJJCR View Post
hi guys, can anyone give an idea on how to configure Red Hat IP.
Not without more information. How do you connect to the Internet? How are you networking components connected (router, modem, firewall, DMZ ...)? How many NICs does the computer have?
 
Old 04-26-2010, 02:15 AM   #6
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Original Poster
Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Question

Quote:
Originally Posted by catkin View Post
Not without more information. How do you connect to the Internet? How are you networking components connected (router, modem, firewall, DMZ ...)? How many NICs does the computer have?
Computer: Two NIC's
Internet connection: Though a CISCO router (connected to ADSL)

Thanks.
 
Old 04-26-2010, 04:00 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
if you are going to use RHEL5 then PAY red hat , update it to RHEL 5.5 and call your paid for tech support rep.

OR
install the Free version CentOS 5.4
 
Old 04-27-2010, 02:02 AM   #8
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Original Poster
Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Cool

Quote:
Originally Posted by John VV View Post
if you are going to use RHEL5 then PAY red hat , update it to RHEL 5.5 and call your paid for tech support rep.

OR
install the Free version CentOS 5.4
so basically your point is i really need to PAY RHEL with a bulk of money which i don't have.

so is there any free insights out there, thanks.
 
Old 04-27-2010, 01:26 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
YES that is my point .
or install CentOS !!!
cent is the community supported version .with the red hat logos and copyrighted things removed .
http://www.centos.org/

if you use red hat PAY RED HAT or use something different.
 
Old 04-27-2010, 01:39 PM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by JJJCR View Post
so basically your point is i really need to PAY RHEL with a bulk of money which i don't have.
Kinda like paying Microsoft? Or Apple?

You're paying for support. RHEL is supported and updated, but you only get such things if you pay for them. Unless you've got a real, application driven need for RHEL (like Oracle, etc., that needs a 'supported configuration), you'd be better off loading CentOS (RHEL, but free and community supported/updated), or any other free version of Linux. openSUSE, Mandriva, etc., are all good, and all support the same things you're talking about. Otherwise, you won't get kernel updates, security updates, etc.
Quote:
so is there any free insights out there, thanks.
Yep...the links you were given should tell you that.

The command you're really looking for is "ifconfig", but you still don't say anything about what KIND of NIC's you have, or what you've got. Does your router supply addresses via DHCP internally? If you've got the interface, and need a static address, you can manually do it with "ifconfig <interface name> <address> <subnet mask>", then add a default route with "route add default gw <gateway address>". The links John provided can be used to search the RH knowledebase, for things like this: http://kbase.redhat.com/faq/docs/DOC-8557

The scenario you described shouldn't need two NIC's, though. Set up one single NIC on your internal network. Can even use DHCP to get it. On your router, you can do NAT'ing to the outside. Unless you've got two external ports on your DSL connection, you're getting ONE address to your house. So on the router, redirect all incoming requests to port 80, to your box, via the one address you've already got.
 
1 members found this post helpful.
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure script sends bad switches to daughter configure scripts Wells Linux - Software 7 10-10-2008 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration