07-28-2010
fake network address....
Good morning!
Why would having a fake network device be useful?
Thanks in advance
Bigben
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
say I have a IP address which is 10.0.0.12, and subnet mask is 255.255.255.240, what is the network address and what is the broadcast address which host lives on?
And could you explain how to get the answer?
thanx in advance! (7 Replies)
Discussion started by: pnxi
7 Replies
2. HP-UX
Hie everyone,
I am currently facing a problem whereby I can not connect to an external network from a package ip address on a HP-UX cluster. Below is the illustration:
Primary Server IP Address : n.n.n.202
Secondary Server IP Address : n.n.n.212
Package IP Address : n.n.n.211
... (1 Reply)
Discussion started by: cchilenga
1 Replies
3. AIX
Hi, I try to understand how to configure my ethernet network in a hacmp cluster.
I have 2 nodes, 3 lan port on each node, and 1 service ip to cluster.
I don't have any serial o iscsi heartbeat.
Do you suggest me a possibile ip address configuration? I've many error whene I verify it from hacmp... (3 Replies)
Discussion started by: hacmp
3 Replies
4. IP Networking
HI folks,
I am developing a software which one of the module is to interchange the ip address of another active network interface's when making a socket connection.
I would like to know whether there is any function call that would enable me to retrieve the ip address that is obtained by a... (2 Replies)
Discussion started by: citiz3n
2 Replies
5. Shell Programming and Scripting
Hi
Suppose
You have two computers. One named kenny which has an IP address of 192.168.0.7. kenny lives
on a subnet with a subnet mask of 255.255.255.240. The second computer is called zathras, which
has an IP address of 192.168.0.17, zathras lives on a network with the same subnet mask.
i)... (4 Replies)
Discussion started by: scofiled83
4 Replies
6. IP Networking
Hi All,
Sorry if this is not the correct forum to answer.
But hope somebody can help me...
For these two types of network adapter:
Intel(R) PRO/1000 MT Server Adapter
Intel(R) PRO/1000 MT Dual Port Network Adapter
How many IP addresses can be configured on it at the same time?
System... (3 Replies)
Discussion started by: wilsonSurya
3 Replies
7. IP Networking
Thanks in advance!
Ben (1 Reply)
Discussion started by: bigben1220
1 Replies
8. Shell Programming and Scripting
Hello,
I am running a post script in autoyast where I am trying to set the broadcast and network address.
I have the ip address and netmask already (reading from a file)..
I saw the post from fpmurphy but it is using ksh which isn't an option in autoyast.
Thanks in advance! (3 Replies)
Discussion started by: bloodclot
3 Replies
9. IP Networking
Hi,
I am trying to figure out a way to partition the departmental IP network address block to create a staff and a student subnet. Each of these will be identified by its own network address and netmask. It is university policy that you must be economical with the IP addresses. That is, the... (0 Replies)
Discussion started by: bawse.c
0 Replies
10. IP Networking
How would one approach the problem of determining the NAT tables of a router without knowing the userid and password. The only password holder died.
I know the internal ip address of the router is 192.168.2.1, and also ports 80 or 8080 and 3389 are open. (5 Replies)
Discussion started by: jgt
5 Replies
LEARN ABOUT DEBIAN
mocked
mocked(3pm) User Contributed Perl Documentation mocked(3pm)
NAME
mocked - use mocked libraries in unit tests
SYNOPSIS
# use a fake LWP::Simple for testing from t/lib/LWP/Simple.pm
use mocked 'LWP::Simple';
my $text = get($url);
# use a fake WWW::Mechanize for testing from t/mock-libs/WWW/Mechanize.pm
use mocked [qw(WWW::Mechanize t/mock-libs)];
DESCRIPTION
Often during unit testing, you may find the need to use mocked libraries to test edge cases, or prevent unit tests from using slow or
external code.
This is where mocking libraries can help.
When you mock a library, you are creating a fake one that will be used in place of the real one. The code can do as much or as little as
is needed.
Use mocked.pm as a safety measure (be sure you're actually using the mocked module), and as a way to document the tests for future
maintainers.
VARIABLES
real_inc_paths
The real @INC that we are over-ridding is stored here while we are loading the mocked library.
FUNCTIONS
import
With a package name, this function will ensure that the module you specify is loaded from t/lib.
You can also pass an array reference containing the package name and a directory from which to load it from.
AUTHOR
Luke Closs, "<cpan at 5thplane.com>" Scott McWhirter, "<kungfuftr at cpan.org>"
MAD CREDS TO
Ingy dA~Xt net, for only.pm
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2009-12-09 mocked(3pm)