ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
zone assist
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 155.216.1.71 netmask fffffff0 broadcast 155.216.1.79
ether 0:3:ba:da:a6:93
ce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 155.216.13.72 netmask fffffff0 broadcast 155.216.1.79
ether 0:3:ba:da:a6:94
ce2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
inet 155.216.1.73 netmask fffffff0 broadcast 155.216.1.79
ether 0:3:ba:da:a6:95
ce3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
inet 0.0.0.0 netmask ff000000
ether 0:3:ba:da:a6:96
ce3:1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
zone assist
inet 155.216.1.74 netmask fffffff0 broadcast 155.216.1.79
Your ce3 interface does not have a link to the network as there is no "RUNNING" status. (see the other interfaces) If you correct this error I'm sure most of your issues will disappear.
Last edited by bluescreen; 01-04-2011 at 04:13 PM..
These 2 Users Gave Thanks to bluescreen For This Post:
I am seeking help from the gurus in this forum and hope that I can find answers soon. Anyone who provide the answers will be greatly appreciated.
I have a sparc box with Solaris 10 on it. We install Solaris with zone structure. One global zone and two other zone. I installed Oracle DB on global... (6 Replies)
Hi All ,
I try to install some packages in my global zone...
On the execution of the installion of the script it quits by saying the error
"Non global zone check failed"
Kindly help me in this regard
Thanks in advance,
jeganr (7 Replies)
Hi All,
I Have Sun SPARC T5220 is a single processor machine with 8 cores.
I want to create a zone which should take 3 cores.
So how can I Configure those 3 cores to zone?
and
Once I configured some particular cores to zone and if I want to increase or decrease the cores how can I do it?
... (4 Replies)
We have solaris 10 server that has the been re-installed with OS after OS got currupted. The old ZONE contents has been now restored from backup.Now when we try to check for the zones by listing command, I could find only global zone running. Kindly let me know how to install/configure the zone to... (2 Replies)
Hi Guys,
when you add a file system in a zone during configuration, do you have to add it in the global zones etc/vfstab? Do you have to do any mounting ?
Thanks lots guys. (2 Replies)
Dear all,
recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes.
I did the following:
host1:
$ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed
$ zpool export zone1
host2:
$ zpool... (2 Replies)
I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially
Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Hi, hoping someone can help, its been a while since I used Solaris.
After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin)
However, the NGZ cannot access any other netwqork devices, it can't even see the default router
... (2 Replies)
Discussion started by: GazinLincoln
2 Replies
LEARN ABOUT DEBIAN
io::interface::simple
Interface::Simple(3pm) User Contributed Perl Documentation Interface::Simple(3pm)NAME
IO::Interface::Simple - Perl extension for access to network card configuration information
SYNOPSIS
use IO::Interface::Simple;
my $if1 = IO::Interface::Simple->new('eth0');
my $if2 = IO::Interface::Simple->new_from_address('127.0.0.1');
my $if3 = IO::Interface::Simple->new_from_index(1);
my @interfaces = IO::Interface::Simple->interfaces;
for my $if (@interfaces) {
print "interface = $if
";
print "addr = ",$if->address,"
",
"broadcast = ",$if->broadcast,"
",
"netmask = ",$if->netmask,"
",
"dstaddr = ",$if->dstaddr,"
",
"hwaddr = ",$if->hwaddr,"
",
"mtu = ",$if->mtu,"
",
"metric = ",$if->metric,"
",
"index = ",$if->index,"
";
print "is running
" if $if->is_running;
print "is broadcast
" if $if->is_broadcast;
print "is p-to-p
" if $if->is_pt2pt;
print "is loopback
" if $if->is_loopback;
print "is promiscuous
" if $if->is_promiscuous;
print "is multicast
" if $if->is_multicast;
print "is notrailers
" if $if->is_notrailers;
print "is noarp
" if $if->is_noarp;
}
DESCRIPTION
IO::Interface::Simple allows you to interrogate and change network interfaces. It has overlapping functionality with Net::Interface, but
might compile and run on more platforms.
Class Methods
$interface = IO::Interface::Simple->new('eth0')
Given an interface name, new() creates an interface object.
@iflist = IO::Interface::Simple->interfaces;
Returns a list of active interface objects.
$interface = IO::Interface::Simple->new_from_address('192.168.0.1')
Returns the interface object corresponding to the given address.
$interface = IO::Interface::Simple->new_from_index(2)
Returns the interface object corresponding to the given numeric index. This is only supported on BSD-ish platforms.
Object Methods
$name = $interface->name
Get the name of the interface. The interface object is also overloaded so that if you use it in a string context it is the same as
calling name().
$index = $interface->index
Get the index of the interface. This is only supported on BSD-like platforms.
$addr = $interface->address([$newaddr])
Get or set the interface's address.
$addr = $interface->broadcast([$newaddr])
Get or set the interface's broadcast address.
$addr = $interface->netmask([$newmask])
Get or set the interface's netmask.
$addr = $interface->hwaddr([$newaddr])
Get or set the interface's hardware address.
$addr = $interface->mtu([$newmtu])
Get or set the interface's MTU.
$addr = $interface->metric([$newmetric])
Get or set the interface's metric.
$flags = $interface->flags([$newflags])
Get or set the interface's flags. These can be ANDed with the IFF constants exported by IO::Interface or Net::Interface in order to
interrogate the state and capabilities of the interface. However, it is probably more convenient to use the broken-out methods listed
below.
$flag = $interface->is_running([$newflag])
$flag = $interface->is_broadcast([$newflag])
$flag = $interface->is_pt2pt([$newflag])
$flag = $interface->is_loopback([$newflag])
$flag = $interface->is_promiscuous([$newflag])
$flag = $interface->is_multicast([$newflag])
$flag = $interface->is_notrailers([$newflag])
$flag = $interface->is_noarp([$newflag])
Get or set the corresponding configuration parameters. Note that the operating system may not let you set some of these.
AUTHOR
Lincoln Stein <lstein@cshl.org>
This module is distributed under the same license as Perl itself.
SEE ALSO
perl, IO::Socket, IO::Multicast), IO::Interface, Net::Interface
perl v5.14.2 2007-01-22 Interface::Simple(3pm)