AIX with 2 Net Interfaces lose connectivity


 
Thread Tools Search this Thread
Operating Systems AIX AIX with 2 Net Interfaces lose connectivity
# 22  
Old 07-09-2014
Quote:
Originally Posted by bakunin
Some questions which might shed a bit more light on the issue:

- you said you use 2 physical NICs in your LPAR. There is an etherchannel formed of the two NICs. How are those NICs connected? Are there different switches, which VLANs are configured on the ports, etc..

bakunin
thanks a lot bakunin

OK, this virtual NICs in each LPAR are independant theyselft, the etherchannel is at the VIO level, and this etherchannel allows several VLANs

Quote:
- we have seen mixed data, once from a production server, once from a test server. If your procuction server is the one described in #8, having two interfaces "10.10.10.11" and "10.10.20.11" and your subnet masks are "255.255.255.0" then your routing for "en1" is definitely wrong. With a subnet mask of 24 bit your interface "10.10.20.11" is in the network range "10.10.20.0-255". In other words, your default gateway is not reachable from your second interface.
yes #8 is from a Production server
got you point about the subnet mask (the IPs are not real) anyway even when they are not real my network team uses IP 10.4.25 - using always /24 as a mask

talking about gateway I don't remember If I mentioned it, en1 takes the same gateway set in en0

Quote:
- in addition, your routing table in #8 shows two entries directing "10.10.10.11" and "10.10.20.11" over "127.0.0.1". What is that supposed to do? If these both would work (gladly they do not) you would effectively prohibiting any network traffic by directing any outgoing traffic to the loopback device.
I have no idea, that is by default I don't think our customer added that
# 23  
Old 07-09-2014
Quote:
Originally Posted by karlochacon
OK, this virtual NICs in each LPAR are independant theyselft, the etherchannel is at the VIO level, and this etherchannel allows several VLANs
hmm, in 3 you said there is no VIOS, now i am confused. Please describe your (physical and virtual) network setup in detail, from the switch to the kernel.

Quote:
Originally Posted by karlochacon
I have no idea, that is by default I don't think our customer added that
I don't think this is default. I even suppose this is why you lose connectivity sometimes. If a packet comes in on interface 1 this doesn't necessarily have to answer if two (or more) interfaces are in the same subnet. It could be any other interface in this network too. If your en1 answers and this traffic is routed to the loopback device, the connection would never come to pass.

I suggest you investigate this, IMHO this is the most likely source of the problem.

For a proper routing table you need 3 entries:

1) a default route, telling the system where to send everything for which no rule exists,

2) route directing everything on the "home net" to the interface in the net,

3) a loopback, directing 127/8 to lo0.

For instance: your network on en0 is 10.10.10/24, your IP is 11. Your second network is "10.10.20/24", IP is 11 again. You will need 4 rules for that:


1) default -> nearest router, say, 10.10.10.1
2) 10.10.10/24 -> 10.10.10.11
3) 10.10.20/24 -> 10.10.20.11
4) 127/8 -> 127.0.0.1

I hope this helps.

Last edited by bakunin; 07-10-2014 at 03:06 AM.. Reason: corrected typo
# 24  
Old 07-10-2014
Quote:
Originally Posted by bakunin
hmm, in 3 you said there is no VIOS, now i am confused. Please describe your (physical and virtual) network setup in detail, from the switch to the kernel.
OK,

AIX-TSM Server is a Power 710, where AIX was installed on top of it. This servers has no VIO.

has two NICs
en0 administration
en1-en2 backup in etherchannel ( anyway without etherchannel we tried as well and the issue is still there just using en1)

Quote:
I don't think this is default. I even suppose this is why you lose connectivity sometimes. If a packet comes in on interface 1 this doesn't necessarily have to answer if two (or more) interfaces are in the same subnet. It could be any other interface in this network too. If your en1 answers and this traffic is routed to the loopback device, the connection would never come to pass.

I suggest you investigate this, IMHO this is the most likely source of the problem.
Good point

