Sponsored Content
Operating Systems AIX AIX with 2 Net Interfaces lose connectivity Post 302908710 by bakunin on Wednesday 9th of July 2014 09:22:26 PM
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
routing(7P)							     Protocols							       routing(7P)

NAME
routing - system support for packet network routing DESCRIPTION
The network facilities provide general packet routing. The routing interface described here can be used to maintain the system's IPv4 rout- ing table. It has been maintained for compatibility with older applications. The recommended interface for maintaining the system's routing tables is the routing socket, described at route(7P). The routing socket can be used to manipulate both the IPv4 and IPv6 routing tables of the system. Routing table maintenance may be implemented in applications processes. A simple set of data structures compose a "routing table" used in selecting the appropriate network interface when transmitting packets. This table contains a single entry for each route to a specific network or host. The routing table was designed to support routing for the Internet Protocol (IP), but its implementation is protocol independent and thus it may serve other protocols as well. User programs may manipulate this data base with the aid of two ioctl(2) commands, SIOCADDRT and SIOCDELRT. These commands allow the addition and deletion of a single routing table entry, respectively. Routing table manipulations may only be carried out by privileged user. A routing table entry has the following form, as defined in /usr/include/net/route.h: struct rtentry { unit_t rt_hash; /* to speed lookups */ struct sockaddr rt_dst; /* key */ struct sockaddr rt_gateway; /* value */ short rt_flags; /* up/down?, host/net */ short rt_refcnt; /* # held references */ unit_t rt_use; /* raw # packets forwarded */ /* * The kernel does not use this field, and without it the structure is * datamodel independent. */ #if !defined(_KERNEL) struct ifnet *rt_ifp; /* the answer: interface to use */ #endif /* !defined(_KERNEL) */ }; with rt_flags defined from: #define RTF_UP 0x1 /* route usable */ #define RTF_GATEWAY 0x2 /* destination is a gateway */ #define RTF_HOST 0x4 /* host entry (net otherwise) */ There are three types of routing table entries: those for a specific host, those for all hosts on a specific network, and those for any destination not matched by entries of the first two types, called a wildcard route. Each network interface installs a routing table entry when it is initialized. Normally the interface specifies if the route through it is a "direct" connection to the destination host or network. If the route is direct, the transport layer of a protocol family usually requests the packet be sent to the same host specified in the packet. Otherwise, the interface may be requested to address the packet to an entity different from the eventual recipient; essentially, the packet is forwarded. Routing table entries installed by a user process may not specify the hash, reference count, use, or interface fields; these are filled in by the routing routines. If a route is in use when it is deleted, meaning its rt_refcnt is non-zero, the resources associated with it will not be reclaimed until all references to it are removed. User processes read the routing tables through the /dev/ip device. The rt_use field contains the number of packets sent along the route. This value is used to select among multiple routes to the same desti- nation. When multiple routes to the same destination exist, the least used route is selected. A wildcard routing entry is specified with a zero destination address value. Wildcard routes are used only when the system fails to find a route to the destination host and network. The combination of wildcard routes and routing redirects can provide an economical mechanism for routing traffic. ERRORS
EEXIST A request was made to duplicate an existing entry. ESRCH A request was made to delete a non-existent entry. ENOBUFS Insufficient resources were available to install a new route. ENOMEM Insufficient resources were available to install a new route. ENETUNREACH The gateway is not directly reachable. For example, it does not match the destination/subnet on any of the network interfaces. FILES
/dev/ip IP device driver SEE ALSO
route(1M), ioctl(2), route(7P) SunOS 5.10 9 Nov 1999 routing(7P)
All times are GMT -4. The time now is 02:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy