Bug 8368

Summary: Unable to configure a gateway outside from local ip subnet.
Product: [Retired] Red Hat Linux Reporter: Julien Brouchier <julien>
Component: initscriptsAssignee: Bill Nottingham <notting>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-03-27 12:00:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Julien Brouchier 2000-01-11 11:21:54 UTC
here's the network config:
IP adress: (netmask/24)
default GW :
so i configured another local IP subnet in linuxconf but this fail to set
up the default route when booting. It seems that the initscripts try to set
up the GW before adding the subnet as local, so it fails.

A solution would be to move the defaultGW section from
/etc/sysconfig/network-scripts/ifup to ifup-routes after the local routes
had been added... this seems more coherent.

PS: doing it by hand using route add works well.

Comment 1 Bill Nottingham 2000-01-11 21:15:59 UTC
Do you have two subnets on the same interface, or
a static route to the gateway?

Comment 2 Julien Brouchier 2000-01-12 09:37:59 UTC
I have two subnet on the same ethernet network (on the test config not for real
;) ). In fact the scripts should automagically add the route to the other local
subnet when it finds out that the gateway IP is not on the local subnet. (this
works well if you have only one eth interface, it can be more tricky with 2+

Comment 3 Bill Nottingham 2000-03-20 17:33:59 UTC
Could you post the /etc/sysconfig/network-scripts/ifcfg-*,
/etc/sysconfig/network, and the routing table you're trying
to achieve?

Comment 4 Bill Nottingham 2000-06-10 23:41:48 UTC
closed, lack of input.