Re: [Vserver] how to made dummy interface for fedora core 4

From: jepa kazol <jepakazol_at_gmail.com>
Date: Wed 03 May 2006 - 15:37:46 BST
Message-ID: <269995860605030737n229093e7nf15f8585dfccac81@mail.gmail.com>

you should have created an interface in
/etc/vservers/vservername/interfaces/1 . not/etc/vservers/vservername/1.

On 5/3/06, jmp <jean-marc.pouchoulon@ac-montpellier.fr> wrote:
>
> Rebonsoir,
>
> My purpose is to have 127.1.0.1 as localhost address on my vserver
> (I followed the idea of http://levinux.org/?q=node/151)
>
>
> I v'made in /etc/vserver/vservername/1
>
> ip 127.1.0.1
> dev dummy0
> netmask 24
> name vservernamedum0
>
> and
> /etc/modprobe.conf
> *options dummy numdummies=5*
>
>
> I try to reduce lo netmask to 255.255.255 in
> /etc/sysconfig/network-scripts/ifcfg-lo
> but after a reboot I have always:
>
> lo Link encap:Boucle locale
> inet adr:127.0.0.1 Masque:255.0.0.0
>
> fedora seems to ignore my change.
>
> I must restart the vserver to see dummy0 in my interface
>
> ifconfig -a
> dummy0 Link encap:Ethernet HWaddr F3:63:4C:04:7E:75
> UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 lg file transmission:0
> RX bytes:0 (0.0 b) TX bytes:210 (210.0 b)
>
> dummy0:vservername du Link encap:Ethernet HWaddr F3:63:4C:04:7E:75
> inet adr:127.1.0.1 Bcast:127.1.0.255 Masque:255.255.255.0
> UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
>
> and I can ping all 127 network except 127.0.0.1
>
> What is the recipe to make this correctly ?
>
>
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed May 3 15:40:01 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 03 May 2006 - 15:40:07 BST by hypermail 2.1.8