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

Reply via email to