3. Configure IP addresses
Now you can begin the actual setup.
You should still be in privileged EXEC
mode (if not, enter the enable command),
and start terminal configuration
mode by entering
configure terminal
Type the command
no ip domain lookup
to prevent IOS from attempting to convert
any spelling mistakes you make
into domain names. You can skip this step if
you’re a perfect typist, I suppose.
You might also want to enter the
command
no logging console
to prevent IOS from outputting syslog messages
to the console as you’re working. These
can interfere greatly with your typing.
Now you’re ready to set up an IP address
for the LAN interface. In the case of the 851W
that this article is based on, you do this on a
virtual interface called BVI1 that relates to
the physical LAN interfaces. On other routers,
you might do this on the actual physical
interface. Type
interface <interface_name>
to enter the configuration mode for that interface.
For the 851W, the command was
interface BVI1
Now, assign the interface an IP
address:
ip address <address> <netmask>
I’m using 192.168.100.1 with a Class C
mask, so my command looked like this:
ip address 192.168.100.1
255.255.255.0
(The command is on two lines for
publication purposes, but be sure to
enter it all on one line.) You can also
use Classless Inter-Domain Routing
(CIDR) notation if you prefer, which
would look like this:
ip address 192.168.100.1/24
You’ll also need to set the WAN interface
to use DHCP to obtain its IP
address. To do this, type
interface FastEthernet4
followed by the command
ip address dhcp
followed by the exit command to leave the
interface configuration mode.
Continued on page 3