Summary: | IP-aliasing does not work | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ole Tange <bugs.gentoo.org> |
Component: | [OLD] Core system | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | bugs.gentoo.org, mholzer |
Priority: | High | ||
Version: | 1.4_rc2 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch for net.eth1
net.eth1 |
Description
Ole Tange
2003-01-27 13:03:21 UTC
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. |