Project

General

Profile

Actions

Bug #13502

closed

dhclient sends RENEW-Request through wrong interface

Added by Flole Systems over 1 year ago. Updated over 1 year ago.

Status:
Needs Patch
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

There are 2 interfaces, WAN and WAN2. Both get an IP from the same DHCP server (1.2.3.4) but each on a different subnet (WAN: 192.168.1.1/24 and WAN2: 192.168.2.1/24). Now when WAN2 renews it's IP it sends a request from 192.168.2.1 to 1.2.3.4, but that request is for some reason sent out through WAN instead of WAN2 (but using WAN2s source MAC address) so it won't get an answer. It seems to be a bug in dhclient as using ping with the source address works fine, even sending out a packet through nc like this works and it exits the firewall (verified with tcpdump).
echo "Test" | nc -u -s 192.168.2.1 1.2.3.4 67

Actions

Also available in: Atom PDF