Network configuration

Configuring an Ethernet interface

The names of the interfaces are:

  • Ethernet0: out
  • Ethernet1: in
  • Ethernet2: dmz1
  • Ethernet3: dmz2

Static IP address

  • Configure the in interface with static IP address 192.168.1.254/24.

 

CONFIG NETWORK INTERFACE ADDRESS ADD ifname=ethernet1 address=192.168.1.254 mask=24 addressComment=
CONFIG NETWORK INTERFACE ACTIVATE

Dynamic IP address

  • Configure the out interface via DHCP.

 

CONFIG NETWORK INTERFACE ADDRESS ADD ifname=ethernet0 address=DHCP dhcpLeaseTime=0 requestDns=1
CONFIG NETWORK INTERFACE ACTIVATE