1*7d0d7c31Sderaadt# $OpenBSD: mrouted.conf,v 1.1 2014/07/11 21:20:10 deraadt Exp $ 2*7d0d7c31Sderaadt# 3*7d0d7c31Sderaadt# This is the configuration file for "mrouted", an IP multicast router. 4*7d0d7c31Sderaadt# mrouted looks for it in "/etc/mrouted.conf". 5*7d0d7c31Sderaadt# 6*7d0d7c31Sderaadt# Command formats: 7*7d0d7c31Sderaadt# 8*7d0d7c31Sderaadt# name <boundname> <scoped-addr>/<mask-len> 9*7d0d7c31Sderaadt# cache_lifetime 3600 # seconds 10*7d0d7c31Sderaadt# pruning on 11*7d0d7c31Sderaadt# 12*7d0d7c31Sderaadt# phyint <local-addr> [disable] [metric <m>] [threshold <t>] [rate_limit <b>] 13*7d0d7c31Sderaadt# [boundary (<boundname>|<scoped-addr>/<mask-len>)] 14*7d0d7c31Sderaadt# [altnet (<subnet>/<mask-len>|<subnet>)] 15*7d0d7c31Sderaadt# tunnel <local-addr> <remote-addr> [srcrt] [metric <m>] 16*7d0d7c31Sderaadt# [threshold <t>] [rate_limit <b>] 17*7d0d7c31Sderaadt# [boundary (<boundname>|<scoped-addr>/<mask-len>)] 18*7d0d7c31Sderaadt# 19*7d0d7c31Sderaadt# NOTE: any phyint commands MUST precede any tunnel commands 20*7d0d7c31Sderaadt# NOTE: the mask-len is the no. of leading 1's in the mask 21*7d0d7c31Sderaadt# NOTE: rate_limit is in kilobits, and defaults to 500 for tunnels 22*7d0d7c31Sderaadt# 23*7d0d7c31Sderaadt# Example of named boundary: 24*7d0d7c31Sderaadt#name LOCAL 239.255.0.0/16 25*7d0d7c31Sderaadt#name EE 239.254.0.0/16 # i.e. the EE dept wants local groups 26*7d0d7c31Sderaadt# 27*7d0d7c31Sderaadt# Example of use of named boundary 28*7d0d7c31Sderaadt#phyint le1 boundary EE # le1 is our interface to comp sci, 29*7d0d7c31Sderaadt# # keep them away from our local groups 30*7d0d7c31Sderaadt# 31*7d0d7c31Sderaadt# 32*7d0d7c31Sderaadt# Template tunnel for mcast_install 33*7d0d7c31Sderaadt#tunnel 128.4.0.77 128.4.0.8 metric 1 threshold 64 rate_limit 500 # <-- REPLACE 34*7d0d7c31Sderaadt# boundary LOCAL 35*7d0d7c31Sderaadt# 36*7d0d7c31Sderaadt# You might want to specify a boundary on your tunnel to the outside world, 37*7d0d7c31Sderaadt# as above. 38*7d0d7c31Sderaadt# 39*7d0d7c31Sderaadt# NOTE: ONLY uncomment the following if you are running mrouted.snmp! 40*7d0d7c31Sderaadt#sysName "mymrouter" 41*7d0d7c31Sderaadt#sysContact "Me <me@me.com> +x.yyy.zzz-zzzz" 42*7d0d7c31Sderaadt#sysVersion "MyOS 4.1.3 and mrouted" 43*7d0d7c31Sderaadt#sysLocation "The MBONE" 44