Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2

Author Topic: Raspberry Pi DHCPv6 server  (Read 8420 times)

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
Raspberry Pi DHCPv6 server
« on: January 10, 2016, 12:02:13 AM »

I'm wondering if a mere mortal with no *nix expertise could set up a Raspberry Pi as a DHCPv6 server? Would need high-quality software module for this obviously.

Would any kitizens be up for some hand-holding too?
Logged

loonylion

  • Reg Member
  • ***
  • Posts: 723
Re: Raspberry Pi DHCPv6 server
« Reply #1 on: January 10, 2016, 12:53:47 PM »

raspi is simple enough but ive not touched dhcpv6 since I was at uni. IPv6 scares me  :P

I know I need to start getting into it.
Logged

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
Re: Raspberry Pi DHCPv6 server
« Reply #2 on: January 10, 2016, 01:21:47 PM »

IPv6 scares me too. That's why I was determined to start using it all the time.mand now it represents a substantial fraction of my traffic. Indeed, I could go IPv6-only, by using Andrews and Arnold's protocol conversion services, NAT64 iirc.
Logged

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
Re: Raspberry Pi DHCPv6 server
« Reply #3 on: January 10, 2016, 03:32:11 PM »

Do I need to just look out for any Linux software if the dhcpv6 server module is to run on Raspbian
Logged

loonylion

  • Reg Member
  • ***
  • Posts: 723
Re: Raspberry Pi DHCPv6 server
« Reply #4 on: January 10, 2016, 04:04:21 PM »

when I was at uni the only ipv6 capable dhcp server was radvd, but that may have changed now
Logged

currytop

  • Reg Member
  • ***
  • Posts: 114
Re: Raspberry Pi DHCPv6 server
« Reply #5 on: January 10, 2016, 04:34:39 PM »

I can't see any problem with a R-Pi running as a DHCP-6 server. But in your case why not just set it up on your Firebrick? I assume it currently provides your DNS resolution, maybe as a forwarder?
Logged

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
Re: Raspberry Pi DHCPv6 server
« Reply #6 on: January 10, 2016, 04:49:57 PM »

The firebrick doesn't do dhcpv6 state full allocation. I would like to assign IPv6 addresses by MAC address mappings. The Firebrick can do this beautifully for IPv4, building a MAC to IPv4 mapping table, but not for IPv6. Maybe one day I can talk Rev6 into doing it, however failing that I'm stuck with IPv6 addresses that are random or MAC-derived.
Logged

currytop

  • Reg Member
  • ***
  • Posts: 114
Re: Raspberry Pi DHCPv6 server
« Reply #7 on: January 10, 2016, 06:02:18 PM »

I don't understand why you want to use DHCP to assign addresses from a fixed mapping table. If addresses are fixed then why not set hosts with static addresses?

I know this is a typical Usenet response, not answering the question you ask - sorry!   ;D

I do use mapping for some hosts here but that's because I move them to other sites and still want the convenience of DHCP. Is that what you want to do?
Logged

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
Re: Raspberry Pi DHCPv6 server
« Reply #8 on: January 10, 2016, 06:08:59 PM »

It turns out to be very easy and convenient to assign addresses from a map that is all in one place. Configuring some device like printers can be a real pain, involving walking about, and typing in an IPv6 address into some box that isn't very user-friendly is no fun. It has always worked very well for me in the past, using DHCP with IPv4 to manage everything centrally rather than having to go on tour.
Logged

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
Re: Raspberry Pi DHCPv6 server
« Reply #9 on: January 10, 2016, 06:10:35 PM »

The last point you make is a perfect one, a laptop or phone moves from one LAN to another,N static manual addressing is dangerous to your health.
Logged

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
Re: Raspberry Pi DHCPv6 server
« Reply #10 on: January 10, 2016, 06:11:57 PM »

With DHCP-assigned IPv4 addressing I assign firewall rules and thereby effectively permissions to certain privileged boxes. For example some devices, selected by their IPv4 addresses, are rate-limited, they only get a restricted amount if downstream and upstream, so that they can't hog the network when I'm trying to work. But at the moment they can get out of this restriction by using IPv6. Yes I know I could block IPv6 to/from them, but that is philosophically rubbishy.
« Last Edit: January 10, 2016, 06:17:24 PM by Weaver »
Logged

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
Re: Raspberry Pi DHCPv6 server
« Reply #11 on: January 10, 2016, 06:12:59 PM »

But my question was: does anyone know about solid DHCPv6 server software?
Logged

currytop

  • Reg Member
  • ***
  • Posts: 114
Re: Raspberry Pi DHCPv6 server
« Reply #12 on: January 10, 2016, 06:29:24 PM »

Pretty well all the service level software on Debian seems to be solid - as it is on other distros. So I would have thought the standard Debian (Raspbian) Wide-DHCPv6 package would work OK, but I haven't tried the v6 version personally. I've used the v4 version often and configure it manually through editing config files if that style of use is suitable for you. There are some dedicated router distros around that include DHCP and use a browser interface but typically expect an x86 base. Some require diy to compile an image for ARM/PPC/other hardware.
Logged

currytop

  • Reg Member
  • ***
  • Posts: 114
Re: Raspberry Pi DHCPv6 server
« Reply #13 on: January 10, 2016, 08:59:58 PM »

Just realised the standard linux ISC DHCP server I use does IPv6 as well! You do have to run two instances to provide both IPv4 & IPv6. This software is available in all Linux distributions I've come across so would be your first port of call. It's very solid. If you want it to inform a local instance of BIND (DNS server) of lease allocations it gets a bit more complicated.
Logged

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
Re: Raspberry Pi DHCPv6 server
« Reply #14 on: January 10, 2016, 09:57:15 PM »

How does one configure it?
Logged
Pages: [1] 2