1826417 Members
3623 Online
109692 Solutions
New Discussion

Re: No WAN access

 
Tonatiuh
Super Advisor

No WAN access

HP-UX 11.11

I can ping to IPs into the same LAN, but ping to IPs in the WAN (out of the LAN) fails.

Any idea about it?
7 REPLIES 7
Bill Hassell
Honored Contributor

Re: No WAN access

Is your router configured? You need to specify a default route (the address of your router) to pass non-local traffic to the router. You can specify the default route with SAM in the networking section.


Bill Hassell, sysadmin
Yogeeraj_1
Honored Contributor

Re: No WAN access

HI,

as mentioned above, you need to identify you gateway to the IP which you trying to ping.


E.g. Extract from /etc/rc.config.d/netconf

ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=192.168.102.25
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""

see also: man route


kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Yogeeraj_1
Honored Contributor

Re: No WAN access

hi again,


One easy way to setup the default gateway IP address is using the following:
set_parms addl_netwrk

e.g.
===========================================
# set_parms addl_netwrk

___________________________________________________________________________

Additional Network Parameters: Subnetwork Mask and Default Gateway

This section enables you to specify the subnetwork mask and default
network gateway. This information is necessary if your network has
gateways and you wish to communicate beyond your local subnetwork.

You will need to know the following information:

* Subnetwork mask

* Default gateway IP address
_______________________________________________________________________________

Do you wish to specify this information?

Press [y] for yes or [n] for no, then press [Enter]

===========================================


hope this helps too!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Yogeeraj_1
Honored Contributor

Re: No WAN access

hi again,

Note that if your your system appears to have 6 network interfaces installed. The procedure mentioned above will allow you to configure only the default network interface.

You must use SAM to configure additional network interface cards.


kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Luk Vandenbussche
Honored Contributor

Re: No WAN access

Hi,

On most firewalls ping is blocked.
So check with your firewall administrator that the ping protocol isn't blocked
Hunan_1
Frequent Advisor

Re: No WAN access

Check the IP WAN and connectivity to your WAN gateway.

To check your interfaces run lanscan.

example:
host/>lanscan
Hardware Station Crd Hardware Net-Interface NM MAC HP DLPI Mjr
Path Address In# State NameUnit State ID Type Support Num
10/16/8 0x0010839680FC 1 UP lan1 UP 4 ETHER Yes 78
10/12/6 0x001083B93084 0 UP lan0 DOWN 5 ETHER Yes 52

check the interfaces configuration with ifconfig.

example:
host/>ifconfig lan1
lan1: flags=863
inet 201.1.1.6 netmask ffffff00 broadcast 201.1.1.255

If everything it's OK, check the connectivity to your WAN gateway with netstat.

example:
linc06/>netstat -rn
Routing tables
Destination Gateway Flags Refs Use Interface Pmtu PmtuTime
127.0.0.1 127.0.0.1 UH 0 2470319 lo0 4608
172.30.10.250 201.1.1.210 UGHD 0 67 lan1 1500
201.1.1.6 127.0.0.1 UH 049232370 lo0 4608
default 201.1.1.200 UG 421686500 lan1 1500
201.1.1 201.1.1.6 U 7 5075600 lan1 1500
201.1.215 201.1.215.1 U 0 0 x25_9 2048

According to the output, the gateway to reach the IP 172.30.10.250 is 201.1.1.210.

In your case ping to the gateway shouldn't have to fail, if it does check the cabling and configuration in the other edge. If you're not in charge of that, report the connectivity problem to the corresponding area.

Hope this can help
AshishJain_USA
Frequent Advisor

Re: No WAN access

Hi

Use the command

# route add default a.b.c.d

where a.b.c.d is the IP Address of your network, any subsequent routing for other networks will need to be configured on your Network router/ LAN switch.

If everything ahead is properly routed and ping is not blocked , you will be able to ping. For any troubleshooting, you may run

# traceroute j.k.l.m

where j.k.l.m is the IP address that you need to ping. This will help you and Network Admins know the path that is being taken to reach your destination IP Address.

rgds...Ashish