background image
272 Chapter 5: Network Protocols
IP Configuration
Configuration of TCP/IP in a Cisco router is straightforward. Table 5-27 and Table 5-28
summarize many of the most common commands used for IP configuration and verification.
Two sample network configurations, with both configuration and EXEC command output,
follow. The Cisco IOS documentation is an excellent reference for additional IP commands; the
Cisco Press book Installing Cisco Network Devices is an excellent reference, particularly if you
are not able to attend the instructor-led version of the class.
Outside local
When the private company reuses a network number
registered to someone else, the outside local address
represents the outside global address in the local (private)
network. Because this address is used only in the private
organization, it can be any IP address.
192.168.1.1
Table 5-27
IP Configuration Commands
Command
Configuration Mode
ip address ip-address mask [secondary]
Interface mode
ip host name [tcp-port-number] address1
[address2...address8]
Global
ip route prefix mask {next-hop-router|output-
interface
}
Global
ip name-server server-address1 [[server-
address2
]...server-address6]
Global
ip domain-lookup
Global
ip routing
Global
ip netmask-format {bitcount | decimal |
hexadecimal
}
Interface mode
ip default-network network
Global
ip classless
Global
ip host name [tcp-port-number] address1
[address2...address8]
Global
Table 5-26
NAT Addressing Terms (Continued)
Term
Meaning
Value in Figure
5-26
ch05.fm Page 272 Monday, March 20, 2000 5:06 PM