How to set up TCP/IP on AIX

Source: Internet
Author: User

Use commands to set up TCP/IP on most UNIX systems, such as ifconfig and route, and then make the configuration permanent by editing the initialization file. This can also be done in AIX, but it is best to use SMIT for all configurations, which will ensure that the information in the/etc/rc.net and ODM is updated.

1. Configure IP address and host name

Like other operating system support for TCP/IP, AIX first configures IP addresses and host names for communication and resource sharing between hosts. Using Smit is a convenient and reliable way to do the following: Use the Smit shortcut command:

# Smit Mktcpip

First, in the available network Interfaces screen, select the appropriate network interface. These network interfaces are recognized by the cfgmgr when the system is bootup and set to the ODM database.

Then the Minimum Configuration & Startup menu appears, at least to fill in the hostname and Internet address domains, or you can specify whether you want to start TCP now or at bootup when you are in the Start field. /IP.

Other parameters such as netmask, Name service, gateway, and cable type can also be set on this screen. If you leave network MASK domain blank, AIX provides default values based on the system's IP address class. Cabletype the meaning of optional parameters: BNC fine cable, dix thick cable, TP twisted-pair line.

Example:

----------------------------------------------------------------------

Minimum Configuration & Startup

To Delete existing configuration data, please use further configuration menus

Type or select values in entry fields.

Press Enter after making all desired changes.

[Entry Fields]

* HOSTNAME [A2410BJV]

* Internet address (dotted decimal) [15.24.48.58]

Network MASK (dotted decimal) [255.255.248.0]

* Network INTERFACE En0

NAMESERVER

Internet address (dotted decimal) [15.41.144.101]

DOMAIN Name [nsr.hp.com]

Default GATEWAY address [15.24.55.253]

(Dotted decimal or symbolic name)

Your CABLE Type N/A +

START now no +

----------------------------------------------------------------------

The host name can also be set or modified using a private command, as follows

# smit hostname

Select Set the Hostname menu item on the Hostname screen.

Fill in the new host name in the HOSTNAME domain.

2. Routing Management

For today's LAN, the connection with the outside world is essential, so routing and routing management is also necessary.

(1) Increase routing.

To increase the routing for the host, operate as follows:

# Smit Mkroute

Fill in the destination address destination and default gateway address defaults, destination type target types can choose NET or host,metric domain defaults of 1.

----------------------------------------------------------------------

ADD Static Route

Type or select values in entry fields.

Press Enter after making all desired changes.

[Entry Fields]

Destination TYPE Net +

* Destination Address []

(Dotted decimal or symbolic name)

* Default GATEWAY Address []

(Dotted decimal or symbolic name)

* METRIC (number of hops to destination gateway) [1] #

----------------------------------------------------------------------

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.