[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IP-alias



Claude GIRARD wrote:
> 
> >>>>>>>>>>>>>>>>>> Message d'origine <<<<<<<<<<<<<<<<<<
> 
> Le 17/11/2000, à 16:46:33 h, Nicolas Kowalski <Nicolas.Kowalski@imag.fr>
> vous a écrit sur le sujet suivant IP-alias:
> 
> > Je fais donc :  ifconfig eth0   192.168.2.10 ...
> > puis:         ifconfig eth0:0 192.168.2.20 ...
> > Jusque-la tout va bien...
> Eth0 et eth0:0 c'est la même chose.
> Il fallait prendre eth0:1

je pense pas,
enfin du moins pas sur ma 2.2.14 : e.g. :

www ~ [3]~ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:50:DA:4E:B0:E8  
          inet addr:212.37.211.88  Bcast:192.0.4.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13755630 errors:0 dropped:0 overruns:1 frame:0
          TX packets:1456392 errors:0 dropped:0 overruns:0 carrier:1
          collisions:3677 txqueuelen:100 
          Interrupt:10 Base address:0xe400 

eth0:0    Link encap:Ethernet  HWaddr 00:50:DA:4E:B0:E8  
          inet addr:212.37.211.143  Bcast:212.37.211.255 
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:10 Base address:0xe400 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:698 errors:0 dropped:0 overruns:0 frame:0
          TX packets:698 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 


par contre as-tu verifie que ton interface fraichement cree marchait
bien
(je veux dire eth0:0 ) ? est-ce que ca apparait bien qaund tu fais
ifconfig -a
si c'est pas la cas, c'est peu etre que l'aliasing n'est pas active dans
ton kernel... et dans ce cas peu etre que le down affecte eth0 tout
court

essai :
cat /boot/config-* | grep ALIAS
CONFIG_IP_ALIAS=y

si tu as une reponse negative, c'est ton probleme, il ne te reste plus 
qu'a recompiler ton noyau ;-)

jerome



Reply to: