Got it

Configuring the Network for Linux Servers

251 0 0 0 0

The following procedure uses lan2 as an example to describe how to set network port parameters and set a network port as the default route egress.


  1. Run an SSH tool on a computer. Enter the lan2 port default IP address and log in to the SC server as the admin user.

    http://localhost:7890/pages/SEE1219N/13/SEE1219N/13/resources/public_sys-resources/icon-note.gif NOTE:
    • The default IP address and port number used to log in to the SC server are 192.168.1.100 and 122 respectively. The SC server supports only SSH2.
    • The default user name and password of the SC are admin and Change_Me, respectively. To ensure system security, change the password at your first login and note down the new password. If you forget your password, you must reinstall the SC to obtain the default password of the admin user.

  2. Run the following command to change the IP address, subnet mask, and gateway address of the lan2 port:

    system-view sys-config network-config lan2 ipv4 address 10.68.160.104 netmask 255.255.254.0 gateway 10.68.160.1

    Table 1 describes the parameters in the command.

    Table 1 Command parameters

    Parameter

    Description

    lan2

    • To configure the network port labeled 1 on the SC server rear panel, enter lan1.
    • To configure the network port labeled 2 on the SC server rear panel, enter lan2.

    10.68.160.104

    Enter the values of the parameters. For detailed values, refer to 3.4 Networking Plan.

    255.255.254.0

    10.68.160.1

    If the following prompt is returned, proceed to Step 3 without restarting the SC.

    Please restart the system, as some critical configuration items have been modified.

  3. (Optional) Repeat Step 1 and Step 2 to change the network parameters of the lan1 port.

    http://localhost:7890/pages/SEE1219N/13/SEE1219N/13/resources/public_sys-resources/icon-note.gif NOTE:

    This step is required when the SC is set to video firewall mode. In video firewall mode, two network adapters are used, and you need to configure both lan1 and lan2 ports.

  4. (Optional) To enable the SC to communicate with devices on a different network segment, configure a static route for the lan2 port.

    system-view static-route add dest-address dest-address mask-or-prefix mask-or-prefix network-port network-port

    Table 2 describes the parameters in the command.

    Table 2 Command parameters

    Parameter

    Description

    dest-address

    Destination address of the static route.

    mask-or-prefix

    IPv4 subnet mask or IPv6 prefix length.

    network-port

    Identifier of the network port.

    • To configure the network port labeled 1 on the SC server rear panel, enter lan1.
    • To configure the network port labeled 2 on the SC server rear panel, enter lan2.

  5. (Optional) Run the following command to specify the default static route:

    system-view sys-config network-config default-route lan lan2

    http://localhost:7890/pages/SEE1219N/13/SEE1219N/13/resources/public_sys-resources/icon-note.gif NOTE:

    If multiple static routes are available on the SC, specify the default route egress.

    To view the network port settings for the SC, run the dis sys command.

  6. Run the following command to restart the SC for the settings to take effect:

    reboot


Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.