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
Connecting To An External Network Using A logical (PACKAGE) IP Address cchilenga HP-UX 1 05-04-2008 04:16 PM
AIX procedure for creating a logical volume from CLI amit4g AIX 2 10-23-2007 07:47 AM
Creating alias for directory path jasjot31 UNIX for Dummies Questions & Answers 3 09-25-2006 08:04 AM
Error in creating logical partition nagendrajaiswal UNIX for Dummies Questions & Answers 3 07-20-2006 09:05 AM
OpenBSD + Network +ifconfig CopyWrong IP Networking 5 12-09-2002 02:40 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-21-2005
zaff zaff is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 11
Smile ifconfig: difference between creating logical or alias network interface

Hi guys,
I have set up multiple virtual FTP servers on a server through one physical NIC. I believe there are to ways; setting logical or alias ip's. I would like to know what is the difference between setting up a logical ip or setting up an alias ip to a physical network interface? Some links to docs would help.

Thanks,
Zaff
  #2 (permalink)  
Old 11-21-2005
zaff zaff is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 11
i'm running Solaris 10. hope thid helps. The options are part of the ifconfig command.

thnks,
Zaff
  #3 (permalink)  
Old 11-21-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
See the man page on ifconfig for more info.

(As an example, I'm using hme0 - your interface may be different)

You can set up a logical/virtual interface by setting the IP or a hostname in a /etc/hostname.hme0:1. If you use a hostname, it has to be in /etc/hosts. And you can either reboot or use the ifconfig command to set up the logical/virtual interface.

ifconfig plumb hme0:1 inet 172.16.1.2 netmask 255.255.255.0 broadcast 172.16.1.0 up
  #4 (permalink)  
Old 11-22-2005
zaff zaff is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 11
So how does this differ from creating an alias of the network interface? i would like to know how creating a logical or an alias differ (pros and cons).

thnks,
Zaff
  #5 (permalink)  
Old 11-22-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
I'm not sure what you mean by 'alias ip'.

If you are talking about setting up an alias in DNS, it is simply

main interface is hme0 with 172.16.1.2 IP with hostname of myserver.mydomain.com
add ftpserver.mydomain.com with same IP in DNS

This would be easier than a virtual interface in my opinion.

If this isn't what you are looking for, you might want to provide more info.
  #6 (permalink)  
Old 11-22-2005
zaff zaff is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 11
sorry if i haven't been too clear in my original question. The ifconfig cmmand has a 'alias' parameter. What does this enable me to do? It seems very similar to a creating a logical network interface, but i can create a logical network interface without having to use the 'alias' command.

Not sure if this is any clearer.

thnks,
zaff
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 10:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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