worth while IPv6

Go To Last Post
29 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is it worth while writing creating a IPv6 stack for embedded systems?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Most people would tell you it's not worth while writing or creating your own IPv4 stack ...

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm talking about an IPv6 not IPv4

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

I think you missed the sarcasm!

 

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

How in the hell did I, I'm Irish

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Any input would be appreciated guys...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Any relevant input?

I'll attempt wink

IPv6 is already in some frameworks and RTOS.

8b and 16b MCU in deeply embedded systems can implement standard I/O to a 32b MCU or MPU that has IPv6.

 

Microchip Technology Inc

Microchip

MPLAB Harmony

http://www.microchip.com/mplab/mplab-harmony

...

 

TCP/IP Network Stack and WiFi support

...

The BSD layer compatibility has been greatly improved, new dynamic socket options have been added as well as IPv6 support.

...

The Contiki OS

Contiki: The Open Source OS for the Internet of Things

http://www.contiki-os.org/

...

 

Full IP Networking

...

The Contiki IPv6 stack, developed by and contributed to Contiki by Cisco, is fully certified under the IPv6 Ready Logo program.

...

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have friends in the internet business who claim that ipv6 is important and necessary, especially for things like IoT where there are potentially a trillion devices.

Personally, I'm not convinced - the workarounds (NAT, etc) in IPv4 seem to work really well.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Fianawarrior wrote:

How in the hell did I, I'm Irish

 

well that makes it official then... even Irish have off days

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Because of NAT I too doubt the need for IPv6.

 

Think about all your own uses of IP in your house or office? Are you really messing with anything but four part IPV4 addressing? In fact I'd go as far as to say that almost everything you do/configure is probably somewhere under 192.168.x.x

 

Sure you may set up some DNS servers (probably 8.8.8.8 and 8.8.4.4 in fact!) with a more global IP range but even then it's still IPv4 not v6.

 

Maybe the Cisco's of this world and the others that provide the "backbone" of the internet concern themselves with IPv6 - but domestic use? Even more so, "embedded micro" domestic use ? I don't think so.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

westfw wrote:
I have friends in the internet business who claim that ipv6 is important and necessary, especially for things like IoT where there are potentially a trillion devices.

The premise for this argument is that every single "Thing" in the Internet of "Things" needs to have its own, globally-unique, globally-addressable IP address.

 

Personally, I'm not convinced 

Neither am I.

 

I think the basic premise is flawed.

 

I don't see the point in being able to directly address every single lightbulb in my from anywhere in the world.

 

It seems far more sensible that I address my house, and then the things within it are just "sub addresses" of my house - which is what NAT effectively gives us.

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

I don't see the point in being able to directly address every single lightbulb in my from anywhere in the world.

More to the point, I see a need to >>prevent<< direct access to every single light bulb from anywhere in the world.  Do you trust the light bulb manufacturer to get security right?  Or do you do the sensible thing and put it behind a routing/NATting firewall?  Will you have a trillion light bulbs behind that firewall? 

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"Wisdom is always wont to arrive late, and to be a little approximate on first possession."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

joeymorin wrote:
Or do you do the sensible thing and put it behind a routing/NATting firewall?
... or more than that as an IoT edge device.

embedded.com

IoT security: Putting trust in the edge

October 30, 2017

https://www.embedded.com/electronics-blogs/embedded-view/4459023/IoT-security--Putting-trust-in-the-edge

...

... ARM has drawn a line in the sand for IoT security – a line that passes straight through the edge that separates IoT terminal nodes from the cloud.

 

IoT edge devices are emerging as a kind of catch-all device, defined variously as local data aggregators, device controllers, data/state buffers, fog computing appliances, cloud gateways, and more.

...

Designed to provide developers with a concrete roadmap to IoT security, the ARM PSA [Platform Security Architecture] combines a security use-case analysis with hardware/firmware specifications and an open-source reference implementation ...

...

 

FreedomBox combines firewall and some local device access with (planned) mesh networking :

Debian

Debian

FreedomBox

Introduction

https://wiki.debian.org/FreedomBox/Introduction

...

 

Advanced usage: Smart Home Router

...

FreedomBox provides a VPN server ... to securely access various devices at home.

...

