4 Configuration files
VoIPBox DSL / VoIPBox BRI – version 21.0.009
Page 55
4.1.1
System section configuration
The
[System]
section contains entries that define the default
gateway and/or special routing entries. To define the stan-
dard gateway, use the following entry to set the IP address:
If you must route specific net ranges to gateways other than
what is defined in the default route, make the following en-
tries in the [System] section:
If only certain routes apply, leave the line
DefaultGw
empty.
[dslppp]
These section contains settings for the PPP interface used for
the DSL connection.
[iptables]
This section contains settings for NAT and the system’s fire-
wall.
[dnsmasq]
This section enables the DHCP server the appropriate settings.
Table 4.3
Sections in the ip.cfg File
(continued)
Section
Function
DefaultGw=<ip addr>
Example 4.1
Default gateway configuration
[System]
DefaultGw=192.168.1.254
Route= -net <target ip> / <net mask> gw <ip gateway> [dev <device>]
Example 4.2
Routing specific net ranges
[System]
DefaultGw=192.168.1.254
Route= -net 10.0.0.0/12 gw 192.168.1.1 dev br0
Summary of Contents for VoIP Box BRI Series
Page 1: ...VoIPBox DSL VoIPBox BRI Reference Manual Software version 21 0...
Page 15: ...1 Safety and security precautions...
Page 23: ...2 Overview...
Page 28: ...3 VoIPBoxinstallation...
Page 52: ...4 Configuration files...
Page 88: ...5 Additional VoIP parameters...
Page 114: ...6 Signaling and routing features...
Page 141: ...7 System maintenance and software update...
Page 181: ...8 Online traffic monitor...
Page 193: ...9 Troubleshooting...
Page 212: ...Appendix A Default config files...