beautypg.com

Example text configuration file, Example text configuration file -3 – Netopia CLI 874 User Manual

Page 181

background image

Motorola Netopia® Router Text Configuration Upload 4-3

Example Text Configuration File

The following text file is provided for your use as an example. Make your own appropriate substitutions.

Note: All commands, including the last, must be followed by an appropriate end-of-line sequence (Carriage
Return, Line Feed, or Carriage Return/Line Feed pair).

;Example config file

;LAN configuration

;set ethernet address

interface ethernet 0 ip address 163.176.227.1/24

;set a secondary ethernet address

interface ethernet 0 ip address 163.176.254.1/24 secondary

;set default gateway to 163.176.224.1

ip gateway 163.176.224.1

;set Rx and Tx RIP

interface ethernet 0 ip rip receive both

interface ethernet 0 ip rip transmit v1

;set dns 1 and dns 2

ip dns 1 163.176.4.10

ip dns 2 163.176.4.31

;set domain name

ip domain-name netopia.com

;configure IP address serving to serve 100 addresses off the 163.176.227.0/24 subnet

ip address-serve 163.176.227.101 163.176.227.201 dhcp

ip address-serve mode server

;other possible commands include:

;interface wan 1 dle ppp

;interface wan 1 dle rfc1483

;user mysecurname mysecurpass

;WAN configuration

;instantiate profile 1 with name "My ISP" and DLE type RFC1483

cp 1

cp 1 tag "My ISP"

;set up profile addressing

cp 1 ip address local 163.176.224.2

;other possible commands include:

;cp 2

;cp 16

;cp 1 ip nat enabled no