Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 186385
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Roy Marples (RETIRED) <uberlord@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Timo Gurr <tgurr@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dhcp.patch Fix netmask calculation for static routes patch Roy Marples (RETIRED) 2007-07-30 12:22 0000 1.03 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 186385 depends on: Show dependency tree
Bug 186385 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-23 21:57 0000
I had to package.mask >=net-misc/dhcpcd-3.0.19 on my rented server since I'm
not able to get a working eth0 with that versions.

[ebuild   R   ] net-misc/dhcpcd-3.1.0  USE="-vram" 0 kB [0]

 * Starting eth0
 *   Bringing up eth0
 *     dhcp
 *       Running dhcpcd ...Error, eth0: netlink: Invalid argument
Error, eth0: netlink: Network is unreachable
                                               [ ok ]
 *       eth0 received address 87.106.14.69/32

Jul 23 23:37:03 nexus dhcpcd[27207]: eth0: dhcpcd 3.1.0 starting
Jul 23 23:37:03 nexus dhcpcd[27207]: eth0: hardware address = xx:xx:xx:xx:xx:xx
Jul 23 23:37:03 nexus dhcpcd[27207]: eth0: DUID =
00:01:00:01:0e:37:5e:97:xx:xx:xx:xx:xx:xx
Jul 23 23:37:03 nexus dhcpcd[27207]: eth0: broadcasting for a lease
Jul 23 23:37:03 nexus dhcpcd[27207]: eth0: offered 87.106.14.69 from
87.106.14.249
Jul 23 23:37:03 nexus dhcpcd[27207]: eth0: checking 87.106.14.69 is available
on attached networks
Jul 23 23:37:04 nexus dhcpcd[27207]: eth0: leased 87.106.14.69 for 172800
seconds
Jul 23 23:37:04 nexus dhcpcd[27207]: eth0: adding IP address 87.106.14.69/32
Jul 23 23:37:04 nexus dhcpcd[27207]: eth0: adding route to 10.255.255.1
(255.0.0.0) metric 0
Jul 23 23:37:04 nexus dhcpcd[27207]: eth0: netlink: Invalid argument
Jul 23 23:37:04 nexus dhcpcd[27207]: eth0: adding default route via
10.255.255.1 metric 0
Jul 23 23:37:04 nexus dhcpcd[27207]: eth0: netlink: Network is unreachable

Kernel IP Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo



[ebuild   R   ] net-misc/dhcpcd-3.0.16-r1  0 kB [0]

 * Starting eth0
 *   Bringing up eth0
 *     dhcp
 *       Running dhcpcd ...                                               [ ok
]
 *       eth0 received address 87.106.14.69/32

Jul 23 23:31:17 nexus dhcpcd[25095]: eth0: dhcpcd 3.0.16 starting
Jul 23 23:31:17 nexus dhcpcd[25095]: eth0: hardware address = xx:xx:xx:xx:xx:xx
Jul 23 23:31:17 nexus dhcpcd[25095]: eth0: broadcasting for a lease
Jul 23 23:31:17 nexus dhcpcd[25095]: eth0: offered 87.106.14.69 from
87.106.14.249
Jul 23 23:31:17 nexus dhcpcd[25095]: eth0: got subsequent offer of
87.106.14.69, ignoring
Jul 23 23:31:17 nexus dhcpcd[25095]: eth0: leased 87.106.14.69 for 172800
seconds
Jul 23 23:31:17 nexus dhcpcd[25095]: eth0: adding IP address 87.106.14.69/32
Jul 23 23:31:17 nexus dhcpcd[25095]: eth0: adding route to 10.255.255.1
(255.255.255.255) metric 0
Jul 23 23:31:17 nexus dhcpcd[25095]: eth0: adding default route via
10.255.255.1 metric 0

Kernel IP Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
10.255.255.1    0.0.0.0         255.255.255.255 UH    0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         10.255.255.1    0.0.0.0         UG    0      0        0 eth0

Let me know if you need more information, also I'm not able to get a static
setup working. I tried
config_eth0=( "87.106.14.69 netmask 255.255.255.255 broadcast 87.106.14.69" )
routes_eth0=( "default via 10.255.255.1" )
but no success.

Reproducible: Always

Steps to Reproduce:

------- Comment #1 From Roy Marples (RETIRED) 2007-07-25 21:52:15 0000 -------
Could you attach wireshark traces for the dhcp transaction from both dhcpcd
versions please?

------- Comment #2 From Roy Marples (RETIRED) 2007-07-30 12:22:24 0000 -------
Created an attachment (id=126439) [details]
Fix netmask calculation for static routes

Please test this patch and report back.

------- Comment #3 From Roy Marples (RETIRED) 2007-07-31 10:07:06 0000 -------
Fixed in 3.1.2

Re-open if you disagree

------- Comment #4 From Arfrever Frehtes Taifersar Arahesis 2007-07-31 11:46:01 0000 -------
ChangeLog mentions bug 186386.
186386 should be replaced with 186385.

------- Comment #5 From Roy Marples (RETIRED) 2007-07-31 11:49:13 0000 -------
hehehehe, fixed.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug