Sponsored Content
Full Discussion: routing table (netstat -rn)
Special Forums IP Networking routing table (netstat -rn) Post 32036 by thundrrod on Sunday 17th of November 2002 04:59:08 PM
Old 11-17-2002
Computer

Thank you all for your help!! You all have made my life a little easier!!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Kernel Routing Table

How can i set an permanent route so that itīs still here after a reboot ? i have a gateways file Thanks :confused: :confused: :confused: (1 Reply)
Discussion started by: redcrosskbg
1 Replies

2. UNIX for Dummies Questions & Answers

not following routing table

Hi, I'm trying to connect to a network device, with the connection follwoing the UNIX routing table we set up. Its to go via a specific network Gateway and out throught a specific Lan card (Lan4). However when trying to conenct it keeps going through Lan3 and will not get to its destination.... (3 Replies)
Discussion started by: nhatch
3 Replies

3. IP Networking

Ip routing table

hi all, how to access ip routing table throgh program, how should i integrate my rip routing table with the ip routing table :) (0 Replies)
Discussion started by: vinodkumar
0 Replies

4. AIX

Dynamic routing table

i have AIX Unix with "dynamic routing table" service enabled, but i do not need this service. How i can disable this service. thanks (1 Reply)
Discussion started by: jdsnbr
1 Replies

5. IP Networking

routing table

hi all... i need to know, where is locate the routing table on sun solaris, how i can saved the configuration.... because when i restart the server, lost the configuration.... thank you... Regards... (3 Replies)
Discussion started by: chanfle
3 Replies

6. IP Networking

Routing table

Hi all, I am confusing with routing table, i use linux and iptables. i have 1 internet gateway, and 1 router for VPN. here is my network. eth0=192.168.0.1 eth1=192.168.100.1 192.168.0.0/24 --- eth0(Linux Box)eth1 ---(DSL)---Internet | ... (4 Replies)
Discussion started by: blesets
4 Replies

7. Linux

Routing Table

Hello, how to make entries in routing table perminent (1 Reply)
Discussion started by: teenasuresh
1 Replies

8. Red Hat

routing table question

I have below routing table in linux kernel 2.6.9 # netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 10.155.24.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U ... (5 Replies)
Discussion started by: chuikingman
5 Replies

9. IP Networking

IP routing table restore

Hello. Is there any way to restore back the default ip routing table ? For example, my current routing table is something like Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 109.123.95.0 0.0.0.0 255.255.255.0 U 0 ... (0 Replies)
Discussion started by: anid
0 Replies

10. HP-UX

how to read routing table

Hi all, Could someone please explain to me how I should read this routing table, # netstat -rn Routing tables Destination Gateway Flags Refs Interface Pmtu 127.0.0.1 127.0.0.1 UH 0 lo0 32808 10.222.47.82 10.222.47.82 UH... (3 Replies)
Discussion started by: rachael
3 Replies
Object::ID(3pm) 					User Contributed Perl Documentation					   Object::ID(3pm)

NAME
Object::ID - A unique identifier for any object SYNOPSIS
package My::Object; # Imports the object_id method use Object::ID; DESCRIPTION
This is a unique identifier for any object, regardless of its type, structure or contents. Its features are: * Works on ANY object of any type * Does not modify the object in any way * Does not change with the object's contents * Is O(1) to calculate (ie. doesn't matter how big the object is) * The id is unique for the life of the process * The id is always a true value USAGE
Object::ID is a role, rather than inheriting its methods they are imported into your class. To make your class use Object::ID, simply "use Object::ID" in your class. package My::Class; use Object::ID; Then write your class however you want. METHODS
The following methods are made available to your class. object_id my $id = $object->object_id; Returns an identifier unique to the $object. The identifier is not related to the content of the object. It is only unique for the life of the process. There is no guarantee as to the format of the identifier from version to version. For example: my $obj = My::Class->new; my $copy = $obj; # This is true, $obj and $copy refer to the same object $obj->object_id eq $copy->object_id; my $obj2 = My::Class->new; # This is false, $obj and $obj2 are different objects. $obj->object_id eq $obj2->object_id; use Clone; my $clone = clone($obj); # This is false, even though they contain the same data. $obj->object_id eq $clone->object_id; object_uuid my $uuid = $object->object_uuid Like "$object->object_id" but returns a UUID unique to the $object. Only works if Data::UUID is installed. See Data::UUID for more details about UUID. FAQ
Why not just use the object's reference? References are not unique over the life of a process. Perl will reuse references of destroyed objects, as demonstrated by this code snippet: { package Foo; sub new { my $class = shift; my $string = shift; return bless {}, $class; } } for(1..3) { my $obj = Foo->new; print "Object's reference is $obj "; } This will print, for example, "Object's reference is Foo=HASH(0x803704)" three times. How much memory does it use? Very little. Object::ID stores the ID and address of each object you've asked the ID of. Once the object has been destroyed it no longer stores it. In other words, you only pay for what you use. When you're done with it, you don't pay for it any more. LICENSE
Copyright 2010, Michael G Schwern <schwern@pobox.com>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/perl/misc/Artistic.html> THANKS
Thank you to Vincent Pit for coming up with the implementation. perl v5.12.4 2011-09-26 Object::ID(3pm)
All times are GMT -4. The time now is 01:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy