LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 08-11-2003, 10:20 PM   #1
bluethundr
Member
 
Registered: Jun 2003
Location: Summit, NJ
Distribution: CentOS 5.4
Posts: 122

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.

Thanks!
-Tim
 
Old 08-11-2003, 11:16 PM   #2
linylion
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....
enjoy.
abuot ur second question, i dont have any idea now bt just to guess, 'ifconfig' is the command to that solution also...
 
  


Reply


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 10:58 AM
Determining if gaim is away jrdioko Linux - Software 0 01-23-2005 05:27 PM
Determining which shell is in use chakkerz Linux - Newbie 2 11-15-2004 05:47 PM
Not determining IP addy? PlentifulBalls Fedora 16 09-28-2004 08:27 PM
determining fs type FirebirdV0273 Linux - General 3 10-09-2003 06:25 PM


All times are GMT -5. The time now is 07:23 PM.

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