Solved

IP address

Posted on 1998-09-29
2
171 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
[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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

752 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