From owner-freebsd-net@FreeBSD.ORG Thu Oct 14 02:59:03 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E041106566C for ; Thu, 14 Oct 2010 02:59:03 +0000 (UTC) (envelope-from gigabyte.tmn@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 905908FC19 for ; Thu, 14 Oct 2010 02:59:02 +0000 (UTC) Received: by ewy21 with SMTP id 21so1461172ewy.13 for ; Wed, 13 Oct 2010 19:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:reply-to:x-priority :message-id:to:cc:subject:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=BdEO06knGqAv3R8Tg2ZvvEasy/Xfupql7TjvWBrjVlw=; b=ml64J6lakGK/3FroNH43kJwYpzi4F+8oo7lrTTqzcTwSIKNHv3WATkAssT0gSsOP/I NDI7UcUy+yVqPXYi1mdR2lDQ9u9kbJ7kEX8oQJqj5kbsfzZv6PEKy6T5SwLXLNmLnK+y LZ2z65Co0pzkTC0588WlPZH5AFcl/MqrLquO8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:reply-to:x-priority:message-id:to:cc:subject:in-reply-to :references:mime-version:content-type:content-transfer-encoding; b=KkmITqWc3PbVEoLq2I8UMZctiuCfM7YauZobk0WoKv+17P2GkuTufoxyykT4/rBgxb THK/SV08zuBfb+zek+C/U2mD1LTO4EVT4xCyMR2xMTJnQ6oBNYsDQ4NdfWNMbMEYaYRx L8BChtOcT52144s38E3c3LorYNcgLaecizAHo= Received: by 10.213.17.12 with SMTP id q12mr1269014eba.13.1287025141437; Wed, 13 Oct 2010 19:59:01 -0700 (PDT) Received: from 76.dynamic-n195.in72.ru ([91.211.195.76]) by mx.google.com with ESMTPS id q51sm2098724eeh.4.2010.10.13.19.58.59 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Oct 2010 19:59:00 -0700 (PDT) Date: Thu, 14 Oct 2010 08:58:46 +0600 From: =?windows-1251?B?xOzo8vDo6SDH4Ozz8ODl4iAoRG1pdHJpeSBaYW11cmFldik=?= X-Priority: 3 (Normal) Message-ID: <641581546.20101014085846@gmail.com> To: kes-kes@yandex.ru In-Reply-To: <1022300682.20101013221738@yandex.ru> References: <1022300682.20101013221738@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: src address issue X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?xOzo8vDo6SDH4Ozz8ODl4iAoRG1pdHJpeSBaYW11cmFldik=?= List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2010 02:59:03 -0000 you use default route from R.E.A.L IP, configure static route to network/host 10.11.19.1 via you 10.11.8.X gate. > Why with configured ip addresses > fastvpn# ifconfig sis0 > sis0: flags=3D8843 metric 0 mtu 1= 500 > options=3D82008 > ether 00:0b:6a:a6:0c:f0 > inet 10.11.8.18 netmask 0xffffff00 broadcast 10.11.8.255 > inet6 fe80::20b:6aff:fea6:cf0%sis0 prefixlen 64 scopeid 0x1 > inet R.E.A.L netmask 0xfffffffc broadcast XX.XX.XX.XX > nd6 options=3D29 > media: Ethernet autoselect (100baseTX ) > status: active > on other machine I got: > kes# tcpdump -n -i rl0 port 1812 > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode > listening on rl0, link-type EN10MB (Ethernet), capture size 96 bytes > 22:12:02.309034 IP R.E.A.L.19280 > 10.11.19.1.1812: RADIUS, Access Reques= t (1), id: 0x38 length: 271 > ^C > How to stick mpd5 on fastvpn to send ip from 10.11.8.18 and not from R.E.= A.L? > PS. This seem not mpd problem, this is kernel issue, I think.