Mw1122 administrator manual – Nokia MW1122 User Manual

Page 41

Advertising
background image

MW1122 Administrator Manual

E

Copyright Nokia Networks Oy

C33902001SE_00

5-6

Typically, when DHCP is used, the advertised DSN addresses point to
LAN/WLAN/VBRIDGE interfaces. In such cases, the DNS proxy
forwards the DNS request to statically configured DNS servers or to
DNS servers learned dynamically vie PPP/IPCP.

The following commands are used to configure DHCP and DNS
settings:

MW1122(conf-common)#dhcp?

usage: dhcp mode

dhcp address

dhcp gateway

dhcp dns

dhcp lease-time

dhcp domain-name

MW1122(conf-common)#dhcp mode server ; this enables

DHCP server

Normally, there is no need to configure the DNS addresses. If the
service provider does not support automatic DNS address allocation,
the DNS servers can be configured as shown by the following
example:

MW1122(conf-common)# dns address primary 1.2.3.4

MW1122(conf-common)# dns address secondary 1.2.3.5

MW1122(conf-common)#

5.2.2

Configuring static and dynamic routing

Routing entries in the routing table are needed in order to forward the
IP packets to the correct interface. MW1122 has both static and
dynamic routes. Static routes are configured manually and dynamic
routes are learned automatically using RIP v1 and RIP v2 protocols.
The following examples show how to configure static routes to
MW1122.

Default gateway for an interface that learns the next hop automatically:

MW1122(conf-common)# ip route 0.0.0.0 0.0.0.0 0.0.0.0

vcc1

Default gateway for an interface that requires static next hop:

MW1122(conf-common)# ip route 0.0.0.0 0.0.0.0 1.2.3.1

vcc1

Advertising