kern/75634: The proxy arp wrong functionality

Haidukov Alexander ahaidukov at croc.ru
Tue Jan 18 08:10:29 PST 2005



-----Original Message-----
From: owner-freebsd-bugs at freebsd.org
[mailto:owner-freebsd-bugs at freebsd.org] On Behalf Of Gleb Smirnoff
Sent: Tuesday, January 18, 2005 6:31 PM
To: freebsd-bugs at freebsd.org
Subject: Re: kern/75634: The proxy arp wrong functionality

The following reply was made to PR kern/75634; it has been noted by
GNATS.

From: Gleb Smirnoff <glebius at freebsd.org>
To: Alexander Haidukov <sanek at sw.ru>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: kern/75634: The proxy arp wrong functionality
Date: Tue, 18 Jan 2005 18:26:01 +0300

   Alexander,
 
 On Wed, Dec 29, 2004 at 08:23:19PM +0000, Alexander Haidukov wrote:
 A> >Description:
 A>       I have /28 real IP. I tryed setup my router with "proxy arp"
with arp -s command. Router have two interfaces: one with real IP and
second with fake IP. And i have one IP from /28 range on one of my
interlal host. This host have a Windows 2000 AS operating system. So, if
i setup IP to internal host until make my router with "proxy arp" all is
ok - the "proxy arp" work properly. If i setup first "proxy arp" on
router and after setup IP on Windows machine i have a address conflict,
i.e. my router arp  reply to Windows machine (connected to internal
iface) and Windows saying that her IP use another host with external
iface MAC address of my router. 
 
GS> Your description is not understandible, sorry. Can you please show
an exact  sequence GS> of commands, which lead to errneous behavior. And
pls show error messages,  too.
 
 Excuse for bad English. 
 In shortly:

 I have em0 and em1 interfases on my router. 
 em0: xxx.xxx.xxx.2 (The real IP from xxx.xxx.xxx.0/28 IP range)  
 em1: 192.168.0.1 (192.168.0.0/24 my internal net IP range) 


Internet<---->[em0<---->em1]<---->[Windows]
                         Router

1. On external interface of my router, i setup "proxy arp" use the
following commands:

 #arp -s xxx.xxx.xxx.3 AAA.AAA.AAA.AAA pub

Where AAA.AAA.AAA.AAA is MAC on external interface of my router.

2. On internal host with run Windows 2000 AS (192.168.0.2) I add the
additional IP (xxx.xxx.xxx.3) from my real IP range.
 
In this case, windows host show the error message (like it):

Address conflict. Host with MAC AAA.AAA.AAA.AAA have a my IP. The local
interface will be disabled.

If I try setup real IP to Windows machine first, and "proxy arp" to my
router second all work properly.
 
GS> --
GS>  Totus tuus, Glebius.
GS>  GLEBIUS-RIPN GLEB-RIPE
_______________________________________________
freebsd-bugs at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at freebsd.org"


More information about the freebsd-bugs mailing list