[FUG-BR] Rotas

Alex Moura alexsm em gmail.com
Sexta Outubro 27 14:57:29 BRST 2006


On 10/27/06, Bruno Henrique de Oliveira <bruno em eacsoftware.com.br> wrote:
> Em Sex, 2006-10-27 às 13:53 -0200, m3 BSD escreveu:
> > Bruno, pd ter certeza :) essas sao as que vc vai precisar hehehhe :)
> > nao estao ae ah toa :)
>
> Algumas realmente vou precisar, porém, existe regras de IPv6 que não vou
> precisar. E gostaria de saber também, caso seja necessário alterar
> alguma dessas regras.
>
> Que saber mesmo, não gosto quando o sistema faz coisas que não sei
> porque. Eu poderia até ficar com essas regras mais queria saber quem
> está mandando elas para minha tabela de rota x) Curiosidade mata ;)

Desabilite o IPv6 no /etc/rc.conf setando as opções abaixo.

$ grep -i ipv6 /etc/defaults/rc.conf

### IPv6 options: ###
ipv6_enable="NO"                # Set to YES to set up for IPv6.
ipv6_network_interfaces="auto"  # List of network interfaces (or "auto").
ipv6_defaultrouter="NO"         # Set to IPv6 default gateway (or NO).
#ipv6_defaultrouter="2002:c058:6301::"  # Use this for 6to4 (RFC 3068)
ipv6_static_routes=""           # Set to static route list (or leave empty).
#ipv6_static_routes="xxx"       # An example to set fec0:0000:0000:0006::/64
#ipv6_route_xxx="fec0:0000:0000:0006:: -prefixlen 64 ::1"
ipv6_gateway_enable="NO"        # Set to YES if this host will be a gateway.
ipv6_router_enable="NO"         # Set to YES to enable an IPv6 routing daemon.
ipv6_router="/usr/sbin/route6d" # Name of IPv6 routing daemon.
ipv6_router_flags=""            # Flags to IPv6 routing daemon.
#ipv6_router_flags="-l"         # Example for route6d with only IPv6 site local
#ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
#ipv6_network_interfaces="ed0 ep0"      # Examples for router
#ipv6_prefix_ed0="fec0:0000:0000:0001 fec0:0000:0000:0002"  # Examples for rtr.
#ipv6_prefix_ep0="fec0:0000:0000:0003 fec0:0000:0000:0004"  # Examples for rtr.
#ipv6_ifconfig_ed0="fec0:0:0:5::1 prefixlen 64" # Sample manual assign entry
#ipv6_ifconfig_ed0_alias0="fec0:0:0:5::2 prefixlen 64" # Sample alias entry.
ipv6_default_interface="NO"     # Default output interface for scoped addrs.
                                # Now this works only for IPv6 link local
rtsol_flags=""                  # Flags to IPv6 router solicitation.
rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
                                # IPv6 default router for local subnets.
mroute6d_enable="NO"            # Do IPv6 multicast routing.
mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
stf_interface_ipv4addr=""       # Local IPv4 addr for 6to4 IPv6 over IPv4
stf_interface_ipv6_ifid="0:0:0:1"       # IPv6 interface id for stf0.
stf_interface_ipv6_slaid="0000" # IPv6 Site Level Aggregator for stf0
ipv6_faith_prefix="NO"          # Set faith prefix to enable a FAITH
                                # IPv6-to-IPv4 TCP translator.  You also need
ipv6_ipv4mapping="NO"           # Set to "YES" to enable IPv4 mapped IPv6 addr
ipv6_firewall_enable="NO"       # Set to YES to enable IPv6 firewall
ipv6_firewall_script="/etc/rc.firewall6" # Which script to run to set
up the IPv6 firewall
ipv6_firewall_type="UNKNOWN"    # IPv6 Firewall type (see /etc/rc.firewall6)
ipv6_firewall_quiet="NO"        # Set to YES to suppress rule display
ipv6_firewall_logging="NO"      # Set to YES to enable events logging
ipv6_firewall_flags=""          # Flags passed to ip6fw when type is a file
ipv6_ipfilter_rules="/etc/ipf6.rules"   # rules definition file for ipfilter,


Mais detalhes sobre a lista de discussão freebsd