Can't ping internet. Need help


 
Thread Tools Search this Thread
Special Forums IP Networking Can't ping internet. Need help
Prev   Next
# 1  
Old 10-20-2006
Can't ping internet. Need help

I am running AIX, and just newly installed this sytem.

I thought I had all the settings correct, but may be wrong.

I set up the DNS to point to my router which has DNS relay.
Router IP is 192.168.0.1
AIX server IP is 192.168.0.164

I can ping my router with no problem. When I do a traceroute to my router, it says :
trying to get source for 192.168.0.1
source should be 192.168.0.164

I have problem when I try to ping www.yahoo.com I get:

"PING www.yahoo-ht2.akadns.net: (209.191.93.52) : 56 data bytes
0821-069 ping: sendto: Cannot reach the destination network.
ping: wrote www.yahoo-ht2.akadns.net 64 chars, ret=-1"


Now, I do a traceroute for www.yahoo.com, I get:

"Trying to get source for www.yahoo.com
source should be 127.0.0.1
traceroute to www.yahoo-ht2.akadns.net (209.191.93.52) from 127.0.0.1, 30 hops max
sendto: Cannot reach the destination network."

It seems the traceroute to my router is yahoo is using 127.0.0.1 (loopback) as source. Could this be the problem or something else?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Ping test sends mail when ping fails

help with bash script! im am working on this script to make sure my server will stay online, so i made this script.. HOSTS="192.168.138.155" COUNT=4 pingtest(){ for myhost in "$@" do ping -c "$COUNT" "$myhost" &&return 1 done return 0 } if pingtest $HOSTS #100% failed... (4 Replies)
Discussion started by: mort3924
4 Replies

2. Shell Programming and Scripting

How to get reason for ping failure using perls Net::Ping->new("icmp");?

Hi I am using perl to ping a list of nodes - with script below : $p = Net::Ping->new("icmp"); if ($p->ping($host,1)){ print "$host is alive.\n"; } else { print "$host is unreacheable.\n"; } $p->close();... (4 Replies)
Discussion started by: tavanagh
4 Replies

3. IP Networking

PING

I am unable to ping my remote server.My server is unable to ping the same. both are able to ping the gateway. both the ip's are on same network.i use a proxy tunnel on my remote server.Help if any clues. (6 Replies)
Discussion started by: oslbhavana
6 Replies

4. Shell Programming and Scripting

Animation Ping on Solaris Like Cisco Ping

Hi, I develop simple animation ping script on Solaris Platform. It is like Cisco ping. Examples and source code are below. bash-3.00$ gokcell 152.155.180.8 30 Sending 30 Ping Packets to 152.155.180.8 !!!!!!!!!!!!!.!!!!!!!!!!!!!!!. % 93.33 success... % 6.66 packet loss...... (1 Reply)
Discussion started by: gokcell
1 Replies

5. Solaris

Ping

Hi, I was trying to ping the source and destination i.ps ping -i <source> <destination> <destination> is alive Now i would like to see the packets contiuosly. Please suggest what option can be used with ping command to see For example if i give PING 10.137.58.78: 56 data bytes 64... (3 Replies)
Discussion started by: kkarthik_kaja
3 Replies

6. Debian

PB : DNS Client don't ping internet

Hi, I have my router (192.168.1.1) connected to the internet. I have installed Debian on a server with Bind9 (192.168.1.254). The configurations files are : $ cat /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback # The primary network interface... (1 Reply)
Discussion started by: Thibault
1 Replies

7. Linux

SFTP an internet address from a system behind an internet proxy

I was wondering if it is possible to setup SFTP to go through the internet proxy while connecting to an internet location. Problem: Client system is behind internet proxy. SFTP to any internet location fails as there is no documented way to configure SFTP to connect to internet locations through... (4 Replies)
Discussion started by: toobrown1
4 Replies

8. Linux

Not able to ping

Hi All, Need your help one more time. I am trying to ping a linux machine which is not responding to ping. However traceroute can reach the machine and I can log in to it by ssh. I have checked /proc/sys/net/ipv4/icmp_echo_ignore_all it is already set as "0". It is not happening in the... (1 Reply)
Discussion started by: ailnilanjan
1 Replies

9. IP Networking

can't ping by ip

