Red Hat Bugzilla – Bug 458343
ifup-eth0 no support for ip addr pointopointdirective
Last modified: 2014-03-16 23:15:31 EDT
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):
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
No more default route, no more internet connection.
/etc/sysconfig/network-scripts/ifup-eth should use "pointopoint" for setting
ifconfig eth0 pointopoint 10.1.1.1...
*** This bug has been marked as a duplicate of bug 488389 ***