The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need to check all virtual hostnames/virtual IP's sai21 UNIX for Dummies Questions & Answers 2 12-05-2008 07:56 AM
Differentiating between Virtual and non Virtual IP addresses vineetd UNIX for Advanced & Expert Users 1 11-06-2008 06:25 AM
Different ip addresses suhail.sadaqat UNIX for Dummies Questions & Answers 9 10-27-2008 08:49 AM
Virtual Universe 0.58 (Virtual World Server branch) iBot Software Releases - RSS News 0 07-28-2008 11:30 PM
creating virtual ip addresses rmuhammad UNIX for Dummies Questions & Answers 2 11-03-2003 10:41 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-02-2009
salil2012 salil2012 is offline
Registered User
  
 

Join Date: Feb 2009
Location: India
Posts: 45
Virtual IP addresses

How would i create virtual interface in linux to configure more than one IP address for a physical interface?
any help wll be appreciated.
  #2 (permalink)  
Old 03-05-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,864
Two ways. Say the new ip address is 192.168.20.1 and the device to be associated with it is eth0
Code:
ifconfig eth0:1 192.168.20.1 netmask 255.255.255.0
The other way is the new "ip route2" tools, or just "iproute".
Code:
ip addr add 192.168.20.1 dev eth0
Saving this configuration for future use is a separate question and depends greatly on the distribution.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:42 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0