Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created May 1, 2019 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/a02ce12683eeb744e938e2443c0fa7f0 to your computer and use it in GitHub Desktop.
Save grahamc/a02ce12683eeb744e938e2443c0fa7f0 to your computer and use it in GitHub Desktop.
router$ cat /nix/store/kl4yi7lkd8jqy0x2b7dg5488v1jazvi4-dhcpcd.conf
# Inform the DHCP server of our hostname for DDNS.
hostname
# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes, ntp_servers, interface_mtu
# A ServerID is required by RFC2131.
# Commented out because of many non-compliant DHCP servers in the wild :(
#require dhcp_server_identifier
# A hook script is provided to lookup the hostname if not set by
# the DHCP server, but it should not be run by default.
nohook lookup-hostname
# Ignore peth* devices; on Xen, they're renamed physical
# Ethernet cards used for bridging. Likewise for vif* and tap*
# (Xen) and virbr* and vnet* (libvirt).
denyinterfaces adminwifi enp2s0 hue nougatwifi ofborg roku target ve-* vb-* lo peth* vif* tap* tun* virbr* vnet* vboxnet* sit*
# Use the list of allowed interfaces if specified
xidhwaddr
noipv6rs
debug
interface enp1s0
#ipv6rs
iaid 10
ia_na 1
ia_pd 2/::/56 enp2s0/2 nougatwifi/3
router$ cat /nix/store/vh8g7jbi8zbhynxhdjyr4ia14m33dvjp-radvd.conf
interface enp2s0
{
AdvSendAdvert on;
prefix ::/64
{
AdvOnLink on;
AdvAutonomous on;
};
};
interface nougatwifi
{
AdvSendAdvert on;
prefix ::/64
{
AdvOnLink on;
AdvAutonomous on;
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment