OVH Community, votre nouvel espace communautaire.

Config VLAN


Nuranto
03/12/2010, 19h36
J'avoue, j'ai vu 'Baies', j'ai pas cherché plus loin...

Merci Loup!

Sujet transféré : http://forum.ovh.com/showthread.php?p=404352#post404352

Loup Artic
03/12/2010, 19h18
Je t'invite à poster sur Serveurs Dédiés et pas ici .
Outre que ce n'est pas la bonne section (ce qui n'est pas grave), ce forum est très peu suivi.

Nuranto
03/12/2010, 11h07
Bonjour,

Je viens de commander une baie virtuelle, et j'ai des problème sur la config vlan..

Voici mon /etc/network/interfaces :

Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address XX.XX.XX.XX
        netmask 255.255.255.0
        network XX.XX.XX.XX
        broadcast XX.XX.XX.XX
        gateway XX.XX.XX.XX

auto eth0.XXXX
iface eth0.XXXX inet static
    address 10.0.0.3
    netmask 255.0.0.0
    post-up ip r a 10.0.0.0/8 via 10.255.255.254 dev eth0.XXXX
Et l'erreur :
Code:
nsXXXX:~# /etc/init.d/networking restart
Reconfiguring network interfaces...if-up.d/mountnfs[eth0]: waiting for interface eth0.XXXX before doing NFS mounts (warning).
Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
ERROR: trying to add VLAN #XXXX to IF -:eth0:-  error: File exists
RTNETLINK answers: File exists
Failed to bring up eth0.XXXX.
done.
Code:
nsXXXX:~# ifconfig 
eth0      Link encap:Ethernet  HWaddr XXX  
          inet adr:XXX  Bcast:XXXXX  Masque:255.255.255.0
          adr inet6: XXXX Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2796 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2359 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:278244 (271.7 KiB)  TX bytes:423822 (413.8 KiB)
          M?moire:fabe0000-fac00000 

eth0.XXXX Link encap:Ethernet  HWaddr XXX  
          inet adr:10.0.0.3  Bcast:10.255.255.255  Masque:255.0.0.0
          adr inet6: XXXX Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:5 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:0 (0.0 B)  TX bytes:1000 (1000.0 B)

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:H?te
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:303 errors:0 dropped:0 overruns:0 frame:0
          TX packets:303 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:34560 (33.7 KiB)  TX bytes:34560 (33.7 KiB)
Code:
nsXXXXX:~# ping 10.255.255.254
PING 10.255.255.254 (10.255.255.254) 56(84) bytes of data.
From 10.0.0.3 icmp_seq=2 Destination Host Unreachable
From 10.0.0.3 icmp_seq=3 Destination Host Unreachable
From 10.0.0.3 icmp_seq=4 Destination Host Unreachable
Code:
nsXXXXX:~# route -n
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic Metric Ref    Use Iface
XXIP_PUBLICXX      0.0.0.0         255.255.255.0   U     0      0        0 eth0
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 eth0.XXXX
0.0.0.0         XXX[PASSERELLE RSX PUBLIC]XXX    0.0.0.0         UG    0      0        0 eth0
Je ne vois pas trop quel est le problème ... ? Avez vous une idée ?