Bug 66660
Summary: | iproute2 rule support in the ifup config script system. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Edward Rudd <urkle> | ||||
Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Brock Organ <borgan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.3 | CC: | abe, rvokal | ||||
Target Milestone: | --- | Keywords: | FutureFeature | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-04-20 03:29:39 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Edward Rudd
2002-06-13 07:11:46 UTC
Created attachment 61449 [details]
network-scripts patch to add iproute2 functionality via static-routes2
the attached patch adds an extra script in the netw-work-scripts directory ifup-routes2 and patches ipup-post to run ifup-routes2 after ipup-routes the format of the static-routes2 file is $DEVICE ${IP_ARGS} and the script greps command for the device it is "upping" mine looks like this (ip addresses altered for security) isdn.out is added to /etc/iproute2/rt_tables and assigned an unused number. as is cable.out --static-routes2-- eth2 rule add from {ip for eth2} table isdn.out eth2 route add default scope global via {gateway for eth2} table isdn.out eth1 rule add from {ip for eth1} table cable.out eth1 route add default scope global via {gateway for eth1} table cable.out ---- now traffic can come in both external interfaces and go back out the correct interface.. instead of being lost in kernel land.. |