/[vps]/baselayout-vserver/trunk/net-scripts/conf.d/net.example
Gentoo

Diff of /baselayout-vserver/trunk/net-scripts/conf.d/net.example

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

Revision 235 Revision 236
117# "default via 192.168.0.1" # IPv4 default route 117# "default via 192.168.0.1" # IPv4 default route
118# "10.0.0.0/8 via 192.168.0.1" # IPv4 subnet route 118# "10.0.0.0/8 via 192.168.0.1" # IPv4 subnet route
119# "::/0" # IPv6 unicast 119# "::/0" # IPv6 unicast
120#) 120#)
121 121
122# If you're using iproute2 then you can also do policy routing.
123# This is not available with ifconfig.
124#rules_eth0=(
125# "from 24.80.102.112/32 to 192.168.1.0/24 table localnet priority 100"
126# "from 216.113.223.51/32 to 192.168.1.0/24 table localnet priority 100"
127#)
128
122# If a specified module fails (like dhcp - see below), you can specify a 129# If a specified module fails (like dhcp - see below), you can specify a
123# fallback like so 130# fallback like so
124#fallback_eth0=( "192.168.0.2 netmask 255.255.255.0" ) 131#fallback_eth0=( "192.168.0.2 netmask 255.255.255.0" )
125#fallback_route_eth0=( "default via 192.168.0.1" ) 132#fallback_route_eth0=( "default via 192.168.0.1" )
126 133
394# and may seem daunting, it is recommended that you read the pppd man page 401# and may seem daunting, it is recommended that you read the pppd man page
395# before enabling any of them 402# before enabling any of them
396#pppd_ppp0=( 403#pppd_ppp0=(
397# "updetach" # WARNING: If you don't specify this then we will 404# "updetach" # WARNING: If you don't specify this then we will
398# # not wait for the actual PPP link to go up 405# # not wait for the actual PPP link to go up
406# "maxfail 0" # WARNING: It's not recommended you use change this
407# # if you don't specify maxfail then we assume 0
399# "debug" # Enables syslog debugging 408# "debug" # Enables syslog debugging
400# "noauth" # Do not require the peer to authenticate itself 409# "noauth" # Do not require the peer to authenticate itself
401# "defaultroute" # Make this PPP interface the default route 410# "defaultroute" # Make this PPP interface the default route
402# "usepeerdns" # Use the DNS settings provided by PPP 411# "usepeerdns" # Use the DNS settings provided by PPP
403# 412#
544# Consult "man brctl" for more details 553# Consult "man brctl" for more details
545#brctl_br0=( "setfd 0" "sethello 0" "stp off" ) 554#brctl_br0=( "setfd 0" "sethello 0" "stp off" )
546 555
547#----------------------------------------------------------------------------- 556#-----------------------------------------------------------------------------
548# Tunnelling 557# Tunnelling
558# WARNING: For tunnelling it is highly recommended that you
559# emerge sys-apps/iproute2
560#
549# For GRE tunnels 561# For GRE tunnels
550#iptunnel_vpn0="mode gre remote 207.170.82.1 key 0xffffffff ttl 255" 562#iptunnel_vpn0="mode gre remote 207.170.82.1 key 0xffffffff ttl 255"
551 563
552# For IPIP tunnels 564# For IPIP tunnels
553#iptunnel_vpn0="mode ipip remote 207.170.82.2 ttl 255" 565#iptunnel_vpn0="mode ipip remote 207.170.82.2 ttl 255"
554 566
555# To configure the interface 567# To configure the interface
556#config_vpn0=( "192.168.0.2 pointopoint 192.168.1.2" ) # ifconfig style 568#config_vpn0=( "192.168.0.2 pointopoint 192.168.1.2" ) # ifconfig style
557#config_vpn0=( "192.168.0.2 peer 192.168.1.1" ) # iproute2 style 569#config_vpn0=( "192.168.0.2 peer 192.168.1.1" ) # iproute2 style
570
571# 6to4 Tunnels allow IPv6 to work over IPv4 addresses, provided you
572# have a non-private address configured on an interface.
573# link_6to4="eth0" # Interface to base it's addresses on
574# config_6to4=( "ip6to4" )
575# You may want to depend on eth0 like so
576# depend_6to4() {
577# need net.eth0
578# }
579# To ensure that eth0 is configured before 6to4. Of course, the tunnel could be
580# any name and this also works for any configured interface.
581# NOTE: If you're not using iproute2 then your 6to4 tunnel has to be called
582# sit0 - otherwise use a different name like 6to4 in the example above.
558 583
559#----------------------------------------------------------------------------- 584#-----------------------------------------------------------------------------
560# System 585# System
561# For configuring system specifics such as domain, dns, ntp and nis servers 586# For configuring system specifics such as domain, dns, ntp and nis servers
562# It's rare that you would need todo this, but you can anyway. 587# It's rare that you would need todo this, but you can anyway.

Legend:
Removed from v.235  
changed lines
  Added in v.236

  ViewVC Help
Powered by ViewVC 1.1.20