hi, I m trying to ping ip on the network . The machine is started but i can't access and can't ping it .. But when i restarts that machine that works fine..... can anybody have an idea about this problem ?? if then reply .. thanks (2 Replies)
Discussion started by: tahir23
2 Replies

10. UNIX for Advanced & Expert Users

iptables rule to block ping to internet

I want to block ping on a linuxbox to any other address where it would go to the default gateway. vmdebianamd64:/etc/tcng# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 198.9.200.0 * 255.255.255.0 U 0 ... (1 Reply)
Discussion started by: progressdll
1 Replies
Login or Register to Ask a Question
6to4relay(1M)						  System Administration Commands					     6to4relay(1M)

NAME
6to4relay - administer configuration for 6to4 relay router communication SYNOPSIS
/usr/sbin/6to4relay /usr/sbin/6to4relay [-e] [-a addr] /usr/sbin/6to4relay [-d] /usr/sbin/6to4relay [-h] DESCRIPTION
The 6to4relay command is used to configure 6to4 relay router communication. Relay router communication support is enabled by setting the value of a variable that stores an IPv4 address within the tun module. This variable is global to all tunnels and defines the policy for communication with relay routers. By default, the address is set to INADDR_ANY (0.0.0.0), and the kernel interprets the value to indicate that support for relay router communication is disabled. Otherwise, support is enabled, and the specified address is used as the IPv4 des- tination address when packets destined for native IPv6 (non-6to4) hosts are sent through the 6to4 tunnel interface. The 6to4relay command uses a project private ioctl to set the variable. 6to4relay used without any options outputs the current, in-kernel, configuration status. Use the -a option to send packets to a specific relay router's unicast address instead of the default anycast address. The address specified with the -a option does not specify the policy for receiving traffic from relay routers. The source relay router on a received packet is non-deterministic, since a different relay router may be chosen for each sending native IPv6 end-point. Configuration changes made by using the 6to4relay are not persistent across reboot. The changes will persist in the kernel only until you take the tunnel down OPTIONS
The 6to4relay command supports the following options: -a addr Use the specified address, addr. -e Enable support for relay router. Use -a addr if it is specified. Otherwise, use the default anycast address, 192.88.99.1. -d Disable support for the relay router. -h Help OPERANDS
The following operands are supported: addr A specific relay router's unicast address. addr must be specified as a dotted decimal representation of an IPv4 address. Other- wise, an error will occur, and the command will fail. EXAMPLES
Example 1: Printing the In-Kernel Configuration Status Use /usr/sbin/6to4relay without any options to print the in-kernel configuration status. example# /usr/sbin/6to4relay If 6to4 relay router communication is disabled, the administrator will see the following message: 6to4relay: 6to4 Relay Router communication support is disabled. If 6to4 router communication is enabled, the user will see this message: 6to4relay: 6to4 Relay Router communication support is enabled. IPv4 destination address of Relay Router = 192.88.99.1 EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/usr/sbin/6to4relay The default installation root ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
ifconfig(1M), attributes(5) Huitema, C. RFC 3068, An Anycast Prefix for 6to4 Relay Routers. Network Working Group. June, 2001. Carpenter, B. and Moore, K. RFC 3056, Connection of IPv6 Domains via IPv4 Clouds. Network Working Group. February, 2001. DIAGNOSTICS
The 6to4relay reports the following messages: 6to4relay: input (0.0.0.0) is not a valid IPv4 unicast address Example: example# 6to4relay -e -a 0.0.0.0 Description: The address specified with the -a option must be a valid unicast address. 6to4relay: option requires an argument -a usage: 6to4relay 6to4relay -e [-a <addr>] 6to4relay -d 6to4relay -h Example: example# 6to4relay -e -a Description: The -a option requires an argument. usage: 6to4relay 6to4relay -e [-a <addr>] 6to4relay -d 6to4relay -h Example: example# 6to4relay -e -d Description: The options specified are not permitted. A usage message is output to the screen. usage: 6to4relay 6to4relay -e [-a <addr>] 6to4relay -d 6to4relay -h Example: example# 6to4relay -a 1.2.3.4 Description: The -e option is required in conjunction with the -a option. A usage message is output to the screen. 6to4relay: ioctl (I_STR) : Invalid argument Example: example# 6to4relay -e -a 239.255.255.255 Description: The address specified with the -a option must not be a class d addr. SunOS 5.10 19 Nov 2002 6to4relay(1M)