Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Inconsistency between RedHat 6.5 global gateway and single gateway leads to loss of default gateway Post 303035465 by tanpeng on Saturday 25th of May 2019 03:25:20 AM
Old 05-25-2019
Redhat 6.5, loss of default gateway.

Dear friends
I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different. After restarting the service, the default gateway is lost and the external network cannot be accessed. Do you know why?
The configuration file information is as follows:

Code:
/ etc / sysconfig / network
NETWORKING=yes
HOSTNAME=localhost.localdomain
GATEWAY=192.168.1.26

/ etc / sysconfig / network-scripts / ifcfg-eth11
TYPE=Ethernet
DEVICE=eth11
BOOTPROTO=static
IPADDR=192.168.1.10
NETMASK=255.255.255.0
GATEWAY=192.168.1.254
METRIC=104
ONBOOT=yes
NAME=eth11

Thanks in advance....
Regards,
Tanpeng

Last edited by Neo; 05-25-2019 at 07:10 AM..
 

9 More Discussions You Might Find Interesting

1. IP Networking

default gateway in unix?

i'm a real unix newbie, setting up a network, with a router to router vpn connection with a remote site, all the win stuff is talking and pinging and all the stuff it should be doing (yeah and crashing too, lol) but no communication with the unix box, i think the problem is with my default... (3 Replies)
Discussion started by: smcg
3 Replies

2. AIX

Help with Default Gateway

Hi, I have two interfaces on m AIX 5.3 box. One going to 192.168.1.x and it has a gateway of 192.168.1.1. I configured the other gateway with 192.168.2.x and the default gateway as 192.168.2.1. But I can't get connectivity to the 192.168.2.1 network. Can someone help me out and let me know... (7 Replies)
Discussion started by: bbbngowc
7 Replies

3. HP-UX

where can i modify default gateway

where in configuration files can i modify default gateway in hp-ux11iv3 (5 Replies)
Discussion started by: h@foorsa.biz
5 Replies

4. Linux

GNUGK-How to setup static gateway to gateway routing

Dear Sir I am a newbie in the world of IP telephony. I have been working with Asterisk PBX (SIP) and Cisco Call Manager (MGCP) but now I am learning on how to work GNUGK for H.323 Gatekeeper. I am having a problem, configuring static call routing on GNUGK in the section ... (0 Replies)
Discussion started by: mfondoum
0 Replies

5. Red Hat

can't update the default gateway

Hi, I have server that I change its network configuration from using DHCP to using static IP. I have edited the file /etc/sysconfig/network-scripts/ifcfg-eth0 To: BOOTPROTO=STATIC IPADDR=xxx.xxx.xxx.xxx NETMASK=255.255.255.0 GATEWAY=yyy.yyy.yyy.yyy I did /etc/init.d/network... (2 Replies)
Discussion started by: programAngel
2 Replies

6. Solaris

how to add a default gateway in a zone of different VLAN of global zone

Hi Greetings... I have an issue in connecting the zone from outside the network and it is because of default gateway. I can ping default gateway from inside the zone and not able to ping from global zone due to different VLAN issue. If i add two different gateways and restart network services,... (2 Replies)
Discussion started by: vvpotugunta
2 Replies

7. Red Hat

Change Default gateway

Hi..I have to change default gateway in my linux machine. Its OS is RHEL6. I followed following steps. 1.run command ip route to check current default gateway 2.delete that gateway with command route del default gw x.x.x.x eth2 3.Add new gatewy with command below route add default gateway... (3 Replies)
Discussion started by: deljatt
3 Replies

8. AIX

Lose default gateway

hello iv 2 AIX P720 machine aix 6.1 6100-02-03-0909 both , hacmp ver 6.1.0.0 both machine connect to the same switch. after networking fault , one of the machines lost his default gateway !!! what can be the reason ? thx (4 Replies)
Discussion started by: ariec
4 Replies

9. IP Networking

Default Gateway

I am am using IPv6 IP's with an OS of Debian. Is it possible to set a *static* default gateway w/o the router being connected? Will that gateway change when the router is connected? TIA (0 Replies)
Discussion started by: Meow613
0 Replies
POLICY.PY(5)							  [FIXME: manual]						      POLICY.PY(5)

NAME
policy.py_ - zorp(8) policy file. DESCRIPTION
The policy.py file is a Python module containing the zone and service definitions and other policy related settings used by zorp(8). Empty lines and lines beginning with '#' are comments and are ignored. The policy.py file is generated automatically by ZMC, the Zorp Management Console, or it can be edited manually. IMPORTANT: Do not edit manually a file generated by ZMC, because the manual changes will not be retained by ZMC and will be lost when re-generating the file. FILES
The default location of policy.py is /etc/zorp/policy.py. SEE ALSO
For further information on policy.py refer to the following sources: A tutorial on manually editing the policy.py file can be found at http://www.balabit.com/network-security/zorp-gateway/gpl/tutorial/[1]. Additional information can also be found in the Zorp Administrator's Guide, the Zorp Reference Guide, and in the various tutorials available at the BalaBit Documentation Page at http://www.balabit.com/support/documentation/[2]. AUTHOR
This manual page was written by the BalaBit Documentation Team <documentation@balabit.com>. COPYRIGHT
Copyright (C) 2006 BalaBit IT Security Ltd. All rights reserved. For more information about the legal status of this document please read: http://www.balabit.com/products/zorp/docs/legal_notice.bbq NOTES
1. http://www.balabit.com/network-security/zorp-gateway/gpl/tutorial/ http://www.balabit.com/network-security/zorp-gateway/gpl/tutorial/ 2. http://www.balabit.com/support/documentation/ http://www.balabit.com/support/documentation/ [FIXME: source] 03/06/2012 POLICY.PY(5)
All times are GMT -4. The time now is 11:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy