Bug 458343

Summary: ifup-eth0 no support for ip addr pointopointdirective
Product: [Fedora] Fedora Reporter: fedora
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: 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: 2009-03-20 21:09:50 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:

Description fedora 2008-08-07 18:01:14 UTC
Description of problem:
In some environments with VLAN switches, a server node should be configured to be alone (= netmask /32). This is not supportet by /etc/sysconfig/network-scripts/ifcfg-eth0.

In order to reach its default gateway, there must be a host route to that default gateway first, because there's no more subnetwork route (because /32 mask).

When configuring this manually, it is easy with (10.1.1.1 = default gateway):

ifconfig eth0 pointopoint 10.1.1.1 netmask 255.255.255.255 broadcast 10.255.255.255

"ifconfig" or "ip" own a "pointopoint" directive similar to ppp configuration. This "pointopoint" tells ifconfig/ip to create the host route to the default gateway before setting it as default route.

Version-Release number of selected component (if applicable):
initscripts-8.76.2-1.i386

How reproducible:
set NETMASK=255.255.255.255 in /etc/sysconfig/network-scripts/ifcfg-eth0. Then the default route could not be set.

Steps to Reproduce:
1. set NETMASK=255.255.255.255 in /etc/sysconfig/network-scripts/ifcfg-eth0
2. service network restart
3.
  
Actual results:
No more default route, no more internet connection.

Expected results:
/etc/sysconfig/network-scripts/ifup-eth should use "pointopoint" for setting
ifconfig eth0 pointopoint 10.1.1.1...

Additional info:

Comment 1 Bill Nottingham 2009-03-20 21:09:50 UTC

*** This bug has been marked as a duplicate of bug 488389 ***