- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: linux 7.2 gateway configuration
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-26-2004 12:14 PM
01-26-2004 12:14 PM
linux 7.2 gateway configuration
I have a problem with the gateway configuration,I edit the /etc/sysconfig/network file and /etc/sysconfig/network-scripts/ifcfg-eth0 file but the gateway is not set when i reboot the server.
why the gateway is missing when i reboot the system???
Please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:25 PM
01-26-2004 02:25 PM
Re: linux 7.2 gateway configuration
That should be the correct place. How do you
determine the route is not set?
On SuSE the follwoing command will show you all routes:
# /sbin/ip route list
10.0.0.0/8 dev eth0 scope link
default via 10.0.0.253 dev eth0
In case this works on Redhat too, what do you get there?
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 03:19 PM
01-26-2004 03:19 PM
Re: linux 7.2 gateway configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 05:13 PM
01-26-2004 05:13 PM
Re: linux 7.2 gateway configuration
In any case, a singular 'GATEWAY' entry in '/etc/sysconfig/network' should suffice (remove any other 'GATEWAY' entries from '/etc/sysconfig/network-scripts/ifcfg-*').
If you have a PPP interface of which isn't supposed to be a default gateway, then make sure you have 'DEFROUTE=no' in the 'ifcfg-ppp*' file.
Failing these, check your other start up routines for references to 'route delete' or 'ip route del' commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 01:34 AM
01-27-2004 01:34 AM
Re: linux 7.2 gateway configuration
GATEWAY=130.2.0.254
or
GATEWAY="130.2.0.254"
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 02:11 AM
01-27-2004 02:11 AM
Re: linux 7.2 gateway configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 02:26 AM
01-27-2004 02:26 AM
Re: linux 7.2 gateway configuration
After boot, is the gateway pingable?
ping ip_of_gateway
If you can't ping the gateway, you can't use the gateway.
If you upload the actual ifcfg-eth0 file, i can look for inconsistencies.
As far as quotes go, you have to be consistent.
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
01-27-2004 02:46 AM
01-27-2004 02:46 AM
Re: linux 7.2 gateway configuration
Can't access my Redhat system at home right now
to check.
Did you check if the route gets set as suggested earlier? No being able to get out might have different reasons (like missing network connectivity to the gateway or a firewall on the gateway blocking you).
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 03:15 AM
01-27-2004 03:15 AM
Re: linux 7.2 gateway configuration
the /etc/sysconfig/network file and /etc/sysconfig/network-scripts/ifcfg-eth0 file.
The /etc/sysconfig/network-scripts/ifcfg-eth0
file exist after installation of linux??
I can pinging the gateway, but not pinging my another net.
Somebody can referme information.
Please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 02:56 AM
01-28-2004 02:56 AM
Re: linux 7.2 gateway configuration
your nic.
Try netstat -rn to see your routing table.
Your default route should point to the gateway.
There should be no entry for the other net.
Check to see if you can ping or connect to anything on the other side of the gateway.
Since sobig some routers won't pass pings. Try web servers and other such services.