What's new

VLAN not working in 378.55

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

vfrvulcan

Occasional Visitor
Apologies if this is posted elsewhere but I couldn't find anything about it and found the 378.55 thread closed.

Prior to updating my N66U to 378.55 (pretty sure I was on 378.54-2 previously), I had a VLAN set up on port 4 but this no longer seems to be working.

My (unchanged) nat-start code is:

Code:
#!/bin/sh
#
# lan ports 1-3 assigned to vlan1
robocfg vlan 1 ports "1 2 3 8t"
# port 4 to vlan4
robocfg vlan 4 ports "4 8t"
#
vconfig add eth0 4
#
ifconfig vlan4 192.168.125.1 netmask 255.255.255.0 up
#
iptables -I FORWARD -i vlan4 -m state --state NEW -j ACCEPT
iptables -I FORWARD -i vlan4 -o br0 -m state --state NEW -j DROP
iptables -I FORWARD -i br0 -o vlan4 -m state --state NEW -j DROP
iptables -I INPUT -i vlan4 -j ACCEPT

And the error returned when trying to run it manually is:

Code:
admin@RT-N66U:/# vconfig: ioctl error for add: Invalid argument

Any pointers for a resolution would be appreciated.

Regards

Aaron
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top