Quote:
For a proper routing table you need 3 entries:

1) a default route, telling the system where to send everything for which no rule exists,

2) route directing everything on the "home net" to the interface in the net,

3) a loopback, directing 127/8 to lo0.

For instance: your network on en0 is 10.10.10/24, your IP is 11. Your second network is "10.10.20/24", IP is 11 again. You will need 4 rules for that:


1) default -> nearest router, say, 10.10.10.1
2) 10.10.10/24 -> 10.10.10.11
3) 10.10.20/24 -> 10.10.20.11
4) 127/8 -> 127.0.0.1

I hope this helps.
we might need to take a look at this then
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Temporarily lose connection to AIX box

Hello All, I have a strange problem and I'm hoping someone can help. I honestly don't know where else to look. I have a number of AIX boxes in my environment and for some reason I would periodically lose connectivity to all services (except ping) to one of my boxes. It happens sporadically... (2 Replies)
Discussion started by: bbbngowc
2 Replies

2. AIX

Udp_sendspace setting in AIX diff interfaces

Hey, would like to set udp_sendspace parameters in diferrent interface ent2 ent3 ent4 , no -p -o udp_sendspace=65536 just set on ent2 and chdev -l ent3 -a udp_sendspace=65536 doesn't work is that possible to set up this parameters by interface? (1 Reply)
Discussion started by: prpkrk
1 Replies

3. Solaris

Interfaces and Virtual-interfaces queries

Hi Al, In course of understanding networking in Solaris, I have these doubts on Interfaces. Please clarify me. I have done fair research in this site and others but could not be clarified. 1. In the "ifconfig -a" command, I see many interfaces and their configurations. But I see many... (1 Reply)
Discussion started by: satish51392111
1 Replies

4. AIX

ODBC Connectivity between Oracle10g on AIX and Mainframe

Hi, I have a task of setting up connectivity between Oracle 10g (AIX) and Mainframe (1 library). Went through couple of documents, forums, blogs etc. MY understanding is ODBC Generic Connectivity is free from Oracle side. Question: (may be dumb to you) 1. Has anybody done this and would... (3 Replies)
Discussion started by: jvmani_1
3 Replies

5. AIX

Connectivity from WIndows to AIX

Hi, We have installed oracle on a AIX machine and when we try to connect to AIX machine from oracle client installed on a windows machine or do a telnet to AIX machine on 1521 port , it throws an error connection refused on port 1521 , where all the ports and firewalls are open from windows to... (2 Replies)
Discussion started by: adityakp123
2 Replies

6. Programming

How to run C#.NET in AIX

Hi Guys Am new in UNIX environment I was asked by my boss to write a program that transfer files from the AIX server to the Wintel Server. I have written the program in C# windows which does almost the same thing. So how to run the C# program in UNIX? (1 Reply)
Discussion started by: michmsk
1 Replies

7. UNIX for Advanced & Expert Users

Running C#.NET program in AIX?

Hi Guys Am new in UNIX environment I was asked by my boss to write a program that transfer files from the AIX server to the Wintel Server. I have written the program in C# windows which does almost the same thing. So how to run the C# program in UNIX? (1 Reply)
Discussion started by: michmsk
1 Replies

8. Solaris

list of physical net interfaces

hi, Can I listdown all available net interfaces on my system like SF4800 or Netra440. I know there are 4 port physically present but I can't see or list them using either sysdef -v prtconf -vp prtdiag -v dladm kstat may be I'm missing switched on these or may some other command... (8 Replies)
Discussion started by: busyboy
8 Replies

9. Shell Programming and Scripting

Net::SFTP problem AIX

I am having an issue while trying to run the Net::SFTP module. I have been able to install this on several machines before but have never had this problem. When I am running a simple script to test the sftp it dies but does not trigger the print statement for my error. The last line is in red. ... (0 Replies)
Discussion started by: kofs79
0 Replies
Login or Register to Ask a Question