Projet

Général

Profil

Anomalie #7201

adresse IP obtenue par dhclient persiste après l'instance

Ajouté par Gilles Grandgérard il y a plus de 10 ans. Mis à jour il y a environ 10 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Début:
Echéance:
% réalisé:

0%

Temps estimé:
4.00 h
Distribution:
EOLE 2.4

Description

Context:
sphynx24b4.fi
initialisation ip par dhclient eth0 > 192.168.0.108
gen config par le web
import de la configuration du sphynx24a (HA master)
modification des ip, des noms
sauvegarde
instance > eth0 = 192.168.0.12
...

Anomalie:
Suite à la configuration 'gen_config' sur le sphynx24b slave en HA
Suite à l'instance, la commande 'ip addr' nous donne deux ip sur eth0. L'ip 192.168.0.108 persiste !
Ce n'est pas normal.

# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 02:00:c0:a8:00:0b brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.108/24 brd 192.168.0.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet 192.168.0.12/24 brd 192.168.0.255 scope global secondary eth0
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 02:00:ac:1e:65:04 brd ff:ff:ff:ff:ff:ff
    inet 172.30.101.12/24 brd 172.30.101.255 scope global eth1
       valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 02:00:0a:00:fe:03 brd ff:ff:ff:ff:ff:ff
    inet 10.0.254.12/24 brd 10.0.254.255 scope global eth2
       valid_lft forever preferred_lft forever
# 

Historique

#1 Mis à jour par Gilles Grandgérard il y a plus de 10 ans

Il semble que cela soit corrigé après la 2.4Beta3 !!

#2 Mis à jour par Klaas TJEBBES il y a environ 10 ans

  • Statut changé de Nouveau à Fermé

N'est plus reproduit sur 2.4RC2

Testé :
  • install + Maj-Auto -C (le serveur a 192.168.230.152)
  • gen_config + instance (le serveur passe à 192.168.230.79)
root@sphynxk:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 02:00:0a:00:2a:02 brd ff:ff:ff:ff:ff:ff
    inet 192.168.230.79/24 brd 192.168.230.255 scope global eth0
       valid_lft forever preferred_lft forever

#3 Mis à jour par Gilles Grandgérard il y a environ 10 ans

ok non reproduit.

Formats disponibles : Atom PDF