Date: Fri, 26 Aug 2016 06:32:40 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 212170] ipfw fwd does not works if defaultgateway is not assigned Message-ID: <bug-212170-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212170 Bug ID: 212170 Summary: ipfw fwd does not works if defaultgateway is not assigned Product: Base System Version: 11.0-RC1 Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: yura_doorsfan@mail.ru Google did not help me. Easy to repeat: 2 gateways: 1. rl0=3D1.2.3.2/30, gateway 1.2.3.1 2. rl1 PPPoE (/usr/sbin/ppp) tun0 5.6.7.8 --> 9.10.11.12 netmask 0xffffffff 2 rules: fwd 9.10.11.12 ip from 5.6.7.8 to not 192.168.0.0/16 out fwd 1.2.3.1 ip from 1.2.3.2 to not 192.168.0.0/16 out script: gwvo=3D$(/sbin/ifconfig | grep "inet 5.6.7.8" | awk '{print $4}') usualy give me '9.10.11.12' if PPPoE provider had been in down before router booted, then=20 $(gwvo) took on empty value=20 and /sbin/route change default ${gwvo} result default route is absent and ping -S 1.2.3.2 8.8.8.8 answer me "no route to host" and fwd 1.2.3.1 ip from 1.2.3.2 to not 192.168.0.0/16 out stop forward (and count) packets --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212170-8>