en0 - shows you the ip addresses , subnet mask etcc use lsattr -El en0 . You use this to add ip address
ent - shows / sets the hardware settings on the card
lsattr -El ent0 ( sets speed , mac adress etc..)e.g. normally use this to change say speed if card from auto to 100MB full
I have just installed a 10/100 Ethernet PCI Network Adapter card into an RS6000 model 140. The onboard adapter is already configured (ip address etc). The new device is listed in (smit - list devices) but I don't seem to be able to configure it or instruct the other tcpip settings to use the new interface card.
a machine with 2 nics, creates always some problems.
Remeber a thing: also if you have 10 network cards
with 10 different IPaddr, or more than 1 ipaddr on a nic
(called alias in AIX),
your machine has just 1 hostname.
Then, if you can configure the 1st nic by :
smitty mktcpip
end choose en0
enter hostname and ip params,
you cannot use this for the second.
(Think in Windows: ComputerName and Lan Configurations
are in different points on desktop)
For the 2nd nic use: smitty inet
is similar but does not ask you for hostname.
Be carefull: smitty mktcpip, put entries in /etc/hosts
and does not leave this correct. You can find in it
duplicate rows with same hostname an different ip or
viceversa.
If you are "in panne", follow these:
- ensure that 2nd nic has a right driver from AIX cd
- remove bad entries in /etc/hosts
- smitty inet
Remove a Network Interface
remove all ( should be 4 )
- insert cd1 of AIX
- smitty cfgmgr
choose by F4 /dev/cd0 as INPUT device
fire
- smitty mktcpip ( for 1st nic )
- smitty inet ( for 2nd nic )
- have a look at /etc/hosts
- warning at the routing tables:
a nic on net B ( 192.168.2.0 - FFFFFF00) cannot
way out packets from the Default Gateway 192.168.1.251
of the net net A ( 192.168.1.0 - FFFFFF00)
With two network interface cards, you can configure a Virtual Interface (VIPA), or an etherchannel in port aggregation or backup mode (mi favourite).
In AIX 5L 5.2 Doc CD See System Management Guide: Communications and Networks -> Transmission Control Protocol / Internet Protocol -> VIPA / Etherchannel
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.