A second issue along these same lines is that doing an ifconfig eth0:1 seems
to turn down all of the existing aliases instead of just 1.
So when I have 3 aliases 1,2, and 3; turning down 1 turns down 2 and 3 as well.
Turning down just 2 or 3 seems to work fine. Only 1 is a problem.
This happens even when af_packet and appletalk are not on. This appears to
be a different bug possibly in ifconfig?
Any ideas?
s
--On Thu, Apr 8, 1999 9:04 PM -0400 "Scott R. Every" <[EMAIL PROTECTED]> wrote:
> OK, I hate to reply to my own mail, but since no one else is talking...
>
> I just had time to switch to 2.2.5 and I compiled the af_packet driver as a
> module instead of into the kernel. A couple of strange things happened...
>
> 1) af_packet would not autoload as a module
> 2) dhcpd would not start w/o af_packet
> 3) diald would not start w/o af_packet
> 4) the "protocol xxxx is buggy on eth0" messages stopped
> 5) ifconfig works as expected on aliases
>
> Basically this points(I think) to some sort of confilct between the new .18
> Appletalk driver and the af_packet driver in 2.2.
>
> Can anyone else confirm this or is it just me?
>
> I realize that most people won't need a dhcpd or diald running on an ip
> aliasing www machine, but it would be nice to get this fixed nonetheless...
>
> Let me know if you need any more data.
>
> thanx
>
> s
>
>
> --On Wed, Mar 10, 1999 10:57 AM -0500 "Scott R. Every" <[EMAIL PROTECTED]> wrote:
>
>> Found a bug which only pops up when using the Appletalk .18 modules on linux
>> 2.2.x with ipaliasing enabled for TCP.
>>
>> Symptoms:
>> getting these errors right after the wd driver and appletalk load:
>> protocol 9d3e is buggy, dev eth0
>> protocol 0400 is buggy, dev eth0
>>
>> Under 2.2.1 and 2.2.2 these errors were ONLY logged in dmesg. In 2.2.3, they
>> also print on the console(which is why I noticed them)
>>
>> While there errors are occuring, aliases break in the following way.
>> create an alias:
>> 'ifconfig eth0:1 xxx.xxx.xxx.xxx up'
>>
>> using ifconfig 1.35 or later shows the following when doing 'ifconfig':
>> eth0 Link encap:Ethernet HWaddr 00:00:21:48:07:26
>> inet addr:207.100.35.245 Bcast:207.100.35.255
>> Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500
>> Metric:1
>> RX packets:32757 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:26240 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0
>>
>> eth0:1 Link encap:Ethernet HWaddr 00:00:21:48:07:26
>> inet addr:207.100.35.248 Bcast:207.100.35.255 Mask:255.255.255.0
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>>
>> No problems so far.
>> The problems come when turning an alias down.
>> 'ifconfig eth0:1 down'
>>
>> with ifconfig 1.35 or later this kills the entire eth0 interface, note
>> ifconfig output:
>> lo Link encap:Local Loopback
>> inet addr:127.0.0.1 Mask:255.0.0.0
>> UP LOOPBACK RUNNING MTU:3924 Metric:1
>> RX packets:154 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:154 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0
>>
>> sl0 Link encap:Serial Line IP
>> inet addr:47.94.161.222 P-t-P:47.94.161.227 Mask:255.255.255.255
>> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:296 Metric:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:1
>> TX packets:261 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0
>>
>> If an older ifconfig 1.33 for example is used, this command works fine.
>> However, old ifconfigs do NOT show aliases correctly in the new 2.2.x
>> kernels.
>>
>> All of these problems go away completely if I unload the Appletalk module.
>> After linux ifconfig 1.38 from net-tools 1.50 works as expected both for
>> showing and turning on/off aliases.
>>
>> This all works fine using Appletalk .17 and linux 2.0.x.
>>
>> Any ideas why this is broken, and what could be done to fix?
>>
>> thanx
>>
>> s
>>
>> --
>> Scott R. Every "Everything is controlled by a small evil group to
>> EMJ Internet which, unfortunately, no one we know belongs."
>> voice : 1-800-548-2319 fax : 1-919-363-4423 mailto:[EMAIL PROTECTED]
>> WWW - http://www.emji.net
>>
>> Do you believe in Macintosh? Learn how to help the cause by
>> subscribing to the "EvangeList" listserver! Send email to:
>> <[EMAIL PROTECTED]> or go to:
>> <http://www.lists.apple.com/>
>>
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-net" in
>> the body of a message to [EMAIL PROTECTED]
>
>
>
> --
> Scott R. Every "Everything is controlled by a small evil group to
> EMJ Internet which, unfortunately, no one we know belongs."
> voice : 1-800-548-2319 fax : 1-919-363-4423 mailto:[EMAIL PROTECTED]
> WWW - http://www.emji.net
>
> Do you believe in Macintosh? Learn how to help the cause by
> subscribing to the "EvangeList" listserver! Send email to:
> <[EMAIL PROTECTED]> or go to:
> <http://www.lists.apple.com/>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
--
Scott R. Every "Everything is controlled by a small evil group to
EMJ Internet which, unfortunately, no one we know belongs."
voice : 1-800-548-2319 fax : 1-919-363-4423 mailto:[EMAIL PROTECTED]
WWW - http://www.emji.net
Do you believe in Macintosh? Learn how to help the cause by
subscribing to the "EvangeList" listserver! Send email to:
<[EMAIL PROTECTED]> or go to:
<http://www.lists.apple.com/>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]