| … | |
… | |
| 276 | #dns_servers_192168000001=( "192.168.0.1" ) |
276 | #dns_servers_192168000001=( "192.168.0.1" ) |
| 277 | #config_010000000001=( "10.0.0.254/8" ) |
277 | #config_010000000001=( "10.0.0.254/8" ) |
| 278 | #routes_010000000001=( "default via 10.0.0.1" ) |
278 | #routes_010000000001=( "default via 10.0.0.1" ) |
| 279 | #dns_servers_010000000001=( "10.0.0.1" ) |
279 | #dns_servers_010000000001=( "10.0.0.1" ) |
| 280 | |
280 | |
|
|
281 | # We can also specify a specific MAC address for each gateway if different |
|
|
282 | # networks have the same gateway. |
|
|
283 | #gateways_eth0="192.168.0.1,00:11:22:AA:BB:CC 10.0.0.1,33:44:55:DD:EE:FF" |
|
|
284 | #config_192168000001_001122AABBCC=( "192.168.0.2/24" ) |
|
|
285 | #routes_192168000001_001122AABBCC=( "default via 192.168.0.1" ) |
|
|
286 | #dns_servers_192168000001_001122AABBCC=( "192.168.0.1" ) |
|
|
287 | #config_010000000001_334455DDEEFF=( "10.0.0.254/8" ) |
|
|
288 | #routes_010000000001_334455DDEEFF=( "default via 10.0.0.1" ) |
|
|
289 | #dns_servers_010000000001_334455DDEEFF=( "10.0.0.1" ) |
|
|
290 | |
| 281 | # If we don't find any gateways (or there are none configured) then we try and |
291 | # If we don't find any gateways (or there are none configured) then we try and |
| 282 | # use APIPA to find a free address in the range 169.254.0.0-169.254.255.255 |
292 | # use APIPA to find a free address in the range 169.254.0.0-169.254.255.255 |
| 283 | # by arping a random address in that range on the interface. If no reply is |
293 | # by arping a random address in that range on the interface. If no reply is |
| 284 | # found then we assign that address to the interface. |
294 | # found then we assign that address to the interface. |
| 285 | |
295 | |
| … | |
… | |
| 287 | #config_eth0=( "arping" ) |
297 | #config_eth0=( "arping" ) |
| 288 | |
298 | |
| 289 | # or if no DHCP server can be found |
299 | # or if no DHCP server can be found |
| 290 | #config_eth0=( "dhcp" ) |
300 | #config_eth0=( "dhcp" ) |
| 291 | #fallback_eth0=( "arping" ) |
301 | #fallback_eth0=( "arping" ) |
|
|
302 | |
|
|
303 | # NOTE: We default to sleeping for 1 second the first time we attempt an |
|
|
304 | # arping to give the interface time to settle on the LAN. This appears to |
|
|
305 | # be a good default for most instances, but if not you can alter it here. |
|
|
306 | #arping_sleep=5 |
|
|
307 | #arping_sleep_lan=7 |
|
|
308 | |
|
|
309 | # NOTE: We default to waiting 3 seconds to get an arping response. You can |
|
|
310 | # change the default wait like so. |
|
|
311 | #arping_wait=3 |
|
|
312 | #arping_wait_lan=2 |
| 292 | |
313 | |
| 293 | #----------------------------------------------------------------------------- |
314 | #----------------------------------------------------------------------------- |
| 294 | # VLAN (802.1q support) |
315 | # VLAN (802.1q support) |
| 295 | # For VLAN support, emerge net-misc/vconfig |
316 | # For VLAN support, emerge net-misc/vconfig |
| 296 | |
317 | |
| … | |
… | |
| 375 | # PPP requires at least a username. You can optionally set a password here too |
396 | # PPP requires at least a username. You can optionally set a password here too |
| 376 | # If you don't, then it will use the password specified in /etc/ppp/*-secrets |
397 | # If you don't, then it will use the password specified in /etc/ppp/*-secrets |
| 377 | # against the specified username |
398 | # against the specified username |
| 378 | #username_ppp0='user' |
399 | #username_ppp0='user' |
| 379 | #password_ppp0='password' |
400 | #password_ppp0='password' |
|
|
401 | # |
|
|
402 | # NOTE: You can set a blank password like so |
|
|
403 | #password_ppp0= |
| 380 | # |
404 | # |
| 381 | # The PPP daemon has many options you can specify - although there are many |
405 | # The PPP daemon has many options you can specify - although there are many |
| 382 | # and may seem daunting, it is recommended that you read the pppd man page |
406 | # and may seem daunting, it is recommended that you read the pppd man page |
| 383 | # before enabling any of them |
407 | # before enabling any of them |
| 384 | #pppd_ppp0=( |
408 | #pppd_ppp0=( |