public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] What happened to my 2nd eth0?
@ 2015-02-22  4:52 Walter Dnes
  2015-02-22  9:01 ` Mick
  2015-02-22 13:31 ` [gentoo-user] " Tom H
  0 siblings, 2 replies; 23+ messages in thread
From: Walter Dnes @ 2015-02-22  4:52 UTC (permalink / raw
  To: Gentoo Users List

  My DSL router modem is at 192.168.123.254.  I have an HDHomerun
network TV tuner that insists on coming up somewhere in the 169.254.X.Y
block.  Up until upgrading from 32 to 64 bits, I was able to see a 2nd
eth0 (i.e. eth0:1) using the following /etc/conf.d/net setup...

config_eth0="
192.168.123.251/29 broadcast 192.168.123.255
169.254.1.1/16 broadcast 169.254.255.255"
routes_eth0="
default via 192.168.123.254 metric 20
192.168.123.248/29 via 192.168.123.254 metric 0
169.254.0.0/16 via 169.254.1.1 metric 0"

  The 2nd interface is no longer being set up.  As amatter of fact, it
appears to be totally unavailable.  E.g....

[d531][root][~] /etc/init.d/net.eth0 stop
 * Unmounting network filesystems ...                                     [ ok ]
 * Bringing down interface eth0
[d531][root][~] ifconfig eth0:0 192.168.123.251/29 broadcast 192.168.123.255
SIOCSIFNETMASK: Cannot assign requested address
[d531][root][~] ifconfig eth0 192.168.123.251/29 broadcast 192.168.123.255
[d531][root][~]

  So my system doesn't support even the concept of an alias for eth0.
Looking at the ifconfig manpage...

interface
       The  name  of the interface.  This is usually a driver name fol-
       lowed by a unit number, for example eth0 for the first  Ethernet
       interface.  If  your  kernel  supports alias interfaces, you can
       specify them with eth0:0 for the first alias of  eth0.  You  can
       use  them  to assign a second address. To delete an alias inter-
       face use ifconfig eth0:0 down.  Note: for every scope (i.e. same
       net  with  address/netmask combination) all aliases are deleted,
       if you delete the first (primary).

  I see "If  your  kernel  supports alias interfaces".  During the
upgrade, I built the kernel from square 1.  I already ran into problems
with not enabling FUSE in the new kernel, which killed MTP until I
enabled it.  I wouldn't be surprised if I've disabled some kernel
parameter which is required to enable interface aliases.  I didn't see
anything obvious in "make menuconfig".  A Google search turned up a
gazillion examples of "how to create an alias using ifconfig".  That's
not what I want.  I want the kernel setting that allows creating alias
interfaces.

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2015-03-02  9:30 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-22  4:52 [gentoo-user] What happened to my 2nd eth0? Walter Dnes
2015-02-22  9:01 ` Mick
2015-02-23  8:39   ` [gentoo-user] Re: [SOLVED] " Walter Dnes
2015-02-24  6:43     ` Mick
2015-02-24 22:07       ` Walter Dnes
2015-02-24 22:08       ` Tom H
2015-02-26  6:26         ` Walter Dnes
2015-02-26 14:46           ` Tom H
2015-02-26 18:57             ` Walter Dnes
2015-02-26 22:59               ` Tom H
2015-02-27  4:27                 ` Walter Dnes
2015-03-01  3:22                   ` [gentoo-user] Why my wierd ifconfig setup won't work in iproute2... ever Walter Dnes
2015-03-01  9:12                     ` Mick
2015-03-01  9:49                       ` Walter Dnes
2015-03-01 11:30                     ` Walter Dnes
2015-03-01 16:36                     ` Daniel Frey
2015-03-02  9:30                       ` Walter Dnes
2015-03-02  0:33                     ` Stroller
2015-03-02  6:13                       ` Mick
2015-03-02  6:52                       ` [gentoo-user] DHCP is a "hidden feature" / "easter egg" Walter Dnes
2015-02-27  6:28               ` [gentoo-user] Re: [SOLVED] What happened to my 2nd eth0? Mick
2015-02-28  6:55       ` Walter Dnes
2015-02-22 13:31 ` [gentoo-user] " Tom H

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox