DHCP failure: NACK
I set up a local DHCP server at home and disabled the DHCP running on my internet provider modem. My laptop, phone & tablet are working fine and are able to get an IP however I have troubles with my sonos wifi speaker: it keeps sending DHCP requests like this:
192.168.1.62 is the DHCP server. 192.168.1.254 is the modem. I guess the problem is the NACK request sent by the modem (the DHCP server is disabled on it though)... The pcap file is available here: https://ufile.io/vaubc Any idea about what's wrong here?
See also questions close to this topic
Wireless Connection Location
I am developing emergency notification system and running windows service to check active alerts based on logged-in user's location however when user connects with wireless then i do not know the location because I use centralized network and only wired connections have IP range but no IP range for access points. I have over 50 buildings and some of them so close to each other they may overlap wireless connections.
How to know user's building if h/she use wireless connection? or what else can i try to overcome this?
IIS hosted Web API doesn't pick up incoming requests
Some background: I'm working on setting up a Web API in IIS. Everything works locally in Postman/web browser, big surprise. I also have a small no frills client/server program I wrote (C# console application) a while back that was known to work between computers at the time, I've since moved and have a different ISP (CenturyLink).
More background: I have DynDNS set up (I don't have a choice, I'm locked into it for hardware/ISP reasons), and I have Port Forwarding setup to go to the box I want. When I check my port, 18960 for what it's worth, using http://www.canyouseeme.org/, it's open. My website is also bound to that Port.
What I've tried: When I ran my client program to connect to the server, it failed, which I assumed was due to firewall issues on the computer I was running the client on, so I moved on. Interestingly, my server will output "Client Connected" when I use "canyouseeme" to check the Port. I can also use my phone to use one of the GET URLs and see it come in through WireShark, so I know my requests are getting to the endpoint, presumably meaning my Ports and DDNS stuff is setup correctly.
The issue is that when I have my server running, I get the Port check traffic, and I can see the GET request come in, but when I turn off the server and start the website... nothing. I'm still very new to IIS, so I thought perhaps IIS wasn't listening on the Port, but doing a quick search on that train of thought led me to believe that's silly.
How to set vrf and source-interface ios_logging ansible
To configure switch as shown below from ansible, how can we write playbook for the last 4 lines of this config files? Any comments and suggestions appreciated.
... logging trap informational logging console informational logging vrf MGMT host 10.2.5.7 logging host 10.5.3.7 5454 Logging vrf MGMT source-interface Management1 Logging source-interface Loopback0
- name: config trap logging and level ios_logging: dest: trap # Is it available? level: informational state: present - name: config console logging and level ios_logging: dest: console level: informational state: present - name: config vrf and host # not enough documentation I could find ios_logging: dest: # how to get the vrf VRF or is it host? name: 10.2.5.7 # only if the dest. is host state: present - name: config host and name ios_logging: dest: host name: '10.5.3.7 5454' state: present - name: config vrf and source-interface # not enough documentation I could find ios_logging: dest: # how to get the vrf VRF or is it host? name: ? # source-interface part state: present - name: config source-interface # same issue ios_logging: dest: source-interface # is this a way? name: Loopback0 # someone tell me this is a way state: present
How to fetch ISP internet connection type using python?
My program has a requirement to dynamically adjust some parameters based on the internet connection type provided by the ISP.
For instance if the connection type is DHCP, my program will behave slightly differently and if it is PPPoE, it will behave otherwise.
But is there a way to fetch these details using Python?
A quick google search brings up ways to fetch details like public IP, hostname, etc. But no mention of connection type anywhere.
Any help is appreciated. Thanks! :)
PowerDNS Master Slave Configuration
I deployed 4 powerDNS instances. 2 in NJ (nj-ns1 and nj-ns2) and 2 others in LA (la-ns1 and la-ns2).
Configured pdns in pdns.conf as, nj-ns1 as master. nj-ns2 la-ns1 and la-ns2 as Slaves.
Each of the NS also run DHCP. The 2 NS in NJ only manage NJ host and 2 NS in LA only mange LA hosts. I configured DHCP to update DNS with the leases.
My question is, If I create a dns zone (called la.test) with la-ns1 as master ns, would dhcp in LA be able to add A records to it? even though it is not a "powerDNS master"? I am basically confused about the difference between setting Master in pdns.conf vs. on the zone itself.
Issue setting up Open vSwitch on GCE (DHCP client not working)
I am trying to simulate an on-premises solution on GCP. I am not able to bridge with the GCE NIC and get DHCP working on that.
I have isolated the issue and also successfully tests the similar thing on a sandboxed Vagrant (VirtualBox) setup.
Both approaches are scripted and available on the following repos: https://github.com/htssouza/ovs-gcp-issue