I built a kernel with the following options:
and put these lines to my rc.conf
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
sysctl -w net.inet.ip.forwarding=1 and
sysctl -w net.inet6.ip6.forwarding=1
Wojciech Puchar-5 wrote:
>> I am using laptop, FreeBSD 7.1 connecting to two ISPs (wlan and ppp) and
>> 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
> email@example.com mailing list
> To unsubscribe, send any mail to
View this message in context:
Sent from the freebsd-questions mailing list archive at Nabble.com.
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"