analyzer Bonjour à tous, 1ere question: J'ai un fichier icfg-eth0 dans /etc/sysconfig/networking/devices/, et je lui ai mis la directive METRIC=100 dedans. Je voudrais juste savoir pourquoi elle n'est pas prise en compte ? (service manquant, bug, autre ?) (ca marchait pourtant il n'y a pas si longtemps) > route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.100.254 0.0.0.0 UG 0 0 0 eth0 2eme question: AVANT => Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 192.168.100.254 0.0.0.0 UG 0 0 0 eth0 APRES => ip route replace default via 192.168.100.254 metric 100 dev eth0 Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 192.168.100.254 0.0.0.0 UG 0 0 0 eth0 0.0.0.0 192.168.100.254 0.0.0.0 UG 100 0 0 eth0 Le replace devrait avoir pour but de supprimer l'entrée précédente pour l'interface spécifiée, or ce n'est pas le cas (replace a le meme effet qu'append) TEST=> ip route append default via 192.168.100.254 metric 1000 dev eth0 Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 192.168.100.254 0.0.0.0 UG 0 0 0 eth0 0.0.0.0 192.168.100.254 0.0.0.0 UG 100 0 0 eth0 0.0.0.0 192.168.100.254 0.0.0.0 UG 1000 0 0 eth0 A+
analyzer aka Shiva wrote:L'IP forwarding sur 192.168.0.0 tout simplement devrait marcher en DHCP. ? hmm ?