In the future, FreedomBox intends to deliver support for alternative ways of connecting to the Internet such as Mesh networking.

 

...

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Feck it!  I think I will implement IPv6.  Only problem is finding tools to test and debug development.

 

Thanks for the input lads.

 

Wm.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is it worth while to replace the Internet?

Yes

 

RT

‘By the people, for the people’: Kim Dotcom to launch alternative internet

Published time: 22 Nov, 2017 10:56 Edited time: 23 Nov, 2017

https://www.rt.com/news/410606-kim-dotcom-meganet-internet/

...

Megaupload founder Kim Dotcom says he will help facilitate an unobstructed internet, free from prying eyes, through MegaNet, which will operate without IP addresses.

...

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

f

Doing magic with a USD 7 Logic Analyser: https://www.avrfreaks.net/comment/2421756#comment-2421756

Bunch of old projects with AVR's: http://www.hoevendesign.com

Last Edited: Mon. Jun 24, 2019 - 08:45 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Zephyr Project

Zephyr Project

What is the Zephyr Project?

https://www.zephyrproject.org/what-is-zephyr/

...

 

Connected

...

Supports standards like 6Lowpan, CoAP, IPv4, IPv6, and NFC

...

Zephyr's Microchip and related boards are Arduino Due, SAM4S Xplained, and SAM E70 Xplained :

http://docs.zephyrproject.org/boards/boards.html

 


Mouser Electronics Česká republika - Elektronické soucástky Distributor

Mouser Electronics

Open Source RTOS Comes to IoT

On September 6, 2016 in Dev Tools, IoT by Lynnette Reese

https://www.mouser.com/blog/open-source-rtos-comes-to-iot

...

Recently, Intel released WindRiver’s “nano-kernel” RTOS, formerly called “Rocket,” to The Linux Foundation (LF) and was renamed “Zephyr.”

...

 

Edit: typo

 

"Dare to be naïve." - Buckminster Fuller

Last Edited: Thu. Nov 30, 2017 - 05:38 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Substratum

Decentralizing the Web

https://substratum.net/

WE ARE THE FOUNDATION OF THE DECENTRALIZED WEB.

Substratum is an open-source network that allows anyone to allocate spare computing resources to make the internet a free and fair place for the entire world.

...

https://substratum.net/why-substratum/

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I think that it is very useful to make systems support ipv6. Not everybody wants to provision ipv4 on every network, it's additional overhead.

 

While you might think there are enough private ipv4 addresses for anybody's intranet, that doesn't always happen in practice. Company mergers are always interesting, when the companies are using exactly the same address space in their internal networks.

 

Someone either has to change, or it all just moves to v6.

 

Also, v6 is more automatic, if you only use link-local scope, or if you have v6 routers, there is no need for (messy, kludgy) dhcp.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Still thinking about doing an embedded IPv6 stack. 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

GitHub - MicrochipTech/zephyr: Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.

did a brief search in it though was unsuccessful in locating what MCU the ones at Microchip are targeting for Zephyr Project.

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


gchapman wrote:
was unsuccessful in locating what MCU the ones at Microchip are targeting for Zephyr Project.

Yes, true zephyrs have not been seen in the wild for some generations, and are generally thought to be extinct.

 

1939

1950ish

1980ish

 

 

 

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

Last Edited: Sun. Apr 28, 2019 - 03:57 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

theusch wrote:
1980ish
I remember that one.

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

When I finish my current projects I'll be starting a IPv6 embedded stack.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

While i'm impressed with your ambitions yes

 

I'd say , given your current line of questions here.

A fully working ipv6 stack might be aiming a bit high At the moment.

 

But best of luck

 

/Bingo

 

Ps:

Have a look here

http://contiki.sourceforge.net/d...

 

Or if you have the ram (Arm)

https://savannah.nongnu.org/proj...

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've already done a IPv4 stack, full implementation DHCP/DNS/ARP/ICMP/UDP/TCP/IP fragmentation.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

not an IP replacement, an HTTP replacement

https://ipfs.io/#why

[peer-to-peer]

[archival]

[resilient]

[persistence]

 

IPFS aims to replace HTTP and build a better web for all of us.

 

...

via IPFS is the Distributed Web

 

"Dare to be naïve." - Buckminster Fuller