I have some doubt about the NIC device on my AIX box.
When using lsdev command
If I check the physical location of NICs
I can see we have en1 ... en6 (without 't') and ent1....ent6.
What is the difference between the en1 and ent1 and so on ... ?
If checking the IP, I can see only "enX" (again without 't')
If I check with smitty tcpip, I see another "etX"
I notice only enX could have IP configured, etX not.
Another thing, If look again the ifconfig, can see that en6 and en5 has 1 same IP 10.176.x.65 --> how can it?
en6 has 2 IPs, but look in the smitty, just see only 1 IP 10.176.x.65 so where to configure the second IP 10.176.x.127???
Ok, WOW that is a mess.
Someone at one point in time felt it was needed to give two Physical adapters, two VIO adapters, and then somewhere they built a failover/link aggeration adapter with what I am going to assume is built from the two VIO Ethernet's
So ent adapters are used to specify the hardware adapter. Has nothing to do with TCP/IP address.
en represents the interface associated with hardware adapter. So, en0 *should* reference ent0. I say should because you can do "stupid" things like renaming an adapter!
et is used for IEE 802.3
Likely you are seeing an IP alias, that's why you have two ip's on the same adapter.
Now, as to two adapters with same IP, one could be disconnected at the physical layer.
**EDIT again. You can assign an IP to the ETherChannel adapter, and then the parent adapter. But its not a good way to go about it. That actually looks like what is happening here. Or someone tried to remove a backup adapter from the EtherChannel and gave it the IP.
To be honest, I'm not even sure where to begin with cleaning this up, or how far you want to go.
I'd recommend tracking down what ip's and what adapters are actually in use.
For the physical adapters, entstat -d <entX> should return in the output a 'PHYS_LINK_UP'
I am unsure on tracking it from the VIO side of things. You would have to trace from the client lpar, to the vio and look at the configuration.
From what you posted, it really looks to me like someone took the VIO ethernet adapters (ent4 and ent6) to create the EtherChannel adapter ent5, and en5 is your actual link to the outside world.
If that's the case, that's not an ideal configuration.
You should build your EtherChannel adapters at the VIO level, so ent1 and ent2 to make ent3, present ent3 up to the virtual switch so the client uses ent3 from the vio's for communication (client lpar would see it as ent0). Even if you had dual lpars, the setup would be the same because the virtual switch would handle any failover between the vio's.
There's a very good chance to clean this up properly you may have to sell an extended downtime.
**Edit: Also concerns me that the VIO may not be properly configured as well.
Last edited by RecoveryOne; 05-15-2019 at 08:30 PM..
This User Gave Thanks to RecoveryOne For This Post:
Likely you are seeing an IP alias, that's why you have two ip's on the same adapter.
Now, as to two adapters with same IP, one could be disconnected at the physical layer.
**EDIT again. You can assign an IP to the ETherChannel adapter, and then the parent adapter. But its not a good way to go about it. That actually looks like what is happening here. Or someone tried to remove a backup adapter from the EtherChannel and gave it the IP.
How can I see where the alias IP is configured?
Quote:
To be honest, I'm not even sure where to begin with cleaning this up, or how far you want to go.
I can go very far
Could you shed some light on the parent Ether and child Ether?
And also with this, et is not used for IP address?
Quote:
et is used for IEE 802.3
--- Post updated at 05:18 AM ---
Hello,
After cleaning up, it's birghter
But I not yet find out where the alias IP (either 10.176.x.65 or 10.176.x.127) is configured.
So to set/remove alias the clean way I recommend: smitty tcpip --> Further configuration -->Network interface -->Network interface selection -->Configure alias
Once done, I do recommend checking against the ODM to make sure it was properly removed. I have had a few bad experiences where it was removed and yet the ODM hung onto it.
That would be
where enX is your adapter.
You should only see the primary network attributes.
Now, before you DO remove the alias, you should know why there was an alias setup in the first place! Is anything using that alias?
The few times I had alias's was for Oracle Databases, HA cluster, or I needed a route to a secure segment that was funky to setup.
I'm sure there's other use cases, but those are my only experiences.
smitty tcpip --> Further configuration -->Network interface -->Network interface selection -->Configure alias
I have gone through this, but I don't see the alias IP. I think we have to put the alias IP here to remove. It's not already there for us to choose to remove
1 more question, in the linux we can edit the ifcfg-ethx to make some changes. So on AIX, which file can we do the same to make changes to IP configuration?
No you do not want to add an alias to remove an alias.
Also, its not as simple as editing a file on AIX to add in changes. AIX has whats called the ODM (Object Data Manager). The ODM is where the OS stores and maintains a lot of parameters about what is configured and set. Now, there are some files you can edit and cycle the services to take affect right away. Some examples are syslog.conf and sendmail.cf. The /etc/resolv.conf can also be edited on the fly if so necessary.
Could you paste the output of
for all your Ethernet devices? That would help us understand where that 2nd ip address is coming from.
I have Xubuntu 18.04 installed on my PC. I have created a 10G .img image file created by QEMU-IMG. I have installed inside of it Solaris 9 SPARC edition . If I try and mount the image file as a loop device (using sudo losetup /dev/loop0 /path-to-img-file) I can only mount it as read only.
... (1 Reply)
Hello Admins,
My ask is how can I add two different subnet IPs to same box with two different gateways?
The issue is I can connect to the box when I am on ethernet LAN, but I am not able to connect to the same IP when I am on wifi. The server is RHEL 7 VM on vmware.
How can I get connected... (4 Replies)
NIC port is down on IBM Frame. From the back its slot C7/C8. The network switch is the problem, and a new switch will be coming into play. There's one VIO and one LPAR.
How do i tell the port is down in the OS on the VIO? And how can i verify it's backup without pulling cables? We have a... (1 Reply)
Dear All
I want tune my NIC's rps, rfs and xps value.
In my system I have two NIC (eth0, eth1) and I have a bond0 ( eth0, eth1).
Here is the question? Which device should I modify ?
eth0 and eth1? or just modify bond0 or modify all device (eth0, eth1, bond0)
Any advice is welcome.... (0 Replies)
Hi, I have the following packages installed on my AIX server
xlC.aix50.rte 10.1.0.2 COMMITTED XL C/C++ Runtime for AIX 5.3
xlC.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 10.1.0.2 COMMITTED XL C/C++ Runtime
xlC.rte... (4 Replies)
I couldn't install my nic in solaris 10. I compiled and added
the driver but failed to attach the driver and ifconfig output
shows only loopback dev. Please see the following output and tell
me whether my nic has been detected and why the driver failed to
attach?
My nic is detected in linux... (0 Replies)
Hi All,
How can I find out which is ETH5 on my AIX P5 system. I have about seven different NIC card on this. I did move the cable to each one but still I was not able to see the link light up when I did netstat -v
Any idea?
Thanks. (2 Replies)
I need to delete a TTY in my AIX 4.3 system. I have tried using the smit but everytime I try it, there is a message telling me that the device is in use and cannot be changed. How do I take the device "offline", so to speak, so that I can edit the settings and/or delete it.
V/R
Djassi (3 Replies)