09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Ridge-GW(config)# ip route 0.0.0.0 0.0.0.0 12.14.116.18<br />

Ano<strong>the</strong>r default setting is DNS resolution. However, for resolution <strong>to</strong><br />

work properly, <strong>the</strong> router needs <strong>to</strong> know where <strong>the</strong> DNS server is or<br />

have a local host table. To set <strong>the</strong> DNS server, use . To enter host addresses, use . To disable DNS resolution so <strong>the</strong> IOS will not try <strong>to</strong><br />

resolve your typing mistakes, use <strong>the</strong> global configuration EXEC<br />

command .<br />

WidgetCo has one DNS server on <strong>the</strong> Ridgefield <strong>network</strong>, but <strong>the</strong><br />

Finance terminal users hate <strong>to</strong> type and fear that if <strong>the</strong> point-<strong>to</strong>-point<br />

link goes down, <strong>the</strong>y will be unable <strong>to</strong> work. So, you need <strong>to</strong> add <strong>the</strong><br />

hosts <strong>the</strong>y connect <strong>to</strong>:<br />

Concord-GW(config)# ip name-server 172.16.2.100<br />

Concord-GW(config)# ip host cashbox 172.16.2.20<br />

Concord-GW(config)# ip host lostit 172.16.2.22<br />

Concord-GW(config)# ip host postman 172.16.2.30<br />

NOTE<br />

By default, <strong>the</strong> IOS uses HDLC for <strong>the</strong> synchronous serial interface<br />

encapsulation. In addition, ATM and x.25 are also available for use on<br />

serial interfaces.<br />

The command<br />

is used <strong>to</strong> set <strong>the</strong> router's default routes. For <strong>the</strong> Concord <strong>network</strong>, <strong>the</strong><br />

default gateway is <strong>the</strong> E<strong>the</strong>rnet interface on <strong>the</strong> Ridgefield router as it<br />

is <strong>the</strong> next hop. In Ridgefield's case <strong>the</strong> remote end of its Internet link<br />

is its default gateway. Using this approach, Concord sends all its<br />

Internet-bound traffic <strong>to</strong> <strong>the</strong> Ridgefield gateway, where it is forwarded<br />

on <strong>to</strong> <strong>the</strong> ISP's router. IP route configuration will be covered in depth<br />

in Chapter 10.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!