Solved

IP address

Posted on 1998-09-29
2
166 Views
Last Modified: 2010-04-20
Is it possible to assign an IP address to a computer even if it is not connected to a network?  I have a standalone PC (without any network interfaces) but I would like to assign it an IP address and aliases so that it acts as if it is connected to the internet.  Is it possible to assign an IP address or can you add aliases to the 127.0.0.1 localhost entry?

Thanks in advance.
0
Comment
Question by:bsufs
2 Comments
 
LVL 4

Accepted Solution

by:
feenix earned 50 total points
ID: 1638162
Yes, you can. You need to have network aliasing support in your kernel. Then just use this to assign an IP address (the address in the example is a good one, it is used to private networks)

/sbin/ifconfig lo:0 192.168.0.1 netmask 255.255.255.0

You should use 192.168.x.x-style addresses in private networks, because they are not routed anywhere in the net.
0
 

Author Comment

by:bsufs
ID: 1638163
Is network aliasing a standard option of Linux?  I haven't installed Linux yet but I am going to install Slackware Linux.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
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 how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

706 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now