Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: [SOLVED] What happened to my 2nd eth0?
Date: Thu, 26 Feb 2015 18:58:02
Message-Id: 20150226185744.GA5936@waltdnes.org
In Reply to: Re: [gentoo-user] Re: [SOLVED] What happened to my 2nd eth0? by Tom H
1 Let's forget about additional routes with different metrics, and try
2 to get the simplest case working, and move forward from there. If I have
3 /etc/conf.d/net as...
4
5 modules=( "!iproute2" )
6 config_eth0="
7 192.168.123.251/29 broadcast 192.168.123.255
8 169.254.1.1/16 broadcast 169.254.255.255"
9 routes_eth0="
10 default via 192.168.123.254"
11
12 ...and run "/etc/init.d/net.eth0 restart", I can access the device on
13 169.254.0.0/16. If I comment out the "modules=( "!iproute2" )" line and
14 run "/etc/init.d/net.eth0 restart", I can't access the device. The
15 above is the minimal "net" file require for ifconfig. I want to be able
16 to work this down the road when ifconfig goes away, and iproute2 becomes
17 mandatory.
18
19 I'm still trying to wrap my brain around how the ADSL router decides
20 whether to look for 169.254.0.0/16 on the ethernet cable to the TV tuner
21 rather than on the phone line going to my ISP, and then the world.
22
23 --
24 Walter Dnes <waltdnes@××××××××.org>
25 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] Re: [SOLVED] What happened to my 2nd eth0? Tom H <tomh0665@×××××.com>
Re: [gentoo-user] Re: [SOLVED] What happened to my 2nd eth0? Mick <michaelkintzios@×××××.com>