101
Fig. 13.16: Connected to Wireless Ad-Hoc Network
IP Addressing in Ad-Hoc Networks
Now, another important thing to remember is that typically there is no DHCP
server running on computer hosts. What this means is that there will be no IP address
automatically assigned as is typically done when using a wireless router
or access
point.
Two options are available: either to use APIPA addressing (169.254.0.0/16)
which will permit a connection between the two computers automatically when a
DHCP server is unable to be contacted or using
static
IP addressing
.
Figures 13.17 and 18 show the output from the ‘ipconfig' and ‘arp –a'
commands on two computers connected via an Ad-Hoc network using APIPA
addressing. The two computers' addresses can be seen in each other's ARP tables.
Fig. 13.17.
Windows IP Configuration
102
Fig. 13.18. Windows IP Configuration
The Ad-Hoc network is very useful when trying to connect computers
together which have wireless capabilities and no active wireless router or access
point to connect them together. If the need to network computers together in these
situations happens, the Ad-Hoc option is certainly an
easy to setup option which
enables these abilities.