Reala
New Around Here
Hi,
I've been using the script in this thread for my AC66U for quite a while now but upgraded to 380.65 this morning and it quit working. I was using the script below:
It seems once that script executes, I lose connectivity on my wired clients (desktop PC). I see the following error messages in the system log (from a wireless client):
I checked, and it looks like LAN port 4 is on the vlan10, which should be correct, but I can't access the router/internet from my desktop PC, which is still on vlan1, LAN port 1.
I'm also getting a bunch of messages flooding the system log:
and so on.
I'm kind of stumped here. It used to work and now it doesn't. My router IP is 192.168.2.1.
Any ideas? Tried disabling CTF, nothing. I can't ping the router from my wired PC nor can the router ping the PC. Yet for some reason I can see it's getting an IP, though I'm not sure how true that is. Right now, the only way I get connectivity is omitting the script entirely, leaving each port on the same vlan1.
I've been using the script in this thread for my AC66U for quite a while now but upgraded to 380.65 this morning and it quit working. I was using the script below:
Code:
#!/bin/sh
# force LAN port 4 to use the Guest Network for RT-AC66U
robocfg vlan 1 ports "1 2 3 8t"
robocfg vlan 10 ports "4 8t"
vconfig add eth0 10
ifconfig vlan10 up
brctl addif br0 vlan10
ebtables -t broute -I BROUTING -p IPv4 -i vlan10 --ip-dst 192.168.2.0/24 --ip-proto tcp -j DROP
ebtables -t filter -I FORWARD -i vlan10 -o ! eth0 -j DROP
ebtables -t filter -I FORWARD -i ! eth0 -o vlan10 -j DROP
It seems once that script executes, I lose connectivity on my wired clients (desktop PC). I see the following error messages in the system log (from a wireless client):
Code:
kernel: vlan10 adding interface with same address as a received packet
I checked, and it looks like LAN port 4 is on the vlan10, which should be correct, but I can't access the router/internet from my desktop PC, which is still on vlan1, LAN port 1.
I'm also getting a bunch of messages flooding the system log:
Code:
kernel: printk: 10 messages suppressed.
and so on.
I'm kind of stumped here. It used to work and now it doesn't. My router IP is 192.168.2.1.
Any ideas? Tried disabling CTF, nothing. I can't ping the router from my wired PC nor can the router ping the PC. Yet for some reason I can see it's getting an IP, though I'm not sure how true that is. Right now, the only way I get connectivity is omitting the script entirely, leaving each port on the same vlan1.
Last edited: