Network Config File: Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: == ARP == ;Derzeit /etc/ethers 08:00:02:00:34 Foo 08:00:23:43:16 Bar /etc/hosts 192.168.0.10 Foo fe80::192.168.0.10 Foo 192.168.0.11 Bar ;P...)
 
(ARP)
Zeile 1: Zeile 1:
 
== ARP ==
 
== ARP ==
;Derzeit
+
=== Derzeit ===
  
/etc/ethers
+
;/etc/ethers
  
 
  08:00:02:00:34  Foo
 
  08:00:02:00:34  Foo
 
  08:00:23:43:16  Bar
 
  08:00:23:43:16  Bar
 +
use:
 +
''MAC-Address hostname.domain-name  hostname.localdomain hostname''
  
/etc/hosts
+
;/etc/hosts
  
  192.168.0.10        Foo
+
  192.168.0.10        foo
  fe80::192.168.0.10  Foo
+
  fe80::192.168.0.10  foo
  192.168.0.11        Bar
+
  192.168.0.11        bar bar.localdomain bar.mycompany.com
 +
use:
 +
''IPv4-or-IPv6-Address hostname.domain-name  hostname.localdomain hostname''
  
;Proposal
+
=== Proposal ===
 
  <hosts>
 
  <hosts>
 
     <host name="Foo">
 
     <host name="Foo">
Zeile 25: Zeile 29:
 
     </host>
 
     </host>
 
  </hosts>
 
  </hosts>
 +
 +
<interfaces>
 +
    <interface device="eth0">
 +
   
 +
    </interface>
 +
</interfaces>

Version vom 24. März 2008, 14:39 Uhr

ARP

Derzeit

/etc/ethers
08:00:02:00:34  Foo
08:00:23:43:16  Bar

use:

MAC-Address hostname.domain-name  hostname.localdomain hostname
/etc/hosts
192.168.0.10        foo
fe80::192.168.0.10  foo
192.168.0.11        bar bar.localdomain bar.mycompany.com 

use:

IPv4-or-IPv6-Address hostname.domain-name  hostname.localdomain hostname

Proposal

<hosts>
   <host name="Foo">
      <address type="mac">08:00:02:00:34</address>
      <address type="ipv4">192.168.0.10</address>
      <address type="ipv6">fe80::192.168.0.10</address>
   </host>
   <host name="Bar">
      <address type="mac">08:00:02:00:34</address>
      <address type="ipv4">192.168.0.11</address>
   </host>
</hosts>
<interfaces>
   <interface device="eth0">
   
   </interface>
</interfaces>