From: Luís Miguel Silva (lms_at_ispgaya.pt)
Date: Mon 20 Jan 2003 - 14:32:38 GMT
Hello :o)
Look at this:
lms_at_users:~$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:06:4F:01:9D:0C
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4133373 errors:16007 dropped:1 overruns:0 frame:0
TX packets:4573076 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1798895140 (1.6 GiB) TX bytes:3481433939 (3.2 GiB)
Interrupt:17 Base address:0xc800
lo Link encap:Local Loopback
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:38753 errors:0 dropped:0 overruns:0 frame:0
TX packets:38753 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8617121 (8.2 MiB) TX bytes:8617121 (8.2 MiB)
lo:user Link encap:Local Loopback
inet addr:192.168.1.22 Mask:255.255.255.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
lms_at_users:~$
eth0 *allways* appears on the vserver but you dont know its IP or any info
regarding it! Its just like if you had a ethernet interface and put'it up
without configuring it.
As you can see on my server you also see the "lo" and the "lo:user" (which
is the vserver iam running).
I choosed to bind on the loopback interface since that server is a
dedicated one, connected directly to the internet via one eth0 interface.
Since i thought *somebody could sniff the data beetween vservers* i
choosed to bind them into the lo interface! That way they can still
communicate with each other and be "secure" ;o) [would somebody correct me
on this if im wrong?]
Hugs,
+-----------------------------------------
| Luís Miguel Silva
| Network Administrator@ ISPGaya.pt
| Rua António Rodrigues da Rocha, 291/341
| Sto. Ovídio • 4400-025 V. N. de Gaia
| Portugal
| T: +351 22 3745730/3/5 F: +351 22 3745738
| G: +351 93 6371253 E: lms_at_ispgaya.pt
| H: http://lms.ispgaya.pt/
+-----------------------------------------
> Hello list,
>
> just subscribed I have a first question, which I can't solve reading the
> docu. Hopefully it is not a FAQ, because I found it not in there.
>
> I installed a mini-Debian vserver on a Debian Woody host. In the vserver
>
> I see all the physical interfaces - namely eth0 and eth1 - the real
> server has. But he IP alias of the vserver is bound to eth1, so I would
> like to hide the eth0 interface to the users on the vserver.
>
> Is this possible in general or do I have to administer the whole server
> over one single eth interface?
>
> Best regards
> Oliver