Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jan 2015 15:12:36 +0200
From:      wishmaster <artemrts@ukr.net>
To:        freebsd-net@freebsd.org
Subject:   Issue with forwarding when creates new interface [was USB Tethering and forwarding]
Message-ID:  <1420288398.485039365.so6mgquw@frv34.fwdcdn.com>
References:  <1419680989.938234917.k6otv1bh@frv34.fwdcdn.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi, 

I have been seeing strange behavior of my system lately. After creating new interface the system variable net.inet.ip.forwarding becomes "0".

 E.g. manually load if_ral kernel module, then rel0 interface appears and net.inet.ip.forwarding becomes "0".

 Previously this happened when I attached smartphone with USB tethering is on.
 May be this is VIMAGE-related... Any ideas? 

Below my original first post.

> Hi, list.
> 
> Server works as router for small network and some services in the jails. When I connect Android-based smartphone and attempt to use USB Tethering, the net.inet.ip.forwarding becomes 0 and I must change it to 1 every time.
> 
> Is this normal behavior? 
> 
> FreeBSD server.local 10.1-STABLE FreeBSD 10.1-STABLE #1 r275636: Mon Dec 22 11:05:33 EET 2014 wishmaster@server.local:/usr/obj/usr/src/sys/SMS i386
> 
> Kernel has been compiled with VIMAGE
> 
> 
> Cheers,
> Vitaliy
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1420288398.485039365.so6mgquw>