01-05-2009
Quote:
Originally Posted by
Lazydog
I think the subnet mask is wrong. He's using a 23 bit mask but looking at the gw it looks that they are trying to use a 24 bit subnet.
I noticed that, but it looks like everything is a 23-bit mask. That is, it should work with 23-bits just the same.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, dear all, I am rather new to Unix and have this problem where I cant seem to ping from 1 host to another. The scenerio is as follows: -
1 QNX host->Eth->1 SCO host
the SCO host is configured with it's IP
the QNX host is configured with another IP
both in the same domain, ie, 172.20.3.XX... (3 Replies)
Discussion started by: gavon
3 Replies
2. UNIX for Dummies Questions & Answers
I have Sco openserver 5.0. It had a 125. ip. I changed it to a 192. ip. was unable to ping the 192. I was told to change it in the
etc/tcp
etc/hosts
files which i did. still unable to ping.
i am getting a message unable to route to host.
I also have an error in my etc/tcp file on line... (1 Reply)
Discussion started by: pdoug76
1 Replies
3. UNIX for Dummies Questions & Answers
HI,
I am new to unix. I have used some basic commands and written some simple shell scripts in teh past. Currently, I am supposed to write a script to continuosly check if a couple of machines are up and if not to start a script. I am using a bash - 2.03. I have tryying to use the ping command... (3 Replies)
Discussion started by: swepaul
3 Replies
4. UNIX for Dummies Questions & Answers
DEar all
i am receiving this error on start and then unable to ping
(dlpid): unable to open network adapter driver (/dev/mdi/e3h0)
what to do ? (2 Replies)
Discussion started by: sak900354
2 Replies
5. IP Networking
We are unable to bring one of our linux boxes into the network once it was restarted. But once we stop and start the network service. We are able to ping the gateway and get into network. After a minute or two we get the following reponse for the ping command
64 bytes from 124.168.215.40:... (6 Replies)
Discussion started by: chrisanto_2000
6 Replies
6. Solaris
hi,
I setup a Solaris machine in my server room and my client cannot access it. Can anyone advise?
Test that i have done:
-My client pc cannot ping the server.
-My solaris server cannot ping client
-My solaris server can ping it's gateway
-Another NT machine 1 (10.179.30.26) in the server... (2 Replies)
Discussion started by: skiturn
2 Replies
7. Solaris
Hi ALL,
I Have installed NEW v240 server through hyper terminal, After installation i unable to ping the server from out side server... i can see no entry in resolve.conf file.. but the server has DNS.. willl that issue.. please guide me ping the server from outside within the same network
bk (1 Reply)
Discussion started by: suresh_krish
1 Replies
8. Solaris
Hello,
Am unable to ping the Windows Box, from my Solaris Box.
They both are in same LAN, have the same IP Segments.
Windows IP :: 10.141.14.120
Solaris IP :: 10.141.14.11
Unable to get why isnt working out.... When using the command 'ping 10.141.14.120', it gives the error as 'ping:... (4 Replies)
Discussion started by: jayanto
4 Replies
9. AIX
Hi all,
I have gone through many posts related to this issue,but my issue wasn't resolved hence creating new thread.
I am unable to ping localhost.
ping localhost tries to ping localhost which is defined in DNS.
My /etc/hosts has entry for localhost as
127.0.0.1 loopback localhost.
... (8 Replies)
Discussion started by: chpsam
8 Replies
10. Solaris
Hi All,
I am new to solaris environment and we are using Solaris 9
The problem is am unable to ping a particular server from from one of the solaris server
The traceroute also shows only * * * for all the 30 hops
I tried to check all the settings like
1) /etc/hosts -> contains the... (17 Replies)
Discussion started by: Sanjay255
17 Replies
LEARN ABOUT DEBIAN
ipsec_addrtosubnet
IPSEC_INITSUBNET(3) Library Functions Manual IPSEC_INITSUBNET(3)
NAME
ipsec_initsubnet, ipsec_addrtosubnet, ipsec_subnettypeof, ipsec_masktocount, ipsec_networkof, ipsec_maskof - initialize an ip_subnet, ini-
tialize a singleton ip_subnet, get address type of an ip_subnet, convert subnet mask to bit count, get base address of an ip_subnet, get
subnet mask of an ip_subnet
SYNOPSIS
#include <freeswan.h>
const char *initsubnet(const ip_address *addr,
int maskbits, int clash, ip_subnet *dst);
const char *addrtosubnet(const ip_address *addr,
ip_subnet *dst);
int subnettypeof(const ip_subnet *src);
int masktocount(const ip_address *src);
void networkof(const ip_subnet *src, ip_address *dst);
void maskof(const ip_subnet *src, ip_address *dst);
DESCRIPTION
The <freeswan.h> library uses an internal type ip_subnet to contain a description of an IP subnet (base address plus mask). These func-
tions provide basic tools for creating and examining this type.
Initsubnet initializes a variable *dst of type ip_subnet from a base address and a count of mask bits. The clash parameter specifies what
to do if the base address includes 1 bits outside the prefix specified by the mask (that is, in the ``host number'' part of the address):
'0' zero out host-number bits
'x' non-zero host-number bits are an error
Initsubnet returns NULL for success and a pointer to a string-literal error message for failure; see DIAGNOSTICS.
Addrtosubnet initializes an ip_subnet variable *dst to a ``singleton subnet'' containing the single address *addr. It returns NULL for
success and a pointer to a string-literal error message for failure.
Subnettypeof returns the address type of a subnet, normally AF_INET or AF_INET6. (The <freeswan.h> header file arranges to include the
necessary headers for these names to be known.)
Masktocount converts a subnet mask, expressed as an address, to a bit count suitable for use with initsubnet. It returns -1 for error; see
DIAGNOSTICS.
Networkof fills in *dst with the base address of subnet src.
Maskof fills in *dst with the subnet mask of subnet src, expressed as an address.
SEE ALSO
inet(3), ipsec_ttosubnet(3), ipsec_rangetosubnet(3)
DIAGNOSTICS
Fatal errors in initsubnet are: unknown address family; unknown clash value; impossible mask bit count; non-zero host-number bits and clash
is 'x'. Fatal errors in addrtosubnet are: unknown address family. Fatal errors in masktocount are: unknown address family; mask bits not
contiguous.
HISTORY
Written for the FreeS/WAN project by Henry Spencer.
12 March 2002 IPSEC_INITSUBNET(3)