Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Addressing Topics:
& DHCP
Subnetting WINS Enter your search terms Submit search form
NetBIOS - Web wilsonmar.com
Here are my notes on WINS
one of the more
challenging topics of
URL
the MCSE and Cisco Obfuscation Sound: Submarine ping
exams. DHCP,
APIPA, ISO-OSI Layers
Buy domains for less
NAT,ICS Routing & Switching
DNS
Ping sound
Decimal
vs. Binary
IP Address
Classes
Subnetting
ANDing
IPv6
CIDR VLSM
Get
Certified
Your
comments???
o Default
gatewa
y
o DNS IP
addres
ses
and
subnet
masks
o WINS
name
server Download this Visio 2000 graphic
o router
(in and
out
addres
s)
o NAT
(RFC
1631)
for
Windo
ws
98SE
and
smalle
r
Windo
ws
2000
networ
ks.
NetBIOS
NetBIOS names specified by the user are Windows Internet Naming Service
limited to 15 characters. Microsoft (WINS): Architecture and Capacity
reserves the 16th character of the NetBIOS Planning
name to indicate a resource type.
nbtstat -n
browmon
WINS Client
The client wanting to use a WINS server
must have its TCP/IP NetBIOS Helper
service started.
WINS Server
WINS-R resource records for reverse lookup
zones.
WINS Proxy
A WINS proxy forwards b-node broadcasts
to WINS servers on remote subnets.
.edu domains are for accredited degree granting higher education institutions.
.org domains are for non-profit organizations, such as the International Trademark Association
.gov domains are for governmental organizations, such as the US Patent and Trademark Office
.mil domains are used exclusively by the US military (Department of Defense).
.int domains are restricted to organizations established by international treaties between governments,
including some agencies and organizations of the United Nations.
.tv was originally for websites from the South Pacific ccTLD (country code Top Level
island nation of Tuvalu . But, for $50 million, it's Domains) are designated by
being marketed as "television" around the world for ICANN based on ISO 3166-1-
businesses such as Tech.TV . alpha-2 code elements.
.fm for Micronesia is used for FM radio stations.
The .la ccTLD assigned to Laos is being associated with “Los Angeles”.
.cc for Cocos (Keeling Islands) is also “Country Club” by David Sams Industries.
.ph for Phillipines is also “Phone”
.vc for St. Vincent is also “Venture Capitalist”
.ws for Western Somoa is also “Website”
.nu for the South Pacific nation of Nieue is used by those who recognize that the word in French means
"nude".
.biz further benefit lawyers who want to double revenues for repeating the same
trademark fight as .com
The 7,000 nic.coop domains registered so far are for members of the sponsor, the U.S.
National Cooperative Business Association (NCBA), or the International Co-operative Alliance
(ICA).
.eu was approved by ICANN in March 2005 to launch in early 2006 through Belgium-based registrar
EURid.
Even though Wal-Mart won Wal-MartCanadaSucks.com, the company proactively registered over 100
unflattering variations on it trade name. Other examples: IHate... Dontbuy... evil...
...stinks ...Bites javaSucks.com
Un-Obfuscating URLs Is the link below from the U.S. government? Click "Reveal URL"
Beware of obfuscated URLs and see how a spammer can obfuscate (hide) the true origin of
such as this, which their website:
impersonates ebay to steals
credit card and identity info: After translating character codes
After removing unused authentication text before the @ character:
SignInRegisterEnterInfo &
siteid=0co_partnerid=2@ If the result is a numeric IP address, Reverse IP Lookup to find who
66.230.230.51/7e3baycgi/ owns the IP address. Report spammers annonymously to Spamcop.net.
http://account :
password &
domain_name.TLD
Otherwise:
DHCP Scopes
The scope of IP address ranges (and exclusions) are specified using the DHCP console.
Static IP Addresses used for servers on the network should be specified in DHCP Exclusion scopes.
A Superscope combines individual scopes (within a single physical segment) into a logical multinet.
Superscopes are used when several DHCP servers serve a single subnet. (In Windows 2000, they can
only be specified after a scope has been defined) To ensure that individual DHCP clients always receive
addresses from the same DHCP server, create on each DHCP server the same superscope with a
member scope for the IP range managed by each DHCP server. This is so DHCP servers do not send
DHCPNak messages for ranges of other DHCP servers. Then on each DHCP server exclude ranges for
other servers.
Multicasting
MADCAP (Multicast Address Client Allocation Protocol) is used to multicast to IPv4 Class D
addresses. Use the 239.x.x.x range and avoid 224-238 to prevent multicast traffice from
being copied to the adjoining host.
By default, the dynamic update client dynamically registers A and PTR resource records:
o Every 24 hours
o Its TCP/IP configuration is changed
o Its DHCP address is renewed or new lease obtained
o A Plug and Play event occurs
DhcpLogMinSpaceOnDisk REG_DWORD 20 MB
DhcpLogDiskSpaceCheckInterval REG_DWORD 50 MB
DhcpLogFilesMaxSize REG_DWORD 7 MB
DHCP Logging
HKLM\ SYSTEM\ CurrentControlSet\ Services\ DhcpServer\
Parameters\
Active Directory
Standard
Integrated
DNSZone Container Objects
nslookup.exe
Default Server:
rns2.earthlink.net
Address: 207.217.77.82
DNSCMD.EXE
ipconfig /registerdns
Dynamic DNS
Windows 2000 uses Dynamic DNS [RFC
2136] which communicates with DHCP to
dynamically register DNS A (resource) and
PTR resource records.
SMTP in Anti-Spam
"It has been observed that when a domain
has both a primary (high priority, low
number) and a secondary (low priority, high
number) MX record configured in DNS,
overall SMTP connections will decrease
when the primary MX is unavailable. This
decrease is unexpected because RFC 2821
(Simple Mail Transfer Protocol) specifies
that a client MUST try and retry each MX
address in order, and SHOULD try at least
two addresses. It turns out that nearly all
violators of this specification exist for the
purpose of sending spam or viruses.
Nolisting takes advantage of this behavior
by configuring a domain's primary MX
record to use an IP address that does not
have an active service listening on SMTP
port 25. RFC-compliant clients will retry
delivery to the secondary MX, which is
configured to serve the role normally
performed by the primary MX)."
Allocation of IP's
IP adddresses are pre-allocated by the IANA in its IP
version 4 (IPv4) RFC 1918 first published September,
1981.
IP
Address
or Host
Name:
100 Lookups allowed per day for
unregistered users.
Size Matters
Each IPv4 address is 32 bits. Although 2 to the power of
32 is 4,294,967,296, there are only 3,720,314,628
possible hosts because some address are reserved by
IANA. So, 25% of the pool of addresses is underutilized.
• The number of available addresses from the network portion of IP addresses excludes two
reserved by the IANA:
o All 0's - used for “this network”
o All 1's - used for “boardcast”
• The number of available addresses from the host portion of IP addresses exclude two reserved
by the IANA:
o 0.0.0.0 for use as the default route.
1985 RFC 950 allow a Network Number assigned by IANA to be divided into several physical segments in a TCP/IP
environment, each segment with a unique Extended Network Prefix containing a Subnet number.
Max. n
Bits
for alloc.
1985 RFC
Class / Bits Dot 950 to
in Highest Decimal Default subnet Max #
Network Order First Subnet or host Hosts
Prefix Bit Val. Octet Mask ID (2n-2)
A /8 0xxxxxxx 001 - 126 255.0.0.0 24 bits 16,777,214
Practice constructing this table quickly. When you start the test, write it down from memory on
the blank paper the proctor gives you. Don't bring your own papers into the testing center.
Deep down, computers handle only 1's and 0's -- a Binary (base 2) system of counting. Because
each position has only two (rather than 10) values, “10” (102) is equivalent to 2 in the decimal system.
Binary 1000 0000 is equivalent to 128 in our normal decimal system. All 1's is decimal 255.
The Decimal Value is calculated by the power of 2 (values 0 and 1). 128 is 2 to the 8th power.
Right before
starting to
answer an exam,
write this table
down on scratch
paper the
proctor gives you
(do not bring
this on your own
paper into the
exam).
During the
exam, refer to
this table rather
than wasting
time
Use the “Low to High” row to quickly convert decimal value 109
to Binary representation: start from a decimal value less than
the one you're translating: Octet Etudes
109 is less than 128, so the 8th position must be zero. 8 = 0 0 0 0 1 0 0
0
Keep adding ... from the highest order bit until the
sum is higher than the target value:
0 + 64 + 32 = 96
63 = 0 0 1 1 1 1 1
0 + 64 + 32 = 96 + 16 = 112 (too much) 1
0 + 64 + 32 = 96 + 0 + 8 = 104
0 + 64 + 32 = 96 + 0 + 8 = 104 + 4 = 108 192 = 1 1 0 0 0 0 0
0 + 64 + 32 = 96 + 0 + 8 = 104 + 4 = 108 + 2 = 0
110 (too much)
0 + 64 + 32 = 96 + 0 + 8 = 104 + 4 = 108 + 0 + 1 254 = 1 1 1 1 1 1 1
= 109 0
0 1 1 0 1 1 0 1
96 = 0 1 1 0 0 0 0
Bitmaps for Special Addresses reserved by IANA 0
100 = 0 1 1 0 0 1 0
• 255.255.255.255 (all 32 bits with value 1) is the broadcast 0
address read by all hosts.
• The Bit mask for the loopback address used for diagnosis: 198 = 1 1 0 0 0 1 1
0 1 1 1 1 1 1 1 0
0+64+32+16+8+4+2+1 = 127
0 0 0 1 1 1 1 1
0+0+0+16+8+4+2+1 = 31
• Decimal value of "high" octal bit 110 boundry for Class C addresses:
1 1 0 0 0 0 0 0
128 + 64 + 0 + 0 + 0 + 0 + 0 + 0 = 192
• range 172.16.xxx.xxx through 172.32.xxx.xxx
• range 169.254.0.0 thru 169.254.255.255 with a subnet mask of 255.255.0.0 for Automatic IP
Addressing
Decimal IP Addresses
$dotted_ip_address = $_SERVER['REMOTE_ADDR'];
$ip_number = sprintf("%u", ip2long($dotted_ip_address));
$dotted_ip_address = long2ip($ip_number);
In VBScript:
function vbLong2ip(ipLong)
ipLong = abs(ipLong)
ipA = fix(ipLong/256^3)
ipB = fix((ipLong-ipA*256^3)/256^2)
ipC = fix((ipLong-(ipA*256^3+ipB*256^2))/256)
ipD = fix(ipLong-((ipA*256^3)+(ipB*256^2)+(ipC*256)))
vbLong2ip=ipA & "." & ipB & "." & ipC & "." & ipD
end function
def num2dot(c):
assert c > 0 and c < 4294967295
ip = []
for i in xrange(3, 0, -1):
p = 256 ** i
ip.append(c/p)
c -= (c/p)*p
ip.append(c)
return '.'.join([str(x) for x in ip])
def dot2num(s):
ip = [int(x) for x in s.split('.')]
i = 0
for x in xrange(3, 0, -1):
i += ip.pop(0) * (256 ** x)
i += ip.pop(0)
return i
• The value in the Decimal Value column replaces the last octet of a subnet mask for a class C IP
address. For example: 192 goes in 255.255.255.192.
• “Binary Value” means that each digit can only be either “1” or “0”.
• In each Binary Value entry, 0 (zero) bits indicate the number of bits available to come up with
Host ID's within the same subnet.
• The more subnets, the less host ID's.
• The default subnet mask for a Class C address has a Binary Value of 00000000, resulting in a
subnet of 255.255.255.0.
• The first bit on the Binary Value is always 1 because it has been reserved.
• The last bit on the Binary Value is always 0 because it has been reserved for the broadcast
address, so a Class C subnet has 7 bits to allocate.
Another explanation:
255.255.255.192 (11000000) uses 2 bits to yield (2**2=4 -2 =2) subnets of (2**4=64-2==)62 hosts
each
255.255.255.224 (11100000) uses 3 bits to yield 6 subnets of (2**4=32 -2==30 hosts each
255.255.255.240 (11110000) uses 4 bits to yield 14 subnets of 14 hosts each
255.255.255.248 (11111000) uses 5 bits to yield 30 subnets of 6 hosts each
255.255.255.252 (11111100) uses 6 bits to yield (2**6)=64 - 2 == 62 subnets, leaving one bit of 2
hosts each
a. 255.255.255.192
b. 255.255.255.0
c. 255.255.254.0
d. 255.255.252.0
e. 255.255.248.0
Correct Answer: c. subnet mask will provide a network with 510 host addresses.
• Question 3: What is the host address in the IP Address 126.123.56.44 with a subn t mask of
255.248.0.0?
Answer: Three of the third octet's bits are still part of the host ID. This means that the
network ID for this address is 126.126.0.0. Removing the network address from the full
IP address leaves 0.3.56.44 as the correct host address.
ANDing
When a host requests communications to be
initiated, ARP obtains hardware MAC
addresses of destination hosts by examining
the subnet mask, Routing table, and default
gateway.
DHCP 3 2
DNS 4 1
WINS 5 5
Remote 6 3
Access
RADIUS 7
Connection 8
Manager
Routing 9 6
Multicasting 10
Demand-Dial 11
Routing
VPN 12
IPSec 13
Connection 14 7 (NAT)
Sharing
Proxy Server 15
Certificate - 8
Services
Exams on Networking
Portions ©Copyright 1996-2007 Wilson Mar. All rights reserved. | Privacy Policy | Last updated
Email me updates