Answer by Brian for Exclude a MAC address from the Hyper-V address pool
Probably easier to just change the MAC address range (pool) to something else that doesn't include the address in question. Microsoft has set aside 00-15-5D-* for hyper-V so change a part past that. So...
View ArticleAnswer by Brian for How can I combine two commands to tally data from...
Can use zgrep which will decompress if necessary and therefore works with both straight text and compressed input. As well grep/zgrep can process multiple files directly which is needed in this case...
View ArticleAnswer by Brian for What is the difference between Errors , Dropped ,...
On Linux ifconfig gets the raw data statistics from /proc/net/dev. The values there (with ifconfig destination in brackets added) are described by an article Exploring the /proc/net/ Directory as:errs...
View ArticleAnswer by Brian for What is "Maximum Client Connections" on Remote Access...
Most concurrent connections reached.
View ArticleAnswer by Brian for Restoring SBS 2011 backup files without another server?
The backup wizard in the SBS console uses the native Windows Server Backup utility underneath. So you need another server but it does not have to be SBS 2011. From a technet article Introducing the...
View ArticleAnswer by Brian for Win7 pro stuck on welcome screen when logging in to the...
You can enable more detailed status messages on the Welcome screen using a group policy. Then you can tell which step is taking an excessively long time. Computer Configuration -> Administrative...
View ArticleAnswer by Brian for DNS Issues from domain dns health report
The name servers listed in the domain registration still point to GoDaddy name servers. Update the domain registration information to point to the OVH name servers. Currently the root .com name servers...
View ArticleAnswer by Brian for Does disabling VT-d and interrupt remapping break MSI-X?
Yes. MSI-X needs interrupt remapping enabled to fully work.From a Intel PDF:Intel® Virtualization Technology for Directed I/OArchitecture SpecificationOctober 20145.1 Interrupt RemappingThe...
View ArticleAnswer by Brian for How to find the initial values of TTL for your current...
Packets sent to localhost don't go over any hops so the ttl shown will be the starting value.Windows 10C:\>ping -4 localhost Pinging Win10Main [127.0.0.1] with 32 bytes of data:Reply from 127.0.0.1:...
View ArticleAnswer by Brian for In windows server 2008, how do I disable recursive dns...
By default the DNS server listens on all interfaces / IP addresses. Most DNS servers set to allow recursive queries should not be listening on a public interface / IP address. Doing so allows them to...
View ArticleAnswer by Brian for LACP and Loadbalancing?
Two basic things to keep in mind:Traffic is distributed packet by packetAll packets associated with a given “conversation” aretransmitted on the same link to prevent mis-orderingThat second point has...
View ArticleAnswer by Brian for CentOS7: Run Fail2Ban on existing log with new regex
Older versions reprocessed the log on restart. Newer versions store the last log-file position to a sqlite db. When the check sum of up to the first line not modified matches what was stored it won't...
View ArticleAnswer by Brian for extend the tmpfs file system
From the man page for mount (scroll down a lot):Mount options for tmpfs size=nbytes Override default maximum size of the filesystem. The size is given in bytes, and rounded up to entire pages. The...
View ArticleAnswer by Brian for Where is the response size in Squid's access.log?
The native log format is:"%9d.%03d %6d %s %s/%03d %d %s %s %s %s%s/%s %s"With the 5th part (%d after %s/%03d) being:bytes The size is the amount of data delivered to the client. Mind that this does not...
View ArticleAnswer by Brian for What is bottlenecking my SMB share?
Samba is single threaded. This often means being CPU bound depending on what options are selected / enabled. Chapter 3. Samba Architecture
View ArticleAnswer by Brian for Using Robocopy to search and copy directories using...
An example of a dir used in a FOR loop with how to change the drive letter when outputting it:FOR /F "usebackq delims==" %i IN (`dir /s /a:d /b c:\workspace\workInProgress*`) DO @echo "c:%~pi""d:%~pi"
View ArticleAnswer by Brian for Cannot disable IPv6 components on exchange server without...
Instead of disabling ipv6 another option is to modify the prefix policies so IPv4 addresses are used over IPv6 when available. C:\>netsh interface ipv6 show prefixpoliciesQuerying active state......
View ArticleAnswer by Brian for recognize bash variable inside a text file
One option is to use sed to edit the files. This lets you limit what variables get filled in.This will fill in template.txt and output it to filled.txt:sed -e "s/\$HOSTNAME/$HOSTNAME/" -e...
View ArticleAnswer by Brian for How to remove a yum repo GPG key?
Using rpm you can list keys and remove them.[root@apps2 ~]# rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n'gpg-pubkey-f4a80eb5-53a7ff4b gpg(CentOS-7 Key (CentOS 7 Official Signing...
View ArticleAnswer by Brian for ktpass command "WARNING: The Key version used by Windows...
The key version number (KVNO) is basically incremented when the password changes and helps catch out of sync data when they don't match. The file format your exporting to limits it to one byte so the...
View Article