Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Why my wierd ifconfig setup won't work in iproute2... ever.
Date: Sun, 01 Mar 2015 09:12:29
Message-Id: 201503010912.18984.michaelkintzios@gmail.com
In Reply to: [gentoo-user] Why my wierd ifconfig setup won't work in iproute2... ever. by Walter Dnes
1 On Sunday 01 Mar 2015 03:22:03 Walter Dnes wrote:
2 > On Thu, Feb 26, 2015 at 11:27:56PM -0500, Walter Dnes wrote
3 >
4 > > But if I include the line...
5 > >
6 > > modules="!iproute2"
7 > >
8 > > ...it works perfectly. What's frustrating is that it works under
9 > > ifconfig, but not under iproute2. I'll check with the local linux
10 > > user group in town (mailing list) to see if I can get any hints.
11 >
12 > I now have the answer. It's not what I wanted to hear, but at least I
13 > can stop pounding my head against a brick wall. I found out from the
14 > networking gurus on the local Linux mailing list that...
15 >
16 > * ifconfig is ancient (goes back to before 2005)
17 >
18 > * back then 169.254.0.0/16 was just another address block, and ifconfig
19 > happily treats it as such
20 >
21 > * in May 2005, RFC3927 was done http://www.ietf.org/rfc/rfc3927.txt
22 > It defined IPV4 link-local networking in 169.254.0.0/16
23 >
24 > * it says, amongst other things...
25 >
26 > > This document does not recommend that IPv4 Link-Local addresses and
27 > > routable addresses be configured simultaneously on the same interface.
28 >
29 > * iproute2 is relatively new, and follows that recommendation. It's
30 > probably hard-coded not to support link-local and non-link-local
31 > addresses simultaneously on the same NIC.
32 >
33 > * My only option in an iproute2-only environment would be to get a 2nd
34 > NIC and attach the TV tuner to it.
35 >
36 > * My HDHomerun tuner is almost a museum-piece (spring of 2010). I
37 > figure that by the time ifconfig support is finally deprecated, I'll
38 > be looking for a new tuner, rather than buying another NIC.
39 >
40 > So I'll keep going with 'modules="!iproute2"' until ifconfig is
41 > deprecated.
42
43 Out of interest, you didn't say if you tried adding manually a route in your
44 /etc/conf.d/net for the link-local address space to see if it works:
45
46 routes_eth0="
47 default via 192.168.123.254
48 169.254.0.0/16 via 169.254.1.1" <==Add this route for 169.254.0.0/16==
49
50 --
51 Regards,
52 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Why my wierd ifconfig setup won't work in iproute2... ever. Walter Dnes <waltdnes@××××××××.org>