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
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
net::subnets
Net::Subnets(3pm) User Contributed Perl Documentation Net::Subnets(3pm)
NAME
Net::Subnets - Computing Subnets In Large Scale Networks
SYNOPSIS
use Net::Subnets;
my $sn = Net::Subnets->new;
$sn->subnets(@subnets);
if (my $subnetref = $sn->check($address)) {
...
}
my ($lowipref, highipref) = $sn->range($subnet);
my $listref = $sn->list(($lowipref, $highipref));
DESCRIPTION
Very fast matches large lists of IP addresses against many CIDR subnets and calculates IP address ranges.
This is a simple and efficient example for subnet matching:
use Net::Subnets;
my @subnets = qw(10.0.0.0/24 10.0.1.0/24);
my @addresses = qw/10.0.0.1 10.0.1.2 10.0.3.1/;
my $sn = Net::Subnets->new;
$sn->subnets(@subnets);
my $results;
foreach my $address (@addresses) {
if (my $subnetref = $sn->check($address)) {
$results .= "$address: $$subnetref
";
}
else {
$results .= "$address: not found
";
}
}
print($results);
This is a simple example for range calculation:
use Net::Subnets;
my @subnets = qw(10.0.0.0/24 10.0.1.0/24);
my $sn = Net::Subnets->new;
my $results;
foreach my $subnet (@subnets) {
my ($lowipref, $highipref) = $sn->range($subnet);
$results .= "$subnet: $$lowipref - $$highipref
";
}
print( $results );
This is a simple example for list generation:
use Net::Subnets;
my $lowip = '192.168.0.1';
my $highip = '192.168.0.100';
my $sn = Net::Subnets->new;
my $listref = $sn->list(($lowip, $highip));
foreach my $address (@$listref) {
# do something cool
}
METHODS
"new"
my $subnets = Net::Subnets->new;
Creates an "Net::Subnets" object.
"subnets"
$subnets->subnets([qw(10.0.0.0/24 10.0.1.0/24)]);
The C<subnets> method lets you prepare a list of CIDR subnets.
"check"
my $match = $subnets->check($address);
The C<check> method lets you check an IP address against the previously
prepared subnets.
"range"
my ($lowest, $highest) = $subnets->range($subnet)
The C<range> method lets you calculate the IP address range of a subnet.
"list"
my $list = $subnets->list($lowest, $highest);
The C<list> method lets you calculate a list containing all IP addresses
in a given range.
AUTHOR
Sebastian Riedel (sri@cpan.org), Juergen Peters (juergen.peters@taulmarill.de)
COPYRIGHT AND LICENSE
Copyright (C) 2003-2009, Sebastian Riedel.
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.
perl v5.10.1 2009-12-18 Net::Subnets(3pm)