- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to avoid pinging default gateway
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
Forums
Discussions
Discussions
Discussions
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
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
03-26-2006 08:49 PM
03-26-2006 08:49 PM
How to avoid pinging default gateway
i need that my C3600 wsn should not ping the default gateway, also if this is configured in netconf file.
Any suggestion?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 09:01 PM
03-26-2006 09:01 PM
Re: How to avoid pinging default gateway
If you want to do in your hp-ux machine then,
1) Remove route entry which leads to gateway (It is not possible when you are having default route)
2) Write a wrapper to ping and check the ip-address | hostname given to ping and call the reall ping binary if it is not gateway.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 09:02 PM
03-26-2006 09:02 PM
Re: How to avoid pinging default gateway
If your intension is just to block the ping packets "ICMP/ECHO".. then try "ipfilter" product that is included with 11i by default.
You need to check whether the product is installed or not..
$ /usr/sbin/swlist | grep -i ipfilter
If/Once installed try this doc to acheive your requirement...
http://www.docs.hp.com/en/B9901-90018/index.html
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 09:16 PM
03-26-2006 09:16 PM
Re: How to avoid pinging default gateway
If IPfilter product is configured , the rule mentioned below specifically will acheive your requirement...
The rule for blocking the ping to the router is shown below... I have assumed the router IP to be "192.168.1.1". icmp-type 8 is "ping"
block out quick on lan0 proto icmp to 192.168.1.1 icmp-type 8
For more info ..refer below...
http://docs.hp.com/en/B9901-90014/ch02s03.html
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 09:53 PM
03-26-2006 09:53 PM
Re: How to avoid pinging default gateway
To see if the setting is turned on or off, use:
ndd -get /dev/ip ip_ire_gw_probe
1 means the detection feature is enabled. To turn off this feature:
ndd -set /dev/ip ip_ire_gw_probe 0
This is a temporary change. To make it permanent, edit your /etc/rc.config.d/nddconf file to add:
TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_ire_gw_probe
NDD_VALUE[0]=0
Be sure to substitute the next available array element for [0] in case [0] is already in use.
Note also that for 11.00, early versions of ndd had a bug that prevented the changes in nddconf from taking effect. Get the latest ndd patch.
Bill Hassell, sysadmin