Editing
Msg07240.html
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= Re: [Vserver] Interface alias name = ----- * '''From:''' Herbert Poetzl * '''Date:''' Tue, 22 Jun 2004 23:21:59 +0200 (CEST) ----- <pre>On Tue, Jun 22, 2004 at 12:21:07PM -0700, Roderick A. Anderson wrote: > On Tue, 22 Jun 2004, Ramiro Brito Willmersdorf wrote: > > > > > Hi, > > > > I'm trying to create a vserver with three different ip addresses, > > therefore I need three aliases: one for eth0 and two for eth1. > > They end up named as (checked with ifconfig): > > > > eth0:zumb -> 192.168.10.10 > > eth1:zumb -> 10.4.0.1 > > eth1:zumb -> 10.5.0.1 > > > > The name of the vserver is zumbi. > > Shouldn't the last two have different names? Should I name the > > vserver with less than four characters (no big deal)? Should I not > > worry about this? > > I think you'll find this is an issue with ifconfig. A nine (9) character > display length. Had me confused for awhile when I first got caught by it. > > Fixes that may work or help. Vserver names of four or less characters. > Use nameif and make eth0 and eth1 something shorter. WAN, LAN? actually no need for that, because the limit is at 15 chars totla, which leaves 10 chars for vserver (assuming ethX:), which in turn means that you can have a name up to 9 chars, for up to 10 aliases, or 8 chars for 100 (current max 16) aliases ... you can check that yourself, with the ip tool: # ifconfig eth0:somelongalias 10.0.0.1 # ip addr show inet 10.0.0.1/8 brd 10.255.255.255 scope global eth0:somelongal see http://vserver.13thfloor.at/Stuff/VServer-IP-Setup-0.1.txt for further details (or the linux-vserver documentation) HTH, Herbert > Rod > -- > "Open Source Software - You usually get more than you pay for..." > "Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL" > > > _______________________________________________ > Vserver mailing list > Vserver@xxxxxxxxxxxxxxxxxxxxxx > http://list.linux-vserver.org/mailman/listinfo/vserver </pre> ----- * '''Follow-Ups''': ** '''[[msg07244.html|Re: [Vserver] Interface alias name]]''' *** ''From:'' Ramiro Brito Willmersdorf ** '''[[msg07242.html|Re: [Vserver] Interface alias name]]''' *** ''From:'' Roderick A. Anderson * '''References''': ** '''[[msg07236.html|[Vserver] Interface alias name]]''' *** ''From:'' Ramiro Brito Willmersdorf ** '''[[msg07237.html|Re: [Vserver] Interface alias name]]''' *** ''From:'' Roderick A. Anderson * Prev by Date: '''[[msg07239.html|[Vserver] vserver on sparc64]]''' * Next by Date: '''[[msg07241.html|Re: [Vserver] vserver on sparc64]]''' * Previous by thread: '''[[msg07237.html|Re: [Vserver] Interface alias name]]''' * Next by thread: '''[[msg07242.html|Re: [Vserver] Interface alias name]]''' * Index(es): ** [[index.html#07240|'''Date''']] ** [[threads.html#07240|'''Thread''']]
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information