NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Raybot's avatar
Raybot
Tutor
May 14, 2012

NV+ v2 promisc mode - not liking /etc/network/interfaces?

Hi all!

I'm messing with getting OpenVPN running on a stock ReadyNAS NV+ v2 and I'm getting stumped at trying to set the network interface into promiscuous mode (so I can run the VPN in bridged mode). Here's my /etc/network/interfaces (which should work - I've got virtually an identical one - but with different IP addresses - on another Debian-based box running OpenVPN that works):


auto eth0
iface eth0 inet manual
up ip link set $IFACE up promisc on

auto br0
iface br0 inet static
address 192.168.1.18
network 192.168.1.0
broadcast 192.168.1.255
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports eth0
dns-nameservers 192.168.1.1


When the ReadyNAS boots up, it ignores this and sets up at 192.168.168.168 (I can say I'm thankful that at least it has a default setting when it doesn't like the config, rather than ending up completely inaccessible!).

Anyone got any ideas?

For reference, here's the original /etc/network/interfaces file.


iface eth0 inet static
address 192.168.1.18
netmask 255.255.255.0
gateway 192.168.1.1

2 Replies

Replies have been turned off for this discussion
  • Its possible netgear blocked their nic driver from operating in promisc mode and you're beating your head against the wall :)
  • What he said. The kernel probably doesn't have promisc support enabled.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More