700 Series Router for Internet Access

Configuring a Typical Office with a 700 Series Router for Internet Access
Company XYZ has decided it’s time to get into this Internet thingy. The company has determined
that their employees need to have Internet access to do research and send e-mail to their
suppliers and customers. There is an internal web server that outside clients and employees
will need to access from the Internet. They have contracted with you to set up a low-cost solution
that will enable them to have access to the Internet from an ISDN line.
You have come up with the following configuration, which enables IP unnumbered across the
WAN connection, enables DHCP server functionality, creates a port handler for the internal web
server at IP address 10.1.2.21, and enables PAT on a Cisco 765 router. It will set the IP address
on the router to 10.1.2.1 and then create a username—XYZ—that was supplied by the ISP. The
following lists the entire configuration on a 765 router. The underlined commands are those
discussed in the previous section:
>set systemname XYZ
XYZ> set switch ni-1
XYZ> set 1 spid 80155511110101
XYZ> set 2 spid 80155522220101
XYZ> set 1 directory 5551111
XYZ> set 2 directory 5552222
XYZ> set dhcp server
XYZ> set dhcp address 10.1.2.2 100
XYZ> set dhcp netmask 255.255.255.0
XYZ> set dhcp gateway primary 10.1.2.1
XYZ> set dhcp dns primary 200.1.1.48
XYZ> set dhcp wins primary 200.1.1.49
XYZ> set dhcp domain mydomain
XYZ> cd lan
XYZ:LAN> set bridging off
XYZ:LAN> set ip routing on
XYZ:LAN> set ip address 10.1.2.1
XYZ:LAN> set ip netmask 255.255.255.0
XYZ:LAN> cd
XYZ> set user ISP
XYZ:ISP> set ppp clientname XYZ
XYZ:ISP> set ppp secret client
Enter new Password: sybex1
Re-Type new Password: sybex1
XYZ:ISP> set ppp password client
Enter new Password: sybex1
Re-Type new Password: sybex1
XYZ:ISP> set bridging off
XYZ:ISP> set ip routing on
XYZ:ISP> set ip rip update off
XYZ:ISP> set ip route destination 0.0.0.0/0 gateway 0.0.0.0
XYZ:ISP> set 1 number 18015553333
XYZ:ISP> set 2 number 18015553333
XYZ:ISP> set ip pat on
XYZ:ISP> set ip pat porthandler http 10.1.2.21
XYZ:ISP> set ppp address negotiation local on
XYZ:ISP> set ppp authentication outgoing none
XYZ:ISP> set timeout 300
XYZ:ISP> set active
With this configuration, a router in XYZ’s office will be able to dial up to the ISP and place their
office on the Internet by using PAT through a single IP address. This will also allow outside
clients and employees access to their web server by using the HTTP port handler.