- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Help needed in GateD
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
09-26-2008 04:49 AM
09-26-2008 04:49 AM
Help needed in GateD
I have query regarding configuration of Static route in Gated.
Does static route added/configured through gated get stored in kernel routing table? If no, how to add the route to kernel routing table?
Could you please confirm on this.
For example, RIP routes learned by gated are reflected in kernel routing table, similarly should not static routes also be reflected in kernel routing table?
Thanks in advance,
With regards,
Manav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 05:19 AM
09-26-2008 05:19 AM
Re: Help needed in GateD
default route is read from /etc/rc.config.d/netconf and remains in the kernel while the network is up.
Additional routes can be defined there or defined with the route command.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 05:22 AM
09-26-2008 05:22 AM
Re: Help needed in GateD
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2008 05:25 AM
09-26-2008 05:25 AM
Re: Help needed in GateD
Let us assume your router address is 192.168.1.254 and network ID is 192.168.1.0/24, then you can type route command as follows:
# route add net 192.168.1.0 netmask 255.255.255.0 192.168.1.254
OR
To add a default route:
# route add default 192.168.1.254
Verify that (display) routing table is updated (display routing table):
# netstat -nr
Test it i.e. try to ping or send nslookup request:
# ping mycorp.com
To flush all routing entries use command [quite handy to clean your gordian knot ;)] :
# route -f
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2008 09:38 PM
09-28-2008 09:38 PM
Re: Help needed in GateD
Thanks a lot for your reply.
If I have not mistaken, the command 'route add' is provided in Linux to add static routes.
Similarly, there is provision in Gated as well where we can add static routes.
e.g. static
Kindly refer to the following link:
http://osr600doc.sco.com/en/NET_tcp/iproutingC.gated_static_state.html
One more thing is I am adding static routes through Gated CLI not through gated.conf.
I wanted to confirm whether routes added in this way get stored in kernel routing table or not.
Regards,
Manav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2008 08:53 AM
09-29-2008 08:53 AM
Re: Help needed in GateD
The "route" command is available on just about any Unix or Unix-like (eg Linux) system. The netconf file is specific to HP-UX.
It is rather uncommon for a HP-UX system to need to run GateD - what sort of situation has you needing to run a routing protocol daemon?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2008 12:34 AM
09-30-2008 12:34 AM
Re: Help needed in GateD
I could not find any communities which is purely dedicated to GateD. Thats why I posted my query on this forum thinking I would get some pointers.
I believe knowledge never goes in vain no matter in what form it is. Thanks for sharing your knowledge.
Regards,
Manav