- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ping to external IP address - IP address is change...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2002 06:29 AM
тАО06-24-2002 06:29 AM
ping to external IP address - IP address is changed to my firewall IP
If I issue a ping to any IP outside of the lan, the IP address is changed to the address of my firewall. I see this from the firewall logs as well as a sniffer. Routing table looks good, nothing funny about it. The REALLY strange thing is that after a reboot pings will get out, then after some amount of time it is always changed to the firewall address. pings to any internal address work fine. This behavior started a week ago, I am not aware of any change that took place at the time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2002 06:33 AM
тАО06-24-2002 06:33 AM
Re: ping to external IP address - IP address is changed to my firewall IP
do netstat -in & ifconfig
I suspect that you may be suffering from the problem/feature I outlined at the bottom of the following thread
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2cba3a7b3682d611abdb0090277a778c,00.html
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2002 06:46 AM
тАО06-24-2002 06:46 AM
Re: ping to external IP address - IP address is changed to my firewall IP
# netstat -rn
Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 1242 lo0 4136
172.21.192.132 172.21.192.132 UH 0 1616 lan1 4136
172.21.0.0 172.21.192.132 U 2 0 lan1 1500
127.0.0.0 127.0.0.1 U 0 0 lo0 4136
default 172.21.191.121 UG 0 0 lan1 1500
# netstat -in
Name Mtu Network Address Ipkts Opkts
lan1 1500 172.21.0.0 172.21.192.132 1809255 3183336
lo0 4136 127.0.0.0 127.0.0.1 1242 1242
# ifconfig lan1
lan1: flags=843
inet 172.21.192.132 netmask ffff0000 broadcast 172.21.255.255
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2002 06:57 AM
тАО06-24-2002 06:57 AM
Re: ping to external IP address - IP address is changed to my firewall IP
"ip_strong_es_model" should do nothing as you only have one card. ditto "ip_forwarding"...
I'm going to bow out now to think....
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 01:55 AM
тАО06-25-2002 01:55 AM
Re: ping to external IP address - IP address is changed to my firewall IP
Sorry
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 02:09 AM
тАО06-25-2002 02:09 AM
Re: ping to external IP address - IP address is changed to my firewall IP
This sounds like either the firewall or a router gathering information on route and translating the external ip addres to the internal firewall address.
After a reboot how many seperate ping attempts does it take before the firewall address is presented?
It is not good security to have ping/traceroure enabled through your firewall, just enable the services that are required.
If you require ping/traceroute then turn it on, use it and then turn it off.
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 03:45 AM
тАО06-25-2002 03:45 AM
Re: ping to external IP address - IP address is changed to my firewall IP
Can you ping to your firewall from internal machines ?.
If you have disabled ping in the firewall. Then
give this command in your HP-UX server.
#ndd -set /dev/ip ip_ire_gw_probe 0
After this if the problem persists , check the
NAT rules in firewall and also anti-spoofing rules in the firewall. Which firewall are you using ?.
I suggest not to open ICMP in firewall for ping to external hosts in internet. Dangerous !!
regards,
U.SivaKumar
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 03:46 AM
тАО06-25-2002 03:46 AM
Re: ping to external IP address - IP address is changed to my firewall IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 03:49 AM
тАО06-25-2002 03:49 AM
Re: ping to external IP address - IP address is changed to my firewall IP
Here's some things you can check:
-see if your firewall is running at or near capacity in terms of translations (a number of vendors restrict the number of connections in software - in other cases there aren't enough translations in terms of IP addresses to perform NAT so the firewall reverts to PAT (overloading) which may exhibit some of the symptoms you are having).
-look to see if any network device (VPN concentrator, switch, router) has been added to the network - if so, make sure this device isn't proxy-arping for your host
-check the arp table on your host and make sure it looks reasonable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 04:38 AM
тАО06-25-2002 04:38 AM
Re: ping to external IP address - IP address is changed to my firewall IP
The firewall is not running near capacity. No new devices added to the network that I can discover. The arp table looks good and is similar to systems that don't show the problem.
I went back and looked at the sniffer data. I allowed ICMP to leave the firewall just to watch what happens. I began to ping google, all looked good. Then after maybe 20 or so frames it changed to a firewall address.
For the good frames, each frame was 98 bytes long, with 56 bytes of data, starting with =.X and ending with 01234567. The sequence number increased with each frame and were in the very low digits. Like 10, 11, 12...
When the frames changed the destination was the firewall. 78 bytes long with 36 bytes of data. The data was all hex 0. The sequence number stayed at 22136 for each frame sent after that.
Wierd huh?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 04:58 AM
тАО06-25-2002 04:58 AM
Re: ping to external IP address - IP address is changed to my firewall IP
Ideas
1. Try ping/trace from another server.
2. What other devices sit in the path to firwall.
3. Try ping/trace from Windoze pc.
4. Try ping -o for route option.
5. Monitor firewall as a ping starts.
6. Do you have Windows machines in your network and if so up to date Anti virus software in use?
7. If a ping within the lan is ok and remains so them fault is at firewall.
8. Have you tried a reboot of firewall.
9. At the same time as 8 reboot all devices associated with external connectivity via firewall.
Just a few idea.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 05:15 AM
тАО06-25-2002 05:15 AM
Re: ping to external IP address - IP address is changed to my firewall IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 05:47 AM
тАО06-25-2002 05:47 AM
Re: ping to external IP address - IP address is changed to my firewall IP
What kind of firewall are we talking about here?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 06:13 AM
тАО06-25-2002 06:13 AM
Re: ping to external IP address - IP address is changed to my firewall IP
What you see here could be explained by something called IP Masking or Substituting , on CISCO it is calle NAT (Network Address Translation) , this is a procedure in which your IP address is substituted with a general IP , it has 2 functions , the first to allow you to use non-legal ip ranges within your intranet but still maintain access to the outside internet trough valid internet IP range addresses , second to avoid some problems with attacks on your IP , substituting your IP will redirect traffic to the owner of the substitute IP itself being the firewall or router doing the Masking , both routers and firewall are able to do this , however the strange thing in your description is thatthe behaviour changes after a while , normally with this kind of aliassing the IP changes automatically at each packet handeled , where did you trace the data with the sniffer in the intranet before the firewaal , before the relaying router or behind it ?? that might give more data to invest on...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 06:36 AM
тАО06-25-2002 06:36 AM
Re: ping to external IP address - IP address is changed to my firewall IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 06:46 AM
тАО06-25-2002 06:46 AM
Re: ping to external IP address - IP address is changed to my firewall IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 01:17 PM
тАО06-25-2002 01:17 PM
Re: ping to external IP address - IP address is changed to my firewall IP
You can temporarily fix the problem, at least I can, without rebooting. Delete the default route and add it back in. When I do this, ping will work for about 150 pings and then dies. Then I start seeing pings of the firewall again. Sounds like this is a hp routing/networking issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 05:24 PM
тАО06-25-2002 05:24 PM
Re: ping to external IP address - IP address is changed to my firewall IP
this is pretty strange. Tried to reproduce this behavior myself, but was unsuccessful -- all pings resolutely fired off in succession with appropriate sequence numbering and etc (let it run for ~10 minutes, generating 500+ pings...).
As far as the firewall somehow effecting this behavior, I can't see that as a high probability. It can only rewrite packets after it's received them, if they're being received with the firewall address on them already, that's something else entirely. On the other hand, I know of no circumstances where HP-UX will dynamically re-address a packet, nor where it would autonomously start forging packets (which is what that looks like, especially with the sequence number not incrementing, and the contents switching to nulls).
Interesting problem.
Do other protocols suffer from the same fate (FTP, Telnet, etc) or just ICMP?
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2002 01:28 AM
тАО06-26-2002 01:28 AM
Re: ping to external IP address - IP address is changed to my firewall IP
ndd -set /dev/ip ip_ire_gw_probe 0
will stop this behaviour , make sure to also add it into the /etc/rc.config.d/nddconf file because at reboot this setting will be lost
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2002 06:17 AM
тАО06-26-2002 06:17 AM
Re: ping to external IP address - IP address is changed to my firewall IP
I agree that dead gateway detection seems to be the most likely cause. It would also sort of explain how any ping is morphed into a ping to the firewall. If it thinks the gateway is down it first pings the gateway/firewall before sending out the real ping. And why pings to internal addresses still work.
So I'm left with why ndd isn't able to turn off the behavior.
Below is what I've done numerous times:
ndd -set /dev/ip ip_ire_gw_probe 0
followed by:
# ndd -get /dev/ip ip_ire_gw_probe
0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2002 01:22 AM
тАО06-27-2002 01:22 AM
Re: ping to external IP address - IP address is changed to my firewall IP
ndd -get /dev/ip ip_ire_status
it'll tell you exactly if any gateway is dead and what gateway it is , perhaps a gateway marked dead still pings even if gw-probe is deactivated , scanning trough some cases I found out this gateway feature wasn't always changable/de-activatable , depends a little bit on the version of the OS and the ARPA Transport Stack you run , you should have at least PHNE_17662 Arpa Transport Cummulative patch installed , the latest of that series is PHNE_26771 so if you have no ARPA transport patching or very old it still could be that changing the parameter could not work.. then the message is a classic within HP support answers : "please could you patch the system"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2002 03:53 AM
тАО06-27-2002 03:53 AM
Re: ping to external IP address - IP address is changed to my firewall IP
ndd -get /dev/ip ip_ire_status | grep -e IRE_GATEWAY -e flag
The other way was to add the paramter to /etc/rc.config.d/nndconf
and reboot.
The piece of the puzzle that really through me off was the ping packet that was sent to verify if the gateway was up or down since the sequence number never changed and it was sent before the ping I was sending out to the outside internet. Making it appear my packet was changed.
Why is it that when a feature is added that changes expected behavior since the time of dirt, it is set to on, and not off to allow the user control?
Thanks to those that responded
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2002 05:16 AM
тАО06-27-2002 05:16 AM
Re: ping to external IP address - IP address is changed to my firewall IP
I faced a similar problem.. The trouble was with the NAT setting in the Router.. See the Router logs to see if u can make out something...
Just to check.. have you go the latest Hardware extension patches loaded?
keep smiling
george