1829457 Members
1438 Online
109992 Solutions
New Discussion

IP Address

 
SOLVED
Go to solution
Kyle D. Harris
Regular Advisor

IP Address

Hello All,
In the process of building a server. Once I have a network connection, how do I obtain a IP address for my server? Thanks!

Kyle
5 REPLIES 5
Mark Grant
Honored Contributor

Re: IP Address

What kind of network connection do you have? Are you talking about joining an existing network or using a dialup/ADSL kind of connection to the internet.

Never preceed any demonstration with anything more predictive than "watch this"
Huc_1
Honored Contributor

Re: IP Address

If I get you right in the middel of install ?

#redhat-config-network

This could be redhat-config-netwrok-tui or -gui
depending on your interface

You also have to chose a static or a dynamic address and point to your dns (from your provider or your employers)

tell us more if need be
Hope this helps you

J-P


Smile I will feel the difference
Kyle D. Harris
Regular Advisor

Re: IP Address

Hello,
I'm looking to join a network already containing a few thousand users. I have the LAN Line plugged in from the server to the wall. I'm just not sure everything I need to do in order to get a connection to FTP out and what not. Any additional help would be appreciated. Thanks

kyle
Mark Grant
Honored Contributor
Solution

Re: IP Address

You need to know if the network uses DHCP or not. If not, then you need the network administrator to assign you a static IP address.

Within Red Hat there are probably hundreds of little non-standard scripts you can run to connect to a DHCP server but in fact all you need to do is run "dhcpd" somewhere in your startup scripts something like "dhcpd -t 10 -d eth0".

If you need to get a static IP address from the network administrator, you'll also need the netmask and somewhere in your startup scripts put

ifconfig eth0 xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx

Those "xxx"'s should be replaced with your IP address and netmask.
Never preceed any demonstration with anything more predictive than "watch this"
Kyle D. Harris
Regular Advisor

Re: IP Address

Allright Mark, sounds good. I'll get that Static IP assigned. Thanks!

Kyle