<br><br><div><span class="gmail_quote">On 9/25/06, <b class="gmail_sendername">Marco Gaiarin</b> &lt;<a href="mailto:xxx@xxxx.xxx">xxx@xxxx.xxx</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>[i'm not clearly a network guru, but i've some knowledge... anyway i<br>think i've arrived to my ``end point'' here. Probably i've also done<br>some big mistake, so please sorry me.]<br><br><br>I've setup in a local branch of my office two servers, say radagast
<br>(<a href="http://10.27.1.2">10.27.1.2</a>) and olorin (<a href="http://10.27.1.3">10.27.1.3</a>). They share the same UPS and the<br>same place, sitting at roughly 20 centimeters each other.<br>Network devices are in another room, not UPSes, and so if there's a
<br>power loss, radagast compain about that UPS desappear.<br>Also this two servers share a samba domain, and the syncronize each<br>other (LDAP, some folders, some other nfs-mounted, ...).<br><br><br>So i've thinked to simply put a gigabit ethernet on each of the two
<br>server and link them together with a simple switched cable.<br>Note that: i'm not interested in bonding nor in some sort of<br>``failover'' configuration , only to link together them.<br><br>The first, for me, simple solution was to fire up the interfaces with
<br>the same IP and list an explicit link, so:<br><br>&nbsp;&nbsp;on radagast (<a href="http://10.27.1.2">10.27.1.2</a> on eth0):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ifconfig eth1 <a href="http://10.27.1.2">10.27.1.2</a> netmask <a href="http://255.255.255.255">
255.255.255.255</a> up<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;route add -host <a href="http://10.27.1.3">10.27.1.3</a> eth1<br><br>&nbsp;&nbsp;on olorin (<a href="http://10.27.1.3">10.27.1.3</a> on eth0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ifconfig eth1 <a href="http://10.27.1.3">10.27.1.3
</a> netmask <a href="http://255.255.255.255">255.255.255.255</a> up<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;route add -host <a href="http://10.27.1.2">10.27.1.2</a> eth1<br><br>and with this simple solution all seems works. Seems.<br>After some ``hot calls'' i discovered that simply some services (i
<br>tested squid and the openldap server) does not communicate<br>anymore; digging with tcpdump arise the problem: olorin acces the squid<br>proxy on radagast via the eth1 interfaces, but reply on eth0, so olorin<br>kernel drop the packet (i've not enabled log_martian, but i think was
<br>interesting ;).</blockquote><div><br>Hi,<br><br>Did you try using ip from iproute tools, which is a much more advanced tool than ifconfig and route?<br><br>I think your problem is at the link layer and may have to do with ARP resolution. Check the neighbour object from&nbsp; ip command. With this you can bind an ip address to a MAC address which I think is your problem: some times the ARP resolution that your hosts perform results in different MAC addresses.
<br><br>In any case I must tell I don't like this workaround. It makes no sense, to be honest. Having a host with two nics whith the same IP seems a horrible setup to me. Why don't you use a different network for the link between these two hosts? Why do you need this link? You wouldn't have routing nor ARP resolution problems. For your words I think you only want a direct link between this two hosts.
<br></div></div>