Bug 8368 - Unable to configure a gateway outside from local ip subnet.
Summary: Unable to configure a gateway outside from local ip subnet.
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-01-11 11:21 UTC by Julien Brouchier
Modified: 2014-03-17 02:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-03-27 12:00:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Julien Brouchier 2000-01-11 11:21:54 UTC
here's the network config:
IP adress: 192.168.1.11 (netmask/24)
default GW : 192.168.2.1
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 192.168.2.0/24 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+
interfaces...)

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.


Note You need to log in before you can comment on or make changes to this bug.