From owner-freebsd-questions@FreeBSD.ORG Mon Mar 30 17:53:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F75E1065672 for ; Mon, 30 Mar 2009 17:53:04 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 499E68FC15 for ; Mon, 30 Mar 2009 17:53:04 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LoLfT-0003AP-0M for freebsd-questions@freebsd.org; Mon, 30 Mar 2009 10:53:03 -0700 Message-ID: <22788954.post@talk.nabble.com> Date: Mon, 30 Mar 2009 10:53:03 -0700 (PDT) From: zgabe To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: zgabe84@gmail.com References: <22786046.post@talk.nabble.com> Subject: Re: freebsd 7.1 ipv6 multihoming X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2009 17:53:05 -0000 I built a kernel with the following options: options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_FORWARD and put these lines to my rc.conf firewall_enable="YES" firewall_type="open" as the handbook says. I use the following command as root: ipfw add 101 fwd pppgateway ipv6 from pppaddress to any It throws "getsockopt(IP_FW_ADD): Invalid argument" error! I have tried to set the following variables but the problem is still the same. sysctl -w net.inet.ip.forwarding=1 and sysctl -w net.inet6.ip6.forwarding=1 Thoughts? Wojciech Puchar-5 wrote: > >> I am using laptop, FreeBSD 7.1 connecting to two ISPs (wlan and ppp) and >> I >> have IPv6 addresses. 'netstat -rn' says there is only one default gateway >> (for example wlan's default gateway). My problem is the following: >> If I ping the ppp tunnel from an other computer, my laptop recieves the >> ICMP6 echo request over the ppp tunnel, but it answers over the wlan >> interface. So If the laptop losts the wlan's connection, It becomes >> unreacheable. I read some similar posts (only ipv4) about forwarding with >> IPFW, but I was unable to solve my problem until now. > > exactly. use ipfw and fwd command > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/freebsd-7.1-ipv6-multihoming-tp22786046p22788954.html Sent from the freebsd-questions mailing list archive at Nabble.com.