DHCP-Server for ipv6 and ipv4
I have to configure 3 DHCP servers for ipv4 and ipv6 so , that every device of each vlan gets an ipv6 and an ipv4 address. Is this possible ? I have a standard ipv4 server do I just have to edit it just a little bit ?
ip dhcp excluded-address 172.16.1.1 ip dhcp pool POOL-VLAN-100 network 172.20.0.16 255.255.255.0 default-router 172.16.1.1
I hope you guys can help. Regards, Lukas
See also questions close to this topic
How to visit a link-local website on CentOS7? while in windows it just works with [fe80::x:x:x] in the browser
I run apache on CentOS and Listen 80. And I can visit the website using 127.0.0.1.
I tried several ways to visit the website using ipv6 link-local address:
- [fe80::x:x:x] not work
- [fe80::x:x:x%eth0] not work
- [fe80::x:x:x%eth0]:80 not work
- [fe80::x:x:x%25eth0]:80 not work
- http://[fe80::x:x:x%eth0]:80 not work ....
Just more ways like above, no way works.
BTW, I tried apache and ipv6 on windows 10. It works with [fe80::x:x:x] visiting the website..amazing!
redis ZRANGEBYLEX and ipv6
To follow up on this post: redis store 128 bit number
How to do a lexicographical search with an ipv6 address.
If I use it like this:
ZADD index 0 8000::/24 ZADD index 0 2001:db8:1f89::/48 ZADD index 0 2001:db9:1f89::/48 ZADD index 0 1234:5678:abcd:effa:4200:1972::/112 ZRANGEBYLEX index [2001:0db8:0000:85a3:0000:0000:ac1f + LIMIT 0 1 1) "2001:db8:1f89::/48"
ZRANGEBYLEX index [2001:1db8:0000:85a3:0000:0000:ac1f + LIMIT 0 1 1) "2001:db8:1f89::/48"
An idea ?
Xamarin iOS app rejected by App Store because not working on IPv6-only environment
Apple App Store rejected my app with this message:
We discovered one or more bugs in your app when reviewed on iPad￼ running iOS 11.4.1 on Wi-Fi connected to an IPv6 network.
Because of this I (too late) discovered that since June 2016 Apple requires that every app submitted to App Store should support IPv6-only networking, as written here https://developer.apple.com/support/ipv6/:
Starting June 1, 2016, all apps submitted to the App Store must support IPv6-only networking. A majority of apps will not require any changes as IPv6 is already supported by NSURLSession and CFNetwork APIs. However, if your app utilizes IPv4-specific APIs or hard-coded IP addresses, you will need to make changes. Be sure to test for IPv6 compatibility before submitting your app to the App Store for review.
The point is that my app doesn't have hardcoded IP addresses and for all the web calls I simply instantiate an HttpClient with default implementation; I already submitted other app based on the same one for other clients, but it's the first time that they rejected it for this reason. Moreover I don't have a way to do a test with IPv6 because my ISP doesn't support it, and also APN of my two mobile sims (internet.wind and mobile.vodafone.it) doesn't work in IPv6.
Is it possible that Apple does this test only once in a while and with other 5/10 submissions I was simply lucky?
How does a multi-national ISP register different subnets for different countries in the GeoIP database?
My customer operates an ISP on the northern border of the USA. It has many customers who connect to its network from Canada. The ISP has recently been bequeathed a subnet by ARIN. The ISP wishes to break a /29 off of this allocation and mark its traffic as originating in Canada.
Please advise regarding the registration of this subnet with the GeoIP database.
Issues on configuring internet on android 7.1 r2 x86
I installed android x86 7.1 r2 on my laptop with amd e1 processor. I have Ethernet connection which requires static ip with gateway setting to be configured on the device. On android using terminal with root privileges, i configured the ip and gateway using the following commands
ifconfig eth0 126.96.36.199 netmask 255.255.255.0 up route add default gw 188.8.131.52
ip used are not original but i used the code in same manner for original ip then i tried to ping google.com which says the network is not reachable.Even the gateway is not reachable. I used the ethernet with windows and works flawlessly with settings configured. How can i solve this internet problem.
curl is requesting for DNS resolution even it has received the DNS replied from DNS resolver
Client device is a dual-stack host and is trying to cURL to a specified URL and it retries on resolving the URL even it has received the DNS answer from the DNS resolver. While it is trying to resolve on the second attempt, it failed and go redirect to some ads page (due to DNS hijacking done intentionally by the ISP).
Can someone explain the behaviours happening here? It seems like it is waiting for AAAA record eventhough it already has the A record returned from DNS resolver. However, the waiting has gone (timeout), and so the client device retry again for A record for the second time, but the gateway device ignore it, and the device failed after three tries and hence redirect to the ads page which is set up intentionally by the ISP for money-making.
The issue does not happened when using Google DNS or using ISP DNS IP directly (not using the gateway IP for DNS resolution).
09:22:54.376035 IP (tos 0x0, ttl 64, id 22916, offset 0, flags [DF], proto UDP (17), length 74) 192.168.1.2.38349 > 192.168.1.1.53: [bad udp cksum 0x839b -> 0xe67d!] 28052+ A? xxxxx.akamaized.net. (46) 09:22:54.376336 IP (tos 0x0, ttl 64, id 22917, offset 0, flags [DF], proto UDP (17), length 74) 192.168.1.2.38349 > 192.168.1.1.53: [bad udp cksum 0x839b -> 0xa710!] 44262+ AAAA? xxxxx.akamaized.net. (46) 09:22:54.380147 IP (tos 0x0, ttl 252, id 47855, offset 0, flags [DF], proto UDP (17), length 137) 192.168.1.1.53 > 192.168.1.2.38349: [udp sum ok] 28052 q: A? xxxxx.akamaized.net. 3/0/0 xxxxx.akamaized.net. [4h10m14s] CNAME xxxxx.wxx.akamai.net., axxxx.wxx.akamai.net. [14s] A 184.108.40.206, axxxxx.wxx.akamai.net. [14s] A 220.127.116.11 (109) 09:22:59.380622 IP (tos 0x0, ttl 64, id 23092, offset 0, flags [DF], proto UDP (17), length 74) 192.168.1.2.38349 > 192.168.1.1.53: [bad udp cksum 0x839b -> 0xe67d!] 28052+ A? xxxxx.akamaized.net. (46) 09:23:04.386620 IP (tos 0x0, ttl 64, id 23393, offset 0, flags [DF], proto UDP (17), length 74) 192.168.1.2.38349 > 192.168.1.1.53: [bad udp cksum 0x839b -> 0xe67d!] 28052+ A? xxxxx.akamaized.net. (46) 09:23:09.392782 IP (tos 0x0, ttl 64, id 23550, offset 0, flags [DF], proto UDP (17), length 80) 192.168.1.2.55821 > 192.168.1.1.53: [bad udp cksum 0x83a1 -> 0x5d08!] 30439+ A? xxxxx.akamaized.net.local. (52) 09:23:09.403044 IP (tos 0x0, ttl 252, id 33835, offset 0, flags [DF], proto UDP (17), length 171) 192.168.1.1.53 > 192.168.1.2.55821: [udp sum ok] 30439 q: A? xxxxx.akamaized.net.local. 1/1/0 xxxxx.akamaized.net.local. [5m] A a.b.c.d ns: . [1d] SOA a.root-servers.net. nstld.verisign-grs.com. 2018080700 1800 900 604800 86400 (143) 09:23:09.403407 IP (tos 0x0, ttl 64, id 23551, offset 0, flags [DF], proto UDP (17), length 80) 192.168.1.2.55821 > 192.168.1.1.53: [bad udp cksum 0x83a1 -> 0x88ec!] 19176+ AAAA? xxxxx.akamaized.net.local. (52) 09:23:09.410040 IP (tos 0x0, ttl 252, id 33968, offset 0, flags [DF], proto UDP (17), length 171) 192.168.1.1.53 > 192.168.1.2.55821: [udp sum ok] 19176 q: AAAA? xxxxx.akamaized.net.local. 1/1/0 xxxxx.akamaized.net.local. [5m] A a.b.c.d ns: . [1d] SOA a.root-servers.net. nstld.verisign-grs.com. 2018080700 1800 900 604800 86400 (143)
Sorry, for my bad explanation. Please let me know if you need more info in order to understand the problem better.
Cisco Port Security issue
I have issue with one port cisco L2 switch.
Setup port security ex. maximum violation 2, and default shutdown option, and sticky mac address.
Computer on that port is Windows 10. On cisco switch I got one mac address and immediately shutdown port.
Does anyone have suggestion?
How to provisioning a Cisco 7911 IP Phone?
Does anyone know how to provide a Cisco 7911 ip phone? I'm setting up a phone network for my company, but when I'm setting up the phone with the Elastix IP (3cx), it receives the IP but returns an "Unprovisioned" information. As I researched, I know that the provisioning of the phone is done through TFTP, but I have never used it or know how it works ... Who can help me? I want the phone to be recognized in 3cx. Grateful for the attention.
how to setup port authentication in cisco sg300 switch
I have a switch that is Cisco SMB SG300. I setup freeradius on my ubuntu server, setup the switch for port authentication with freeradius. Unfortunately, I keep on receiving access-reject on the sql database authlog. I tried to use web authentication and it works well. Was able to verify the log and I got access-accept status.
Does anybody of you here had an experience setting up this kind of security?
Thoughts on needed subnet expansions
I work for a non-profit with some slightly more antiquated hardware. We have 3 locations, about 700 devices across them. Right now our locations are set up as:
Location 1 (Main) - /23 with a DHCP server. Range is 10.0.0.0 - 10.0.1.254
Location 2 - /24 with a DHCP server. Range is 192.168.0.0 - 192.168.0.254
Location 3 - /24 without a DHCP server. This location has the subnet issued by our ISP and all devices are pointed back to our primary and secondary DNS servers via adapter management (often via scripts).
We are rolling out VoIP at the end of the month and I'm not confident we have the necessary IPs to handle the incoming hardware at Location 1 and Location 2. I'm looking for thoughts on the following:
Moving Location 1 to a /22. This location has a ton of static devices (DVRs, Routers, Printers, reserved leases, most of our servers, etc). This would be quite a bit of work.
Moving Location 2 to a /23. This has fewer static devices and probably wouldn't be as difficult.
Here are my questions / issues that are causing me to be conflicted:
I actually don't know how many open IP addresses we have at Location 1. Unfortunately, my predecessor didn't use reservations, so I have no way to see all of the static devices on the network outside of just..knowing. In addition, the scope was set to only 150 addresses of the potential 512, but it was set in the middle of the subnet and I can't figure out why.
I think it would be nice to have all of the VoIP phones on their own cluster of 256, even if I don't NEED the addresses, maybe I should expand and scope it anyway?
I know that /24 has always been the ideal scenario for a network, but anymore is this really necessary? Does anyone see any issues with /22?
We don't have vLANs and our switches are dummy switches. I've been pushing for managed (or partially managed) switches at the minimum, but they aren't approved yet, so vLANs aren't really an option right now.
A final note, all of our servers are physical devices and not virtualized. Again, working on approval, but hard to come by with tight budget constraints. This means that changes are not easily snapshotted or restored from backup.
Anyone have some thoughts or suggestions on what you would recommend?
How do I send a UDP hardware unicast on Windows?
I am developing a DHCP server in Rust.
The DHCP server must be able to send hardware unicasts to clients with unconfigured interfaces using their MAC address and the newly assigned (but not configured yet) IP address.
I have solved it on Linux by injecting an ARP entry before sending a packet, and on FreeBSD and Mac OS with BPF.
As long as there are few open-source DHCP servers for Windows, I cannot know how to send a hardware unicast properly.
I have tried the
CreateIpNetEntryWinAPI function, but for some reason it blocks for 3 seconds exactly and then returns the success code with no effect (I do not see the anticipated entry neither with
For now it is solved by calling subprocess
netsh ip interface set neighbors ..., but such a solution does not fit my project will.
How do I send a UDP hardware unicast on Windows properly?
DHCP network settings
I have a Synology NAS box (IP 192.168.8.104). I cannot seem to access it. I used to be able to access it from my Xbox connected to the same T Link router. Now, since I got a new router, the Xbox cannot see it.
Also, when I use my MacBook, in Finder I can see the Nas box, and can connect to it with the username and password.
However when entering 192.168.8.104:5000 in a browser, the response times out.
Looking at my DHCP settings in the router, the start IP is 18.104.22.168 and end 192.168.0.199. The range is outside the NAS IP. I cannot change there to a range fitting the NAS IP.
Any ideas please? How can I get a browser and/or Xbox to connect.