/[gentoo]/xml/htdocs/doc/en/handbook/hb-net-advanced.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-net-advanced.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.17 Revision 1.18
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-advanced.xml,v 1.17 2011/08/17 08:05:11 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-advanced.xml,v 1.18 2011/08/19 16:07:30 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12Here we learn about how the configuration works - you need to know this 12Here we learn about how the configuration works - you need to know this
13before we learn about modular networking. 13before we learn about modular networking.
14</abstract> 14</abstract>
15 15
16<version>10</version> 16<version>11</version>
17<date>2011-08-17</date> 17<date>2011-08-19</date>
18 18
19<section> 19<section>
20<title>Advanced Configuration</title> 20<title>Advanced Configuration</title>
21<body> 21<body>
22 22
81 81
82<comment># Adding an IPv4 address and two IPv6 addresses</comment> 82<comment># Adding an IPv4 address and two IPv6 addresses</comment>
83config_eth0="192.168.0.2/24 83config_eth0="192.168.0.2/24
844321:0:1:2:3:4:567:89ab 844321:0:1:2:3:4:567:89ab
854321:0:1:2:3:4:567:89ac" 854321:0:1:2:3:4:567:89ac"
86)
87 86
88<comment># Keep our kernel assigned address, unless the interface goes 87<comment># Keep our kernel assigned address, unless the interface goes
89# down so assign another via DHCP. If DHCP fails then add a 88# down so assign another via DHCP. If DHCP fails then add a
90# static address determined by APIPA</comment> 89# static address determined by APIPA</comment>
91config_eth0="noop 90config_eth0="noop
92dhcp" 91dhcp"
93fallback_eth0="null 92fallback_eth0="null
94apipa" 93apipa"
95)
96</pre> 94</pre>
97 95
98<note> 96<note>
99When using the <c>ifconfig</c> module and adding more than one address, 97When using the <c>ifconfig</c> module and adding more than one address,
100interface aliases are created for each extra address. So with the above two 98interface aliases are created for each extra address. So with the above two

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.13