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

From: jmp <jean-marc.pouchoulon_at_ac-montpellier.fr>
Date: Tue 02 May 2006 - 22:30:22 BST
Message-ID: <4457CF6E.8050209@ac-montpellier.fr>

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
Received on Tue May 2 22:31:30 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 02 May 2006 - 22:31:35 BST by hypermail 2.1.8