Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147348 - aliases are ignored in /etc/conf.d/net
Summary: aliases are ignored in /etc/conf.d/net
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-12 11:20 UTC by kusi
Modified: 2006-11-06 11:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kusi 2006-09-12 11:20:20 UTC
This is my  /etc/conf.d/net

  modules=( "dhcpcd" ) 
  config_eth0=(
	"192.168.0.3"
	"dhcp"
  )

when I restart net.eth0, I get

 * Starting eth0
 *   Bringing up eth0
 *     192.168.0.3                                     [ ok ]
 *     dhcp
 *       Running dhcpcd ...                            [ ok ]
 *       eth0 received address 34.73.156.189/22        [ ok ]

however, ifconfig shows that only the address from dhcp is set up, but not the alias 192.168.0.3. The same also happens if I change the order dhcp first and then the alias.

I have sys-apps/baselayout-1.12.4-r7
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-09-12 15:51:56 UTC
order should be ( "dhcp", "192.168.0.3")
(Note you're missing the netmask - maybe /24?)

If you have iproute2 installed, check for extra addresses with
ip a

Aliases are not used with iproute2 - this is not a bug.
Reopen if you disagree
Comment 2 kusi 2006-11-06 11:21:45 UTC
indeed I have iproute2 installed. I only checked with ifconfig. And I need the netmask /24, it's not working without it. It's working now