← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1307902] [NEW] host routes break gateway on freebsd guests.

 

Public bug reported:

Host routes are added as classless-static-route (rfc3442, option 33)
[1]. However, rfc3442 states: "If the DHCP server returns both a
Classless Static Routes option and a Router option, the DHCP client MUST
ignore the Router option.". The freebsd client follows this
specification [2], and ignores the router option, leaving the guest
without a primary gateway.

A solution could be to add the primary gateway as a classless-static-
route. I don't know how other guests will respond to that setup.

[1] https://github.com/openstack/neutron/blob/2014.1.rc2/neutron/agent/linux/dhcp.py#L550
[2] https://gitorious.org/freebsd/freebsd/source/1e0e806b8822c4570e09508df054f82f9a47ce0e:sbin/dhclient/dhclient-script#L146

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1307902

Title:
  host routes break gateway on freebsd guests.

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Host routes are added as classless-static-route (rfc3442, option 33)
  [1]. However, rfc3442 states: "If the DHCP server returns both a
  Classless Static Routes option and a Router option, the DHCP client
  MUST ignore the Router option.". The freebsd client follows this
  specification [2], and ignores the router option, leaving the guest
  without a primary gateway.

  A solution could be to add the primary gateway as a classless-static-
  route. I don't know how other guests will respond to that setup.

  [1] https://github.com/openstack/neutron/blob/2014.1.rc2/neutron/agent/linux/dhcp.py#L550
  [2] https://gitorious.org/freebsd/freebsd/source/1e0e806b8822c4570e09508df054f82f9a47ce0e:sbin/dhclient/dhclient-script#L146

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1307902/+subscriptions


Follow ups

References