Defaultgateway - Paradyne 6211 Command Manual

Adsl2+ router command line interface
Table of Contents

Advertisement

6211-I1 ADSL2+ Router Command Line Interface User's Guide

defaultgateway

Name
defaultgateway
Configure or show the default gateway or default route.
Synopsis
defaultgateway config auto
defaultgateway config static [<ipaddress>] [<interface>]
defaultgateway show
defaultgateway --help
Description
The primary use of the defaultgateway command is to set up a static default gateway or default route,
or to automatically retrieve the default gateway information from remote ISPs through DHCP protocol
for a MAC Encapsulated Routing (MER) interface, or through Point-to-Point Protocol (PPP) for a
Point-to-Point Protocol over ATM (PPPoA) or Point-to-Point Protocol over Ethernet (PPPoE) interface.
A PPPoA or PPPoE interface always automatically retrieves remote gateway information. This
command saves the configuration to permanent storage.
If the default gateway is configured with static data, it will override any remote gateway address
received automatically from some WAN interface and become effective immediately in the runtime
system. The ipaddress address is optional if the default route is en route a PPPoE, PPPoA, or
Internet Protocol over ATM (IPoA) interface. If the default gateway is en route, a MER interface,
ipaddress must be configured and the interface parameter is optional. If there is only one IPoA WAN
interface, you must configure static default gateway or default route since IPoA does not support
DHCP.
If the default gateway is configured with the auto option, the system needs to be rebooted before it
can take effect. If there are multiple WAN interfaces with DHCP or PPP enabled, multiple remote
gateway addresses may be received, and the first received will be chosen to be the default gateway.
Options
ipaddress
The IP address of the default gateway in dotted-decimal notation.
interface
Force the default gateway to be associated with the specified device, as the kernel will otherwise
try to determine the device on its own by checking existing routes and devices.
Examples
Enable the system to automatically retrieve the default gateway information from the remote DHCP
server when the system starts. The system needs to be rebooted for the modified configuration to take
effect.
defaultgateway config auto
Set up a static default gateway to 10.6.33.125. It should be immediately effective and is saved to
permanent storage on the flash memory.
defaultgateway config 10.6.33.125
22

Advertisement

Table of Contents
loading

This manual is also suitable for:

6211-i1

Table of Contents