I did: emerge rsync emerge -u world Then I made the following net.eth1: iface_eth1="dhcp" dhcpcd_eth1="-t 20" alias_eth1="10.0.0.88 192.168.1.88" broadcast_eth1="10.0.0.255 192.168.1.255" netmask_eth1="255.255.255.0 255.255.255.0" This should result in: eth1: 192.168.1.24/255.255.255.0/192.168.1.255 (via dhcp) eth1:0: 10.0.0.88/255.255.255.0/10.0.0.255 eth1:1: 192.168.1.88/255.255.255.0/192.168.1.255 but it does not. It seems 'net.eth1 restart' does the following ifconfigs: eth1:0 down eth1:1 down eth1:0 10.0.0.88 broadcast 10.0.0.255 192.168.1.255 netmask 255.255.255.0 255.255.255.0 eth1:1 192.168.1.88 broadcast 10.0.0.255 netmask 255.255.255.0 The 3rd is definitely wrong and the 4th seems bad as well (wrong bcast).
*** This bug has been marked as a duplicate of 7407 ***
This is what I get with baselayout-1.8.6.4 and your alias config on eth0: ---------------------------- eth0 Link encap:Ethernet HWaddr 00:02:B3:15:F5:25 inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:171346 errors:0 dropped:0 overruns:0 frame:0 TX packets:135111 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:166598234 (158.8 Mb) TX bytes:9772598 (9.3 Mb) Interrupt:20 Base address:0xb000 Memory:f1000000-f1000038 eth0:0 Link encap:Ethernet HWaddr 00:02:B3:15:F5:25 inet addr:10.0.0.88 Bcast:10.0.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:20 Base address:0xb000 Memory:f1000000-f1000038 eth0:1 Link encap:Ethernet HWaddr 00:02:B3:15:F5:25 inet addr:192.168.1.88 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:20 Base address:0xb000 Memory:f1000000-f1000038
that fix it, ole?
Nope. Exactly same error. I did: emerge sync emerge baselayout-1.8.6.4.ebuild (emerge -u world will not work, as I have a pre-release of xfree installed) I tried substituting /sbin/ifconfig with a script to see what parameters it was called with.. ifconfig eth1:0 10.0.0.88 broadcast 10.0.0.255 192.168.1.255 netmask 255.255.255.0 255.255.255.0 ifconfig eth1:1 192.168.1.88 broadcast 10.0.0.255 netmask 255.255.255.0
how about etc-update ? are all scripts up2date ?
yes. all etc-scripts are updated.
Please attach your net.eth0.
I just tried removing net.eth0. And the problem still exists: # /etc/init.d/net.eth0 stop * ERROR: "net.eth0" has not yet been started. # /etc/init.d/net.eth1 stop * Bringing eth1 down... * Waiting for dhcpcd to shutdown.....done [ ok ] # /etc/init.d/net.eth1 start * Bringing eth1 up... [ ok ] * Adding aliases... * eth1:0... SIOCSIFADDR: Invalid argument [ ok ] * eth1:1... So even without net.eth0 the problem is still there.
Ok, please attach net.eth1.
Created attachment 10027 [details, diff] Patch for net.eth1 It seems this patch fixes the bug. It uses perl instead of awk.
Created attachment 10028 [details] net.eth1 Here is net.eth1
is this still an issue ?
please reopen with answer.