- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: 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
01-22-2004 08:59 PM
01-22-2004 08:59 PM
I´ve configured my DG in : /etc/sysconfig/network...
GATEWAY=x.x.x.x
We have rebooted the system and doing a netstat -rn the DG is not in the routes tables,,
Do you know something about it??
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 09:01 PM
01-22-2004 09:01 PM
Re: Default Gateway
in /etc/sysconfig/network-scripts/ifcfg-eth?
adding default route would be
route add 0.0.0.0 netmask 0.0.0.0 gw x.x.x.x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 09:07 PM
01-22-2004 09:07 PM
Re: Default Gateway
Adding the route is as follows:
route add default gw x.x.x.x
About the ifcfg-ethX,,,,are configured for each network interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 09:16 PM
01-22-2004 09:16 PM
Re: Default Gateway
GATEWAYDEV=eth0
then execute "service network restart".
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 09:18 PM
01-22-2004 09:18 PM
Re: Default Gateway
should be
route add -net 0.0.0.0 netmask 0.0.0.0 gw x.x.x.x
where default gateway is the default gateway of the nic that you wish to acees the whole world through
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 09:44 PM
01-22-2004 09:44 PM
Solutionroute add default gw x.x.x.x dev eth0
if you have several eths
In this case in /etc/sysconfig/network
GATEWAY=x.x.x.x
GATEWAYDEV=eth0
Of course you're not on dhcp, where dhcp server sets gw on restarting network services.
J
hth