{"id":999,"date":"2009-03-06T16:59:49","date_gmt":"2009-03-06T15:59:49","guid":{"rendered":"http:\/\/blog.it4sport.de\/?p=999"},"modified":"2009-03-06T16:59:49","modified_gmt":"2009-03-06T15:59:49","slug":"centos-netzwerk-konfiguration","status":"publish","type":"post","link":"https:\/\/gmbd.de\/wordpress\/index.php\/2009\/03\/06\/centos-netzwerk-konfiguration\/","title":{"rendered":"CentOS Netzwerk Konfiguration"},"content":{"rendered":"<p>\t\t\t\tWill man 2 Netzwerkkarten zu einem Bond vereinen, darauf VLans packen und dass dann einer virtuellen Maschine (z.B. KVM) per Bridgen zur Verf\u00fcgung stellen muss man einiges am Netzwerk konfigurieren. Obwohl es bei CentOS \/ RHEL ist so einfach ist schreibe ich mir hier doch mal die Parameter als Beispiel auf, damit ich neue Server per Drag &#038; Paste konfigurieren kann :). Alle Files befinden sich unter \/etc\/sysconfig\/network-scripts.<br \/>\n<em>ifcfg-eth0<\/em><\/p>\n<pre lang=\"ini\">\nDEVICE=eth0\nBOOTPROTO=none\nHWADDR=00:30:48:...\nUSERCTL=no\nMASTER=bond0\nSLAVE=yes\n<\/pre>\n<p><em>ifcfg-eth1<\/em><\/p>\n<pre lang=\"ini\">\nDEVICE=eth1\nBOOTPROTO=none\nHWADDR=00:30:48:...\nUSERCTL=no\nMASTER=bond0\nSLAVE=yes\n<\/pre>\n<p><em>ifcfg-bond0<\/em><\/p>\n<pre lang=\"ini\">\nDEVICE=bond0\nBOOTPROTO=none\nONBOOT=yes\nTYPE=Ethernet\n<\/pre>\n<p><em>ifcfg-bond0.1<\/em><\/p>\n<pre lang=\"ini\">\nDEVICE=bond0.1\nONBOOT=yes\nTYPE=Ethernet\nBOOTPROTO=none\nVLAN=yes\nBRIDGE=br0\n<\/pre>\n<p><em>ifcfg-br0<\/em><\/p>\n<pre lang=\"ini\">\nDEVICE=br0\nONBOOT=yes\nTYPE=Bridge\nBOOTPROTO=static\nNETMASK=255.255.255.0\nNETWORK=172.16.1.0\nIPADDR=172.16.1.2\n<\/pre>\n<p>F\u00fcrs Bonding ist noch die Erg\u00e4nzung in <em>\/etc\/modprobe.conf<\/em> notwendig<\/p>\n<pre lang=\"ini\">\nalias bond0 bonding\noptions bond0 miimon=100 mode=active-backup primary=eth0\n<\/pre>\n<p>CentOS \/ RHEL macht es einen wirklich leicht. Wenn ich da an Debian denke und da nur ans Bonding und den ganzen ifenslave-Krampf&#8230; Ich mutiere langsam aber sicher zum Red Hat Fan.  \t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Will man 2 Netzwerkkarten zu einem Bond vereinen, darauf VLans packen und dass dann einer virtuellen Maschine (z.B. KVM) per Bridgen zur Verf\u00fcgung stellen muss man einiges am Netzwerk konfigurieren. Obwohl es bei CentOS \/ RHEL ist so einfach ist schreibe ich mir hier doch mal die Parameter als Beispiel auf, damit ich neue Server\u2026 <span class=\"read-more\"><a href=\"https:\/\/gmbd.de\/wordpress\/index.php\/2009\/03\/06\/centos-netzwerk-konfiguration\/\">Weiterlesen &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[60],"tags":[91,95,102,381],"_links":{"self":[{"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/999"}],"collection":[{"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=999"}],"version-history":[{"count":0,"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/999\/revisions"}],"wp:attachment":[{"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=999"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gmbd.de\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}