<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.slemoal.fr/index.php?action=history&amp;feed=atom&amp;title=Centos-network</id>
	<title>Centos-network - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.slemoal.fr/index.php?action=history&amp;feed=atom&amp;title=Centos-network"/>
	<link rel="alternate" type="text/html" href="https://wiki.slemoal.fr/index.php?title=Centos-network&amp;action=history"/>
	<updated>2026-05-15T20:38:31Z</updated>
	<subtitle>Historique des révisions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.slemoal.fr/index.php?title=Centos-network&amp;diff=847&amp;oldid=prev</id>
		<title>Admin : /* CentOS: Configuration IP statique */</title>
		<link rel="alternate" type="text/html" href="https://wiki.slemoal.fr/index.php?title=Centos-network&amp;diff=847&amp;oldid=prev"/>
		<updated>2020-05-14T11:19:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;CentOS: Configuration IP statique&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Version du 14 mai 2020 à 11:19&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Ligne 1 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 1 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== CentOS: Configuration IP &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;statique &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== CentOS: Configuration IP ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sous CentOS, la configuration de l'interface réseau avec une adresse IP statique diffère de celle sous Debian ou Ubuntu.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sous CentOS, la configuration de l'interface réseau avec une adresse IP statique diffère de celle sous Debian ou Ubuntu.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.slemoal.fr/index.php?title=Centos-network&amp;diff=846&amp;oldid=prev</id>
		<title>Admin : Page créée avec « == CentOS: Configuration IP statique ==  Sous CentOS, la configuration de l'interface réseau avec une adresse IP statique diffère de celle sous Debian ou Ubuntu.  Pour i… »</title>
		<link rel="alternate" type="text/html" href="https://wiki.slemoal.fr/index.php?title=Centos-network&amp;diff=846&amp;oldid=prev"/>
		<updated>2020-05-14T11:19:39Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « == CentOS: Configuration IP statique ==  Sous CentOS, la configuration de l&amp;#039;interface réseau avec une adresse IP statique diffère de celle sous Debian ou Ubuntu.  Pour i… »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== CentOS: Configuration IP statique ==&lt;br /&gt;
&lt;br /&gt;
Sous CentOS, la configuration de l'interface réseau avec une adresse IP statique diffère de celle sous Debian ou Ubuntu.&lt;br /&gt;
&lt;br /&gt;
Pour identifier les cartes réseaux présentes sur la machine, exécuter la commande suivante:&lt;br /&gt;
 nmcli d&lt;br /&gt;
&lt;br /&gt;
=== Configuration assisté ===&lt;br /&gt;
Pour une configuration avec un assistant, exécuter la commande suivante et suivre les indications à l'écran:&lt;br /&gt;
 nmtui&lt;br /&gt;
&lt;br /&gt;
Une fois la configuration réseau terminée, assistée ou manuelle, redémarrer le service réseau:&lt;br /&gt;
 systemctl restart network&lt;br /&gt;
&lt;br /&gt;
=== Configuration manuelle ===&lt;br /&gt;
&lt;br /&gt;
Sous CentOS, il faut créer un fichier ifcfg-eth0, correspondant bien sûr au nom de l'interface réseau à configurer. &lt;br /&gt;
Dans ce cas, il s'agit de l'interface eth0.&lt;br /&gt;
&lt;br /&gt;
Ce fichier est à créer dans le dossier /etc/sysconfig/network-scripts&lt;br /&gt;
&lt;br /&gt;
Il doit contenir les informations suivantes:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# cat /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;
DEVICE=&amp;quot;eth0&amp;quot;&lt;br /&gt;
HWADDR=&amp;quot;A6:B5:6C:4F:E5:C0&amp;quot;&lt;br /&gt;
NM_CONTROLLED=&amp;quot;no&amp;quot;&lt;br /&gt;
ONBOOT=&amp;quot;yes&amp;quot;&lt;br /&gt;
BOOTPROTO=static&lt;br /&gt;
# BOOTPROTO=dhcp&lt;br /&gt;
IPADDR=172.16.1.115&lt;br /&gt;
NETMASK=255.255.255.0&lt;br /&gt;
#&lt;br /&gt;
#   the GATEWAY is sometimes in: /etc/sysconfig/network&lt;br /&gt;
GATEWAY=172.16.1.1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Les paramètres à renseigner sont assez explicites.&lt;br /&gt;
&lt;br /&gt;
Il faut également modifier le fichier /etc/sysconfig/network&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# cat /etc/sysconfig/network&lt;br /&gt;
NETWORKING=&amp;quot;yes&amp;quot;&lt;br /&gt;
DNS1=8.8.8.8&lt;br /&gt;
DNS2=8.8.4.4&lt;br /&gt;
SEARCH=mondomaine.fr&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Là également, les paramètres à renseigner sont assez explicites.&lt;br /&gt;
&lt;br /&gt;
Reste à exécuter la commande suivante afin d'initialiser les différents scripts.&lt;br /&gt;
 rpm -qd initscripts&lt;br /&gt;
&lt;br /&gt;
Et voilà, c'est terminé. Redémarrer le serveur afin de prendre en compte les modifications.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>