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 303035554 by MadeInGermany on Tuesday 28th of May 2019 05:29:19 AM
Old 05-28-2019
Strange, I would expect that one of the two GATEWAY would supersede. You should have a RedHat contract, then contact RedHat support to clarify if this is a bug; almost certainly they will tell you to update your OS!

To resolve the conflict, with a text editor (lvim or nano or gedit or ...) you must either delete the GATEWAY line in the /etc/sysconfig/network (common to all ifcfg-X interface files) or the GATEWAY in the ifcfg-eth11!
Alternative: delete with sed, for example:
Code:
sed -i '/^GATEWAY/d' /etc/sysconfig/network

Maybe you better use the system-config-network-tui (A correction: if not present you install it with yum install system-config-network-tui).
This User Gave Thanks to MadeInGermany For This Post:
 

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
VDE_L3(1)						      General Commands Manual							 VDE_L3(1)

NAME
vde_l3 - Virtual Distributed Ethernet 'Layer 3' Switch. SYNOPSIS
vde_l3 -v vde_plug:ipaddress/netmask [-v...] [-r target_network/netmask:gateway] [-G default_gw] [-M mgmt_socket] DESCRIPTION
A vde_l3 connects to one or more vde_switches, performing ip forwarding among its virtual interfaces. A new interface is created at startup for each -v option given at command line. Static routes to target networks can be defined using the -r option. vde_l3 -v /var/run/s1.ctl:192.168.0.1/24 connects to the vde sock at /var/run/s1.ctl with its virtual interface ve0, having the address 192.168.0.1 and netmask 255.255.255.0. vde_l3 -v /var/run/s1.ctl:192.168.0.1/24 -v /var/run/s2.ctl:10.0.0.254/255.255.0.0 connects to the two vde socks, with its virtual interfaces ve0 and ve1, having addressess 192.168.1.0 and 10.0.0.254 respectively. Hosts in each network can specify the vde_l3 as their gateway to reach the other one. OPTIONS
-v vde_plug:ipaddress/netmask Creates a virtual network interfaces on the vde_l3 box, with address ipaddress and netmask netmask. Please note that the netmask can be specified either in the 'classic' A.B.C.D mode, or just by giving the number of leading bits (f.e., /17 for 255.255.128.0). One can define as many interfaces as she wants. -r target_network/netmask:gateway Specify a static route through gateway to reach hosts in target_network with netmask netmask. One can define as many routes as she wants. -G default_gw Specify a default gateway, to be used whenever no static route is defined for a target host. -M mgmt_socket the unix socket where the parameters (interfaces addresses, routes, etc.) can be checked and changed runtime. unixterm(1) can be used as a remote terminal for wirefilter. NOTICE
Virtual Distributed Ethernet is not related in any way with www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik" i.e. the German "Association for Electrical, Electronic & Information Technologies"). SEE ALSO
vde_switch(1), vdeq(1), unixterm(1), vde_cryptcab(1), wirefilter(1). AUTHORS
VDE_L3 is a tool by Daniele Lacamera <root@danielinux.net> VDE is a project by Renzo Davoli <renzo@cs.unibo.it> Virtual Distributed Ethernet May 7, 2007 VDE_L3(1)
All times are GMT -4. The time now is 11:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy