Project

General

Profile

Anomalie #7201

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

Added by Gilles Grandgérard over 10 years ago. Updated over 10 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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
# 

History

#1 Updated by Gilles Grandgérard over 10 years ago

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

#2 Updated by Klaas TJEBBES over 10 years ago

  • Status changed from Nouveau to 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 Updated by Gilles Grandgérard over 10 years ago

ok non reproduit.

Also available in: Atom PDF