OpenWRT IPv6: Konfigurasi

From OnnoWiki
Revision as of 04:59, 4 June 2013 by Onnowpurbo (talk | contribs) (New page: Edit vi /etc/config/6relayd Isi config server 'default' list network 'lan' option rd 'server' option dhcpv6 'server' option fallback_relay 'rd dhcpv6 ndp' option managemen...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Edit

vi /etc/config/6relayd

Isi

config server 'default' 
	list network 'lan' 
	option rd 'server'
	option dhcpv6 'server'
	option fallback_relay 'rd dhcpv6 ndp'
	option management_level '1'
	option compat_ula '1'
	option master 'henet'
	option always_rewrite_dns '1'
	option always_assume_default '1'


Edit

vi /etc/config/dhcp

Isi

config dnsmasq
	option domainneeded '1'
	option boguspriv '1'
	option filterwin2k '0'
	option localise_queries '1'
	option rebind_protection '1'
	option rebind_localhost '1'
	option local '/lan/'
	option domain 'lan'
	option expandhosts '1'
	option nonegcache '0'
	option authoritative '1'
	option readethers '1'
	option leasefile '/tmp/dhcp.leases'
	option resolvfile '/tmp/resolv.conf.auto'

config dhcp 'lan'
	option interface 'lan'
	option start '100'
	option limit '150'
	option leasetime '12h'
	option force '1'

config dhcp 'wan'
	option interface 'wan'
	option ignore '1'


Edit

vi /etc/config/radvd

Isi

config interface
	option interface 'lan'
	option AdvSendAdvert '1'
	list client 
	option ignore '0'
	option IgnoreIfMissing '1'
	option AdvSourceLLAddress '1'
	option AdvDefaultPreference 'medium'

config prefix
	option interface 'lan'
	option AdvOnLink '1'
	option AdvAutonomous '1'
	list prefix '2001:470:36:ab6::/64'
	option ignore '0'

config route
	option interface 'lan'
	list prefix '2001:470:36:ab6::/64'
	option ignore '0'

config rdnss
	option interface 'lan'
	list addr '2001:470:36:ab6::1/64'
	option ignore '0'

config dnssl
	option interface 'lan' 

list suffix

	option ignore '1'