Basic interface settings

 All the mbox hardware comes with Gigabit Ethernet interfaces and each interface by default is in routing/Layer-3 mode. The logical interfaces are configured for specific purposes and they require specific settings, which are illustrated in other sections.

 Below is a list of common settings available for all interfaces:

CONFIGURATION STEPS

SUMMARY STEPS (ETHERNET)

enableconfigureinterface ethnumberlink auto/full/half speed (10/100/1000)enable (no enable)mac address new_macip address ip_address/prefix (no ip address ip_address/prefix)mtu new_mtu_size

CONFIGURATION EXAMPLES

mbox> enablembox#mbox# configurembox(config)# interface eth0mbox(config-if)# enablembox(config-if)# link full 1000  (default link auto)mbox(config-if)# mac address 00:0c:29:7d:f7:79  (change this if ISP require a specific MAC to connect)mbox(config-if)# ip address 203.128.19.100/28 remark "public IP for server 1"mbox(config-if)# ip address 203.128.19.101/28 remark "public IP for server 2"mbox(config-if)# mtu 1500 (optional)mbox(config-if)# exitmbox(config)# ip default-gateway 203.128.19.103mbox# show running-config !interface eth1link full 1000enablemac address 00:0c:29:7d:f7:79ip address 203.128.19.100/28 remark "public IP for server 1"ip address 203.128.19.101/28 remark "public IP for server 2"mtu 1300!ip default-gateway 203.128.19.103!
mbox# show interface eth1 Settings for eth1:       Supported ports: [ TP ]       Supported link modes:   10baseT/Half 10baseT/Full                               100baseT/Half 100baseT/Full                               1000baseT/Full       Supported pause frame use: No       Supports auto-negotiation: Yes       Advertised link modes:  Not reported       Advertised pause frame use: No       Advertised auto-negotiation: No       Speed: 1000Mb/s       Duplex: Full       Port: Twisted Pair       PHYAD: 0       Transceiver: internal       Auto-negotiation: off       MDI-X: Unknown       Supports Wake-on: d       Wake-on: d       Current message level: 0x00000007 (7)                              drv probe link       Link detected: yes mbox# show ip interface eth1 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1300 qdisc pfifo_fast state UP qlen 1000   inet 203.128.19.100/28 brd 203.128.19.111 scope global eth1   inet 203.128.19.101/28 brd 203.128.19.111 scope global secondary eth1