Bug 137390
Summary: | Adding static routes to 2nd ip address fails | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steve <steven_nash> | ||||
Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED NOTABUG | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 2 | CC: | rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-10-30 00:48:56 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
Steve
2004-10-28 00:15:06 UTC
Can you attach your static route config files? Created attachment 105968 [details]
Static route config script for 2nd address
doing an "ifup eth0:1" reports:
Cannot find device "eth0:1"
Static routes don't work for alias interfaces, actually. You'll have to add the route to the main device. route add -net 10.0.0.1 netmask 255.255.0.0 gw 192.168.220.30 dev eth0:1 The above works from a terminal when when eth0:1 is up! /sbin/route is deprecated; the ip command is used. |