Hello,
I have an OpenBSD desktop and I am trying to get IPV6 configured. I am
in a corporate environment addresses will be given via dhcp.
I am using netstart, pf, and dhcpcd. Can't seem to get it working. I've
kind of been hacking away for the last hour trying to get something.
To no avail.
-Nate
hostname.iwm0 (if)
inet6 autoconf
inet autoconf
pf.conf
#IPV6
pass out quick inet6
pass out on egress inet6
pass on any inet6 proto icmp6 all
pass inet6 proto ipv6-icmp all
# Define essential ICMPv6 types for IPv6 to function
icmp6_types = "{ echoreq unreach toobig routersol routeradv neighbrsol
neighbradv }"
icmp6_types_ndp="{ 128, 133, 134, 135, 136, 137 }"
# Allow ICMPv6 for Neighbor Discovery, Path MTU, and Pings
pass in on iwm0 inet6 proto icmp6 icmp6-type $icmp6_types
pass out on iwm0 inet6 proto icmp6 icmp6-type $icmp6_types
pass in quick on iwm0 inet6 proto ipv6-icmp icmp6-type $icmp6_types keep
state
pass in quick on iwm0 inet6 proto ipv6-icmp from any to { (iwm0), :: }
icmp6-type $icmp6_types_ndp keep state
pass in quick inet6 proto icmp6 icmp6-type { neighbradv, neighbrsol,
routersol, routeradv }
pass in quick inet6 proto icmp6 icmp6-type { unreach, paramprob, toobig
}
pass out quick inet6 proto icmp6 icmp6-type { neighbradv, neighbrsol,
routersol, routeradv }
pass out quick inet6 proto icmp6 icmp6-type { unreach, paramprob, toobig
}
dhcpcd.conf
nkoch@space:~$cat /etc/dhcpcd.conf
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.
# Allow users of this group to interact with dhcpcd via the control
socket.
#controlgroup wheel
# Inform the DHCP server of our hostname for DDNS.
hostname
# Use the hardware address of the interface for the Client ID.
#clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per
RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
duid
# Persist interface configuration when dhcpcd exits.
persistent
# vendorclassid is set to blank to avoid sending the default of
# dhcpcd-<version>:<os>:<machine>:<platform>
vendorclassid
# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search
option static_routes, classless_static_routes
# Respect the network MTU. This is applied to DHCP routes.
option interface_mtu
# Request a hostname from the network
option host_name
# Most distributions have NTP support.
#option ntp_servers
# A ServerID is required by RFC2131.
require dhcp_server_identifier
# Generate SLAAC address using the Hardware Address of the interface
#slaac hwaddr
# OR generate Stable Private IPv6 Addresses based from the DUID
slaac private
ipv4ll
#noipv6rs
#waitip 6
ipv6only
allowinterfaces iwm0
interface iwm0
ia_na 1
--
--------------------
Sent from Webmail at SaskInbox.ca
Stay Canadian.