- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Gateway-Routing table
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
04-03-2001 07:44 AM
04-03-2001 07:44 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2001 08:57 AM
04-03-2001 08:57 AM
Re: Gateway-Routing table
"route add default gateway 199.2.2.254"
check "route" man pages
good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2001 09:06 AM
04-03-2001 09:06 AM
Re: Gateway-Routing table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2001 10:01 AM
04-03-2001 10:01 AM
SolutionSome extra info.
Assuming that you want to add default gateway use exactly:
route add default gateway_address 1
In the case you want to add additional gateway do:
route add net remote_net_addr gateway_address 1
Remember do not miss "1" in route command.
To have this configuration permanent edit in fact
/etc/rc.config.d/netconf
And in the case of only default routing define the following variables:
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="gateway_address"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
For additional routes add sth like this:
ROUTE_DESTINATION[1]="net remote_net_addr"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]="gateway_address"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
And still remember route_count shoul be equal to 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2001 09:37 AM
04-04-2001 09:37 AM
Re: Gateway-Routing table
One very important thing to keep in mind is that routing is symmetric (I think that is the correct term) - no tonly does your system need to know how to reach the internet, the internet needs to know how to reach your system.