Basic IP related settings

There are a few essential parameters related to general IP settings.

    • Default IP gateway. This is compulsory if WAN interface is not using DHCP.

    • name server setting. This important for mbox to connect to mfusion portal for central monitoring and configuration management.

    • host mapping. Map a specific hostname to a IP address, instead of using name-server resolution. This is generally optional unless there are specific requirements.

    • DDNS client configuration. This is needed when WAN IP address is dynamic, and sometimes we need to connect back to certain internal hosts. DDNS client updates periodically on the mbox WAN IP address so we can connect to the mbox using DDNS domain names from outside.

SAMPLE CONFIGURATIONS

-----------------!hostname mbox!interface eth0 description "connection to Internet" enable ip address dhcp !interface eth1 description "to internal LAN" enable ip address 10.1.1.254/24 dhcp-server description "DHCP scope for Internal users" dns 8.8.8.8 8.8.4.4 domain ransnet.com range 192.168.101.5 192.168.101.100 enable!ip host mbox.ransnet.com 49.128.58.69!ip name-server 8.8.8.8 8.8.4.4 ! ip dhcp-server start!firewall-access 10 permit outbound eth0 ! firewall-snat 10 overload outbound eth0!