Most AIX system administrators use: smitty tcpip to add a hostname, IP address, network mask, gateway and DNS server setting to get the virtual machines (LPAR) and AIX on a network. And as a side benefit so we don't need to use the ghastly VTERM console any more as ssh or the dreaded unsecure telnet (just don't do it) can now be used - as the root user:
# smitty tcpip
Move cursor to desired item and press Enter.
Minimum Configuration & Startup
Further Configuration
Use DHCP for TCPIP Configuration & Startup
IPV6 Configuration
Quality of Service Configuration & Startup
Configure IP Security (IPv4)
Configure IP Security (IPv6)
Once smitty starts, you take the "Further Configuration" Second line menu option:
Move cursor to desired item and press Enter.
Hostname
Static Routes
Network Interfaces
Name Resolution
Client Network Services
Server Network Services
Manage Print Server
Select BSD style rc Configuration
Start Configured TCPIP Daemons
Stop TCPIP Daemons
Authentication Configuration
Then the Fourth option "Name Resolution"
Move cursor to desired item and press Enter.
Domain Nameserver
Hosts Table (/etc/hosts)
Then the First option "Domain Nameserver"
Move cursor to desired item and press Enter.
Start Using the Nameserver
List All Nameservers
Add a Nameserver
Remove a Nameserver
Stop Using a Nameserver
-------------------------------
Set / Show the Domain
Remove the Domain
Set / Show the Domain Search List
Remove the Domain Search List
Then the Second option "List All Nameservers" for showing existing DNS entry(Coming previous option then press ESC+3).
Then the Fourth option "Remove a Nameserver" for removing old DNS entry.
Then the Third option "Add a Nameserver" for adding DNS entry(For Commit then press ESC+4)
No comments:
Post a Comment