LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 07-28-2004, 07:43 AM   #1
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
Network settings; where are they stored?


what config file (path and name) are the network settings stored? i know DNS is /etc/resolv.conf but where is the ip, gateway all that good stuff kept?
 
Old 07-28-2004, 12:26 PM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Sorry. I missed that this was AIX specific...
 
Old 07-28-2004, 01:59 PM   #3
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
If you want to know things, "ifconfig -a" works rather well, as in a lot of Unix systems.
If you want to change settings, "smit tcpip" is a AIX menu-driven way to do that. Not the only one, but it works fine.
 
Old 07-28-2004, 02:29 PM   #4
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
They are not stored in a flat file, but in the ODM. They are set with the chdev command, but as zorba says, using smit or websm is easier to start with (and probably to end with).

e.g. to show current settings of ethernet adapter 0
Code:
lsattr -El en0
lsattr -El ent0
note : AIX distinguishes between the physical adapter (ent for ethernet) and the logical device (en for standard ethernet), in a way that is a little confusing at first but makes quite a lot of sense once you get used to it.
 
Old 07-28-2004, 02:43 PM   #5
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
For instance if you gather up several physical ent adapters to create a single hyperchannel tube, which is administrated as a single logical enXX adapter.
 
Old 07-29-2004, 02:39 AM   #6
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Original Poster
Rep: Reputation: 30
ahh, not stored in a specific file.

I've been reading about the physical and logical ethernet adapters, from what i gather even if the physical goes down the logical can carry on talking to the other logical partitions or something.
 
Old 07-29-2004, 05:57 AM   #7
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
@Frustin : OK, you start understanding. Physical adapter, logical driver, gathering several physical adapters in a logical driver giving a single IP address. But Logical Partitions is something else, dealing with CPU's.
 
Old 07-29-2004, 06:08 AM   #8
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Original Poster
Rep: Reputation: 30
ok perhaps i dont.
 
Old 07-29-2004, 03:16 PM   #9
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
Frustin,

You might be thinking of the ability AIX has to have high availability IP addresses. The idea is that you can have a virtual IP address (VIPA) which sits behind two real adapters. If one adapter fails, it carries on using the other one.

This isn't really anything to do with the ent/en (hardware/interface) distinction at the adapter level though. There isn't a case where the failure of a physical adapter doesn't also cause the logical interface for that adapter to fail; merely that the IP address can be transferred to a different adapter.
 
Old 04-19-2005, 06:39 AM   #10
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Original Poster
Rep: Reputation: 30
is this etherchannel? does it cope with load balencing, that sort of thing?
 
Old 04-19-2005, 07:41 AM   #11
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
Quote:
Originally posted by Frustin
ahh, not stored in a specific file.

I've been reading about the physical and logical ethernet adapters, from what i gather even if the physical goes down the logical can carry on talking to the other logical partitions or something.
Kinda... sorta.

What you are talking about here is the Virtual Ethernet, which is available on the new power5 platforms with AIX 5.3 only. The partitions within the machine can talk to each other through the hypervisor on a network that runs about 1 - 3 Gb/s.
 
Old 04-19-2005, 07:44 AM   #12
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
Quote:
Originally posted by Frustin
is this etherchannel? does it cope with load balencing, that sort of thing?
Etherchannel can work in a load balancing mode, but that requires that both/all of your adapters be plugged into the same switch generally. I think this only works on Cisco switches. However, there is a backup mode that it can operate in, which will allow you to plug into two different switches. If the primary fails then it will automagically switch over to the second adapter. We use this alot around here, and it works beautifully.
 
Old 04-19-2005, 07:51 AM   #13
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by looseCannon
Kinda... sorta.

What you are talking about here is the Virtual Ethernet, which is available on the new power5 platforms with AIX 5.3 only. The partitions within the machine can talk to each other through the hypervisor on a network that runs about 1 - 3 Gb/s.
I am running 5.1 and the VIPA was available to me. Albeit i didnt have the option to add ethnet channels.

i am still confused with the difference between VIPA and etherchannel.
 
Old 04-19-2005, 01:03 PM   #14
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
Essentially there is very little difference in the way the function. VIPA will work across two switches and broadcast multiple addresses, one of which is a "highly available" address. Etherchannel broadcasts a single address.

The other bit of fun with with VIPA is having to set up gated.conf. This part of VIPA confused me, as I am by no means a network type person.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
network settings... piyushiitk Linux - Newbie 16 11-06-2005 07:10 PM
Network Settings kunkumd Linux - Software 1 05-06-2005 12:53 PM
Network settings jklaroe Slackware 5 06-19-2004 05:17 PM
MDK Multi-network-firewall - where are the network logs stored? Avatar Mandriva 5 02-11-2004 08:44 PM
Where is the network configuration stored??? david_wliu Linux - Networking 2 03-06-2003 10:54 AM


All times are GMT -5. The time now is 11:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration