Sunday, May 3, 2009

AIX - Network - Assign IP address to NIC

Assign IP address to NIC

Using mktcpip or smitty tcpip command we can assign IP address to NIC

#smitty tcpip

It will ask following details

Hostname –
IP address –
Subnet mask –
DNS server –
DNS Server name –
Gateway –
#
Or
#ifconfig en0 inet 192.168.1.1 netmask 255.255.255.0 up (Configure en0 starts Immediately)


After finishing this process ip address assigned to NIC

Or

We can assign one more IP address to same network card

#ifconfig en0 192.168.1.33 alias (adding alias IP to en0)
#ifconfig –en0 192 168.1.33 –alias (Removing alias IP from en0)

1 comment:

  1. Before Assing Ip-Address first know the Ip-Address details like Ip-Address server location,Domain details etc.Ip-address details recently i found in the site www.ip-details.com.All are free of cost.

    ReplyDelete

Note: Only a member of this blog may post a comment.