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


  Search this Thread
Old 06-06-2004, 05:43 PM   #1
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 ? =)

Old 06-06-2004, 09:03 PM   #2
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
ifconfig eth0:2
ifconfig eth0:3

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 ( and just do the whole thing from right there.


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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration