Skip to content
Search…
Search
Quick links
Unanswered topics
Active topics
Search
FAQ
Active topics
Active topics
Forum
Quick links
Unanswered topics
Active topics
Search
FAQ
Active topics
Active topics
Forum
Search…
Search
Register
Login
Remember me
MikroTik
Community discussions
Announcements
RouterOS
Beginner Basics
General
Forwarding Protocols
Wireless Networking
Scripting
Virtualization
Useful user articles
RouterOS beta
Other topics
The Dude
RouterBOARD hardware
The User Manager
SwOS
Training
Containers
Home
Forum index
RouterOS
General
How to get the result of a DHCPv6 client request for an option ?
Post Reply
Print view
FIPTech
Long time Member
Topic Author
Posts:
558
Joined:
Tue Dec 22, 2009 1:53 am
How to get the result of a DHCPv6 client request for an option ?
Quote
#1
Sun Mar 10, 2024 12:36 am
I would need to get the result of a DHCPv6 client request for option 94 (MAP-E container).
Is there a way to get that in a script ?
I'm able to successfully request this option through Option 6, and i get a correct answer from the server.
Top
rplant
Member
Posts:
313
Joined:
Fri Sep 29, 2017 11:42 am
Re: How to get the result of a DHCPv6 client request for an option ?
Quote
#2
Sun Mar 10, 2024 12:50 am
in
https://wiki.mikrotik.com/wiki/Manual:IPv6/DHCP_Client
it mentions an options array as being one of the variables supplied to the script.
This looks like it might actually be present but using it will take some effort/ may not be doable.
It appears to mostly be binary.
my script
/log info $options
Top
FIPTech
Long time Member
Topic Author
Posts:
558
Joined:
Tue Dec 22, 2009 1:53 am
Re: How to get the result of a DHCPv6 client request for an option ?
Quote
#3
Sun Mar 10, 2024 12:03 pm
Thanks i'm going to try that. I was able to save the array to a file and compare it with a Wireshark capture. The data seems correct.
But probably not so easy to parse and manipulate to get the MAP-E tunnel settings because there is some bit level handling to do.
Top
Display posts from previous:
All posts
1 day
7 days
2 weeks
1 month
3 months
6 months
1 year
Sort by
Author
Post time
Subject
Ascending
Descending
Post Reply
Print view
Who is online
Users browsing this forum:
Google [Bot]
,
sakthivelj
,
seriosha
and 28 guests
Announcements
RouterOS
Beginner Basics
General
Forwarding Protocols
Wireless Networking
Scripting
Virtualization
Useful user articles
RouterOS beta
Other topics
The Dude
RouterBOARD hardware
The User Manager
SwOS
Training
Containers
Home
Forum index
RouterOS
General
×