Network Config File: Unterschied zwischen den Versionen
aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springenMovGP0 (Diskussion | Beiträge) |
MovGP0 (Diskussion | Beiträge) |
||
Zeile 32: | Zeile 32: | ||
<shedule> | <shedule> | ||
<time-range start="ISO-Date" end="ISO-Date"> | <time-range start="ISO-Date" end="ISO-Date"> | ||
− | <periodic type="weekend" start="ISO-Time" end="ISO-Time"> | + | <periodic type="weekend" start="ISO-Time" end="ISO-Time" /> |
<rules>...</rules> | <rules>...</rules> | ||
</time-range> | </time-range> | ||
Zeile 39: | Zeile 39: | ||
<access-lists> | <access-lists> | ||
<access-list id="Name"> | <access-list id="Name"> | ||
− | <permit source="192.168.1.36" > | + | <permit source="192.168.1.36" /> |
− | <permit source="192.168.0.45" wildcard="/24" > | + | <permit source="192.168.0.45" wildcard="/24" /> |
− | <permit source="192.168.2.25" wildcard="255.255.255.0" > | + | <permit source="192.168.2.25" wildcard="255.255.255.0" /> |
<deny /> | <deny /> | ||
</access-list> | </access-list> | ||
<access-lists> | <access-lists> |
Version vom 24. März 2008, 12:52 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>
<shedule> <time-range start="ISO-Date" end="ISO-Date"> <periodic type="weekend" start="ISO-Time" end="ISO-Time" /> <rules>...</rules> </time-range> </shedule>
<access-lists> <access-list id="Name"> <permit source="192.168.1.36" /> <permit source="192.168.0.45" wildcard="/24" /> <permit source="192.168.2.25" wildcard="255.255.255.0" /> <deny /> </access-list> <access-lists>