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:
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:
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT PLAN9
iproute
IPROUTE(3) Library Functions Manual IPROUTE(3)NAME
iproute - Internet route table manager
SYNOPSIS
bind -a #P /net
/net/iproute
/net/ipifc
DESCRIPTION
The iproute device allows the specification of routes for families of IP addresses. It maintains a kernel-resident routing table for IP
addresses used by TCP, IL and UDP. Each route consists of a destination IP address, an IP mask, and an IP gateway address. Every packet
sent by the system is routed according to the route table. An address matches the route table entry when a packet's destination address
matches the table destination address under the mask. When a match is found, the packet is sent to the gateway IP address. If there is no
match, the packet is sent with the original destination address. If there are several matches, the one whose mask has the fewest leading
zeros is chosen. (Because of the definition of IP masks, this mask preserves the largest portion of the address and is therefore the most
specific.) This is forced by storing the routes in decreasing number of ones order and returning the first match. The default gateway has
no ones in the mask and is thus the last matched.
Reading iproute reports the current routes entered in the table. Writing control messages to iproute edits the table. Route entries are
made by writing a string of format
add ipdest mask ipgateway
Entries are deleted by writing a string of format
delete ipdest mask
The whole table can be cleared by writing the string
For example, to install a gateway address to accept all IP packets from a machine:
% echo 'add 0.0.0.0 0.0.0.0 131.107.1.5' > /net/iproute
% cat /net/iproute
0.0.0.0 & 0.0.0.0 -> 131.107.1.5
Reading ipifc reports the current IP interfaces being used, one line per interface, showing the device, the maximum transfer unit, the
local address, the network mask, and the network address.
SOURCE
/sys/src/9/port/deviproute.c
SEE ALSO ip(3), ipconfig(8)IPROUTE(3)