Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 262
  • Last Modified:

FreeBSD 2.27 IP Address

How does one set the IP address or their system?  

(I am really new to Unix -- FreeBSD 2.2.7 is my flavor.  I am trying to strike a blow to the Empire (Bill G. that is), but am off to a slow start.)
0
gatkinso
Asked:
gatkinso
1 Solution
 
tgreaserCommented:
is your machine going to pick up an IP through dhcp or is it going to be hard coded into your box.?
0
 
gatkinsoAuthor Commented:
It is going to get the ip through DHCP.  However, I have been assigned a static IP address by the ISP.  I have gotten as far as running ifconfig, but it keeps saying "interface 24.3.21.20 at ed0 is not defined" or something similar.

Geoffrey
0
 
ydshCommented:
Maybe first you should use the command "netstat" to
check the name of your network interface card,
the use the command "ifconfig" to set your IP address
on your system.

good luck

0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
gatkinsoAuthor Commented:
Thanks --- the guru's at work also explained about the /etc/hosts file -- as well as told me about what books to buy.
0
 
tfabianCommented:
something doesn't compute..

if you've got a static IP address, why are you concerned about getting an IP address via DHCP??  you don't need to do so..

I do however agree that whatever address you end up using, you should create an entry for it in /etc/hosts

a source of help information that may be useful to you are the "man" pages.. they'll explain how to do most things with examples..

as for book recommendations, see url

http://www.amazon.com/exec/obidos/external-search/002-4227457-0365205?keyword=+freebsd&tag=teddyfabian

for FreeBSD reference books..

and url
 http://www.amazon.com/exec/obidos/external-search/002-4227457-0365205?keyword=+unix&tag=teddyfabian


for general unix reference books..


good luck
 


0
 
gatkinsoAuthor Commented:
Thanks
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now