I'm really, REALLY hoping someone can shed some light on this. I posted
something similar about this but I got more confusing info from my LAN
people.

The hardware is a Soyo K-333 Dragon MB running SuSE 8.0 w/Apache2 & Samba. I
have 2 NIC's, the onboard NIC and a D-Link 530TX+ card. I have two IP
addresses, 155.16.78.54 & .55  on eth0 I get lots of collisions, errors,
etc., and barely any traffic on eth1. I have one "site.net" address and one
"site.com" address, both configured as virtual hosts in Apache. I have a
couple of simple fileshares setup under different directories as well.

The problem I have is that both NIC's seem to be set at 10MB half-duplex,
and mii-tool won't get them to negotiate to 100 full-duplex, nor will it
force it. The LAN team says it sees both cables coming in to the switch, and
that both IP's are being seen as the same MAC address?! (I pasted their
exact comments to me below)

The performance isn't really noticeable for Apache until I tried to turn on
Samba, and then it just about craters it.

Here's the dump of the ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:05:5D:D0:29:80  
          inet addr:155.16.78.54  Bcast:155.16.78.255  Mask:255.255.255.0
          inet6 addr: fe80::205:5dff:fed0:2980/10 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:23619268 errors:1053 dropped:0 overruns:0 frame:0
          TX packets:3752750 errors:380508 dropped:0 overruns:0
carrier:761016
          collisions:105122 txqueuelen:100 
          RX bytes:1116970680 (1065.2 Mb)  TX bytes:2828485063 (2697.4 Mb)
          Interrupt:10 Base address:0x2000 

eth1      Link encap:Ethernet  HWaddr 00:50:2C:04:DA:D5  
          inet addr:155.16.78.53  Bcast:155.16.78.255  Mask:255.255.255.0
          inet6 addr: fe80::250:2cff:fe04:dad5/10 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20789796 errors:0 dropped:0 overruns:0 frame:0
          TX packets:504 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:411341177 (392.2 Mb)  TX bytes:30288 (29.5 Kb)
          Interrupt:11 Base address:0x4000 

The modules.conf file load "8139too" driver for both interfaces, and the
mii-tool reports on both:

forum:/etc # mii-tool eth0
eth0: 10 Mbit, half duplex, no link
forum:/etc # mii-tool eth1
eth1: 10 Mbit, half duplex, no link

No amount of trying to force the eth0 or eth1 interfaces to 100MB work.

The comments I got from the LAN guy was:

-------------

After clearing the IP ARP tables on both routers there is something really
strange going on, see information below.  The r4-pscptc4 router is the
gateway router 155.16.78.1.

r3-pscptc3#sh ip arp 155.16.78.54
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  155.16.78.54            0   0005.5dd0.2980  ARPA   Vlan78
r3-pscptc3#sh ip arp 155.16.78.53
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  155.16.78.53            0   0005.5dd0.2980  ARPA   Vlan78

r4-pscptc4#sh ip arp 155.16.78.53
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  155.16.78.53            1   0050.2c04.dad5  ARPA   Vlan78
r4-pscptc4#sh ip arp 155.16.78.54
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  155.16.78.54            1   0005.5dd0.2980  ARPA   Vlan78

The bottom line of the above information is even after clearing both routers
ARP tables (twice) the r3-pscptc3 router is still seeing both IP addresses
as the same MAC address.  Routers don't just show this type of behavior for
any reason.  The MAC address 00-50-2c-04-da-d5 for 155.16.78.53 is not even
known to the CAM table on either switch (s3 or s4).  As a suggestion I would
check with the OS vendor to see if there are any known issues.

------------

I'm clueless. I've pulled up some docs regarding similar situations and it
talks about "iptables" or some such. Is there some kind of mapping someplace
to make sure the right NIC responds to the right IP's, etc., so my website
and Samba can start working right?

Thank You, Thank You, Thank You!

Ryan Hulslander
"Completely Baffled by this in Dallas"
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to