Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-11-2003, 11:20 PM   #1
Registered: Jun 2003
Location: Summit, NJ
Distribution: CentOS 5.4
Posts: 144

Rep: Reputation: 15
Determining IP

Hey all,

I'm going through the O'Reilly book on Apache right now, and to get my experiments to work I need to multihome my ip address (that is assign more than one ip address to the same ethernet interface (eth0, in my case)) so I can test out different virutal servers. I 'manned' ifconfig, but didn't find any info on multihoming. Is this the tool to use if I wanted to multihome my address? Also, how do you determine the ip address you've been assigned through DHCP? I know the command for Win2000 is 'ipconfig', so I guess what I was hoping to find (in addition to learning about multihoming) is the Linux equivalent of that command.

Old 08-12-2003, 12:16 AM   #2
LQ Newbie
Registered: Jul 2003
Location: Lahore (Pakistan)
Distribution: Red Hat Linux
Posts: 9

Rep: Reputation: 0
Hi bluethundr!
for multihoming do it as,

ifconfig eth0:1 ip-address

this will assign 2nd ip to ur etherne card where as ur 1st ip will be now referred as "eth0:0" and so u can assign as many ips asit allows u....
abuot ur second question, i dont have any idea now bt just to guess, 'ifconfig' is the command to that solution also...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What to look for when determining if there is enough memory? newlinuxnewbie Linux - General 4 11-01-2005 11:58 AM
Determining if gaim is away jrdioko Linux - Software 0 01-23-2005 06:27 PM
Determining which shell is in use chakkerz Linux - Newbie 2 11-15-2004 06:47 PM
Not determining IP addy? PlentifulBalls Fedora 16 09-28-2004 09:27 PM
determining fs type FirebirdV0273 Linux - General 3 10-09-2003 07:25 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:33 PM.

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