Re: [vserver] Possible to see all ipaddresses off all interfaces in a vserver

About this list Date view Thread view Subject view Author view Attachment view

From: Roderick A. Anderson (raanders_at_tincan.org)
Date: Wed Feb 13 2002 - 09:20:48 EST


On Wed, 13 Feb 2002, Martin Josefsson wrote:

> Hi,
>
> I noticed that it's possible to see all ipaddresses on all interfaces in
> an vserver when it should only be possible to see the ipv4root address.

Seems to me the lastest kernel and package make this so.

Here is the results of ifconfig in a virtaul server

eth0 Link encap:Ethernet HWaddr 00:80:AD:71:22:2C
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:701060 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48393 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:76531350 (72.9 Mb) TX bytes:7184647 (6.8 Mb)
          Interrupt:11 Base address:0xe800

eth0:vs1 Link encap:Ethernet HWaddr 00:80:AD:71:22:2C
          inet addr:216.64.180.227 Bcast:216.64.180.255 Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          Interrupt:11 Base address:0xe800

lo Link encap:Local Loopback
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:877 errors:0 dropped:0 overruns:0 frame:0
          TX packets:877 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:75810 (74.0 Kb) TX bytes:75810 (74.0 Kb)

> ifconfig works as it should but ip from the iproute2 package uses netlink
> IIRC and there I can see all addresses of all interfaces.

OOPS! Is the above relavant?

Regards,
Rod

-- 
                      Let Accuracy Triumph Over Victory

Zetetic Institute "David's Sling" Marc Stiegler


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Mon Aug 19 2002 - 12:01:01 EDT