114 CHAPTER 9: CONFIGURING LAN INTERFACE
Typical Ethernet
Interface
Configuration
Example
I. Networking Requirement
As shown below, the Ethernet interfaces of Routers A is connected to IP networks
192.168.0.0. The computer in LAN connects to the Internet through Router A. Set
the MTU of Ethernet interface to 1492 bytes, and set the frame format to
Ethernet_II.
II. Network Diagram
Figure 45 Networking diagram of Ethernet configuration example
III. Configuration Procedure
1 Specify the IP address as 192.168.0.1 and the mask as 255.255.255.0.
[Router]interface ethernet 0
[Router-Ethernet0]ip address 192.168.0.1 255.255.255.0
2 Set MTU of the interface to 1492 bytes and frame format to Ethernet_II.
[Router-Ethernet0]mtu 1492
[Router-Ethernet0]send-frame-type ethernet_ii
Troubleshooting The following test methods can be used to check faulty Ethernet interface is
faulty:
■ Ping the Ethernet interface from the host located in the same LAN as the router
to observe whether the returned messages are correct.
■ View the statistic information of two ends of the connection (such as the router
and switch) to observe whether the statistic number of the received error
frames increases quickly.
If either test fails to pass, it indicates that the Ethernet interface of the router or
the connected Ethernet is abnormal.
After confirming the fault, proceed as follows:
1 View whether the LAN connection between the host and router is correct.
If the Ethernet is connected with HUB or LAN Switch, please check the status of
relevant link indicators on HUB or LAN Switch. If the indicators are on, it means
that the Ethernet interfaces of the host and router and the network cable are
physically correct. Otherwise, please replace such faulty physical equipment as the
network adapter, network cable, router or relevant interface module.
When the Ethernet is connected with unshielded twisted pair and at least one of
the connected parties supports 100BASE-TX, rate matching must be taken into
consideration. If the working rates of two parties do not match, i.e. one works in
100 Mbps mode while the other works in 10 Mbps mode, then the fault is that
Internet
Interface Address
192.168.0.1
E0
LAN
Router A
Network Address
192.168.0.0