02-21-2003
get shell access some how and see if you can ping out side machines, your gateway, systems out side of your network, on the internet.....also check to see if the NIC is up, do a netstat -a and take a look at it, also do netstat -r or the route command and see if something in your routing table is screwed up or not.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I'm trying to write a shell script that will ping a site and and write the date and 1 or 0 (for success or no success) to a file.
it looks roughly like this:
#/bin/sh
set mydate = `date`
set myvar = `ping -c 1 hostname | grep -c "100%"`
if ($myvar == 1) then
echo... (1 Reply)
Discussion started by: TylerDurden
1 Replies
2. UNIX for Dummies Questions & Answers
I can ping by ip address but not by host name
everything is on the same subnet
check all of the normal files
I can telnet in to the unix box but can not open a connect to
the share dir.
unix ver sunSO 5.9
all the other computers ar Windows XP (with firewall turn off)
Thanks... (1 Reply)
Discussion started by: vviscomi
1 Replies
3. UNIX for Dummies Questions & Answers
I want to access window file system through Samba. when i ping Window machine through linux machine it connect, but in reverse case it shows "Request time out". could any one suggest what problem may be. (1 Reply)
Discussion started by: sonirajesh
1 Replies
4. IP Networking
Comp1=192.168.100.2
Comp2=192.168.100.6
both the comp have win2000 Os.
Using Cross cable i have connected back to Back.
When i ping From Comp1 to Comp2 its working fine.
But
When i ping From Comp2 to Comp1 its not working.
I know don't know what went wrong please help me out.... (4 Replies)
Discussion started by: ashokmeti
4 Replies
5. Solaris
Can someone tell me how I can get the following bolded output without having to issue the control C key when a ping is running?
ping -s cca-wl6
PING cca-wl6: 56 data bytes
64 bytes from cca-wl6: icmp_seq=0. time=0.796 ms
64 bytes from cca-wl6: icmp_seq=1. time=0.581 ms
64 bytes from... (5 Replies)
Discussion started by: SkySmart
5 Replies
6. IP Networking
Hi All,
I want to ping 1500 bytes of data from a pc to another pc in the network. What is command used for the same?
Thanks (2 Replies)
Discussion started by: rvan
2 Replies
7. AIX
Hi All,
I'm testing ping command on two servers.
A,B,C,D are servers
From A-->B:
ping -c 3 -p ff -s30720 <B IP-Addres>
This works fine.
From C-->D:
ping -c 3 -p ff -s30720 <D IP-Addres>
This is NOT working and 100% packe loss :(
But if I use 8700 instead of 30720 for packet size... (6 Replies)
Discussion started by: saraperu
6 Replies
8. Solaris
Hi friends,
I am running Solaris 10, which is connected to a DSL router running DHCP. During the installation I chose not to use DHCP and assigned a permanent IP address to solaris machine. I also did not choose any name service as well. The rest of the details are as under.
Solaris Machine
IP... (4 Replies)
Discussion started by: gabam
4 Replies
9. HP-UX
I am having a problem with a new server build that has got me completely baffled. This server has a private back end network so the way it is supposed to work is that the server thinks its ip address is 10.131.0.48 but the rest of the world knows it as 199.68.100.100 per DNS. It has to be this way... (2 Replies)
Discussion started by: keelba
2 Replies
10. Shell Programming and Scripting
How can I get the following result of the "ping" command?
Example:
root@OpenWrt:~# ping google.com -c1 | sed -n 1p
PING google.com (216.58.210.14): 56 data bytes
How can I get the data only in the range of ()?
The result of what I want to get it:
216.58.210.14
Please use code... (4 Replies)
Discussion started by: andrewxxx
4 Replies
LEARN ABOUT SUNOS
inet_type
inet_type(4) File Formats inet_type(4)
NAME
inet_type - default Internet protocol type
SYNOPSIS
/etc/default/inet_type
DESCRIPTION
The inet_type file defines the default IP protocol to use. Currently this file is only used by the ifconfig(1M) and netstat(1M) commands.
The inet_type file can contain a number of <variable>=<value> lines. Currently, the only variable defined is DEFAULT_IP, which can be
assigned a value of IP_VERSION4, IP_VERSION6, or BOTH.
The output displayed by the ifconfig and netstat commands can be controlled by the value of DEFAULT_IP set in inet_type file. By default,
both commands display the IPv4 and IPv6 information available on the system. The user can choose to suppress display of IPv6 information by
setting the value of DEFAULT_IP. The following shows the possible values for DEFAULT_IP and the resulting ifconfig and netstat output that
will be displayed:
IP_VERSION4 Displays only IPv4 related information. The output displayed is backward compatible with older versions of the ifconfig(1M)
and netstat(1M) commands.
IP_VERSION6 Displays both IPv4 and IPv6 related information for ifconfig and netstat.
BOTH Displays both IPv4 and IPv6 related information for ifconfig and netstat.
The command-line options to the ifconfig and netstat commands override the effect of DEFAULT_IP as set in the inet_type file. For example,
even if the value of DEFAULT_IP is IP_VERSION4, the command
example% ifconfig -a6
will display all IPv6 interfaces.
EXAMPLES
Example 1: Suppressing IPv6 Related Output
This is what the inet_type file must contain if you want to suppress IPv6 related output:
DEFAULT_IP=IP_VERSION4
SEE ALSO
ifconfig(1M), netstat(1M)
SunOS 5.10 16 Jun 1999 inet_type(4)