[ale] multiple ips, ensim and Apache....

John Wells jb at sourceillustrated.com
Wed Dec 18 11:30:40 EST 2002


Good call:

[root at changedtoprotectheinnocent root]# /sbin/ip a ls
1: lo: <LOOPBACK,UP> mtu 3924 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0: <BROADCAST,UP> mtu 1500 qdisc noqueue
    link/ether 00:cc:23:92:18:0b brd ff:ff:ff:ff:ff:ff
    inet XXX.XXX.XXX.183/24 brd XXX.XXX.XXX.255 scope global eth0
    inet XXX.XXX.XXX.184/32 scope global eth0

That .184 is the virtual interface.  Very interesting.  Seems I have some
reading to do.

Thanks for the info!

John



> try:
>
> /sbin/ip a ls
>
> as root.
>
> They may be using another type of virtual interface that ifconfig cannot
> handle.  I am assuming this is a linux based device...
>
> ifconfig cannot handle alot of the new functionality that is present in
> the new linux networking code, stuff like multiple IP's per interface,
> QoS, and things like NIC bonding.  Thats what ip and tc are for :).
> Redhat (and possibly others) have actually started to switch over to
> using ip instead of ifconfig as its a more comprehensive interface to
> the system and its more modern.  Take a look at the initscripts on your
> machine and see if they are using it for a real good example of how it
> works.  I personally switched over to using it about a year ago for
> things like querying my interfaces IP's and such because its a much more
> versitle tool then ifconfig.
>
>
> HTH,
> Mike
>
> On Wed, 18 Dec 2002 10:16:43 -0500 Dow Hurst <dhurst at kennesaw.edu>
> wrote:
>
>> Is it a virtual server and not really IP based?
>>  Or are they using port
>> redirection internally?  I am curious and don't
>> know enough to even
>> guess well! ;-)
>> Dow
>>
>>
>> John Wells wrote:
>>
>> >I do occasional contract work for a hosting
>> company out of Nevada that
>> >uses Ensim's Webppliance to manage their
>> services.
>> >
>> >Last night, I had to setup an IP-based virtual
>> hosting account through the
>> >Ensim interface.  Everything worked smoothly,
>> and I could ping the IP
>> >afterwards.
>> >
>> >However, I decided to explore a bit and see
>> how ensim was implementing the
>> >IPs.  The box has only one NIC, so I assumed
>> they were using virtual
>> >interfaces (a la eth0:0, etc.).
>> >
>> >I logged into the box as root, verified that
>> the account's chrooted
>> >filesystem was indeed created, and did an
>> ifconfig -a . . . but no virtual
>> >interfaces.
>> >
>> >My impression was that with Apache, the only
>> way to do IP-based virtual
>> >hosting was either with virtual interfaces or
>> multiple nics.  Am I wrong
>> >here, or is Webppliance cleverly hiding
>> something from me?
>> >
>> >Thanks for the help.
>> >
>> >John
>> >
>> >
>> >
>> >_______________________________________________
>> >Ale mailing list
>> >Ale at ale.org
>> >http://www.ale.org/mailman/listinfo/ale
>> >
>> >
>> >
>>
>> --
>> __________________________________________________________
>> Dow Hurst                  Office: 770-499-3428
>> Systems Support Specialist    Fax: 770-423-6744
>> 1000 Chastain Rd., Bldg. 12
>> Chemistry Department SC428
>> Email:dhurst at kennesaw.edu
>> Kennesaw State University
>> Dow.Hurst at mindspring.com
>> Kennesaw, GA 30144
>> *********************************
>> *Computational Chemistry is fun!*
>> *********************************
>>
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://www.ale.org/mailman/listinfo/ale
>>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale



_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list