LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-06-2004, 05:43 PM   #1
Unity0110
LQ Newbie
 
Registered: Jun 2004
Location: Virginia
Posts: 1

Rep: Reputation: 0
adding a virtual ip in linux


Could someone give me a tutorial of doing this (adding a virtual ip in linux)? or even use my ip's as examples, so it's nice and easy for meh ? =)

64.191.89.37-41

Thanks
 
Old 06-06-2004, 09:03 PM   #2
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
You should be able to just do an:

ifconfig eth0:1 64.191.89.37/24
ifconfig eth0:2 64.191.89.38/24
ifconfig eth0:3 64.191.89.39/24
etc...

There are a few more commands you might want to see if you do man ifconfig, also you need to know the above commands will only work during this boot so when you turn of the machine and turn it back on again you will have to do these commands again, you can add them to your boot files or install a program like webmin (www.webmin.com) and just do the whole thing from right there.
 
  


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
Adding virtual host bestofmed Linux - Networking 2 09-28-2005 04:01 PM
Adding virtual ips to fedora 3 linchat Linux - Networking 2 09-17-2005 07:31 PM
ProFtpd and adding virtual users gbj Linux - Networking 0 03-17-2005 01:37 AM
Adding virtual user for Postfix hct224 Linux - Newbie 0 01-22-2004 12:47 PM
Adding multiple domains to a virtual server robgo777 *BSD 1 12-21-2003 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:57 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration