Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




284 posts

Ultimate Geek

Lifetime subscriber

# 205404 11-Nov-2016 21:59
Send private message

So, i set up a WLAN using VLAN 10 and configured a VLAN on the edgerouter lite but when my client connects to the WLAN, it doesnt seem to be getting any ip address. Router config is as follows:

 

 

firewall {

 

all-ping enable

 

broadcast-ping disable

 

ipv6-receive-redirects disable

 

ipv6-src-route disable

 

ip-src-route disable

 

log-martians enable

 

name VLAN10_IN {

 

default-action accept

 

description ""

 

rule 1 {

 

action drop

 

description "DROP access to 192.168.1.x"

 

destination {

 

address 192.168.1.0/24

 

}

 

log disable

 

protocol all

 

}

 

}

 

name VLAN10_LOCAL {

 

default-action accept

 

description ""

 

rule 10 {

 

action accept

 

description "ALLOW access to VLAN10 DNS"

 

destination {

 

port 53

 

}

 

log disable

 

protocol tcp_udp

 

}

 

rule 20 {

 

action drop

 

description "DROP access to 192.168.10.1"

 

destination {

 

address 192.168.10.1

 

}

 

log disable

 

protocol all

 

}

 

}

 

name WAN_IN {

 

default-action drop

 

description "WAN to internal"

 

rule 10 {

 

action accept

 

description "Allow established/related"

 

state {

 

established enable

 

related enable

 

}

 

}

 

rule 20 {

 

action drop

 

description "Drop invalid state"

 

state {

 

invalid enable

 

}

 

}

 

}

 

name WAN_LOCAL {

 

default-action drop

 

description "WAN to router"

 

rule 10 {

 

action accept

 

description "Allow established/related"

 

state {

 

established enable

 

related enable

 

}

 

}

 

rule 20 {

 

action drop

 

description "Drop invalid state"

 

state {

 

invalid enable

 

}

 

}

 

}

 

options {

 

mss-clamp {

 

mss 1412

 

}

 

}

 

receive-redirects disable

 

send-redirects enable

 

source-validation disable

 

syn-cookies enable

 

}

 

interfaces {

 

ethernet eth0 {

 

address 192.168.1.1/24

 

description Local

 

duplex auto

 

speed auto

 

vif 10 {

 

address 192.168.10.1/24

 

description Guest

 

firewall {

 

in {

 

name VLAN10_IN

 

}

 

local {

 

name VLAN10_LOCAL

 

}

 

}

 

mtu 1500

 

}

 

}

 

ethernet eth1 {

 

description "Internet (PPPoE)"

 

duplex auto

 

pppoe 0 {

 

default-route auto

 

firewall {

 

in {

 

name WAN_IN

 

}

 

local {

 

name WAN_LOCAL

 

}

 

}

 

mtu 1492

 

name-server auto

 

password ****************

 

user-id Bigpipe

 

}

 

speed auto

 

}

 

ethernet eth2 {

 

address 192.168.2.1/24

 

description "Local 2"

 

duplex auto

 

speed auto

 

}

 

loopback lo {

 

}

 

}

 

port-forward {

 

auto-firewall enable

 

hairpin-nat enable

 

lan-interface eth0

 

wan-interface eth1

 

}

 

service {

 

dhcp-server {

 

disabled false

 

hostfile-update disable

 

shared-network-name GUEST {

 

authoritative disable

 

subnet 192.168.10.0/24 {

 

default-router 192.168.10.1

 

dns-server 208.67.222.222

 

dns-server 208.67.220.220

 

lease 86400

 

start 192.168.10.10 {

 

stop 192.168.10.20

 

}

 

}

 

}

 

shared-network-name LAN1 {

 

authoritative disable

 

subnet 192.168.1.0/24 {

 

default-router 192.168.1.1

 

dns-server 192.168.1.1

 

lease 86400

 

start 192.168.1.21 {

 

stop 192.168.1.240

 

}

 

}

 

}

 

shared-network-name LAN2 {

 

authoritative disable

 

subnet 192.168.2.0/24 {

 

default-router 192.168.2.1

 

dns-server 192.168.2.1

 

lease 86400

 

start 192.168.2.21 {

 

stop 192.168.2.240

 

}

 

}

 

}

 

use-dnsmasq disable

 

}

 

dns {

 

forwarding {

 

cache-size 150

 

listen-on eth0

 

listen-on eth2

 

name-server 192.168.1.10

 

}

 

}

 

gui {

 

http-port 80

 

https-port 443

 

older-ciphers enable

 

}

 

nat {

 

rule 5010 {

 

outbound-interface pppoe0

 

type masquerade

 

}

 

}

 

ssh {

 

port 22

 

protocol-version v2

 

}

 

}

 

system {

 

host-name ubnt

 

login {

 

user ubnt {

 

authentication {

 

encrypted-password ****************

 

}

 

level admin

 

}

 

}

 

ntp {

 

server 0.ubnt.pool.ntp.org {

 

}

 

server 1.ubnt.pool.ntp.org {

 

}

 

server 2.ubnt.pool.ntp.org {

 

}

 

server 3.ubnt.pool.ntp.org {

 

}

 

}

 

syslog {

 

global {

 

facility all {

 

level notice

 

}

 

facility protocols {

 

level debug

 

}

 

}

 

}

 

time-zone UTC

 

}

 

 

On the E400, i set up a WLAN with VLAN 10 and in the network configuration, under Ethernet ports, enabled 'Trunk Multiple VLANS' with VLAN 10 added in scope


Create new topic


284 posts

Ultimate Geek

Lifetime subscriber

  # 1670310 13-Nov-2016 21:54
Send private message

I ended up setting up ACL rules on the E400 which worked for my purpose. I will probably have to visit this at a later stage so that i can block off the guest network on the router level


Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Microsoft launches first Experience Center worldwide for Asia Pacific in Singapore
Posted 13-Nov-2019 13:08


Disney+ comes to LG Smart TVs
Posted 13-Nov-2019 12:55


Spark launches new wireless broadband "Unplan Metro"
Posted 11-Nov-2019 08:19


Malwarebytes overhauls flagship product with new UI, faster engine and lighter footprint
Posted 6-Nov-2019 11:48


CarbonClick launches into Digital Marketplaces
Posted 6-Nov-2019 11:42


Kordia offers Microsoft Azure Peering Service
Posted 6-Nov-2019 11:41


Spark 5G live on Auckland Harbour for Emirates Team New Zealand
Posted 4-Nov-2019 17:30


BNZ and Vodafone partner to boost NZ Tech for SME
Posted 31-Oct-2019 17:14


Nokia 7.2 available in New Zealand
Posted 31-Oct-2019 16:24


2talk launches Microsoft Teams Direct Routing product
Posted 29-Oct-2019 10:35


New Breast Cancer Foundation app puts power in Kiwi women's hands
Posted 25-Oct-2019 16:13


OPPO Reno2 Series lands, alongside hybrid noise-cancelling Wireless Headphones
Posted 24-Oct-2019 15:32


Waikato Data Scientists awarded $13 million from the Government
Posted 24-Oct-2019 15:27


D-Link launches Wave 2 Unified Access Points
Posted 24-Oct-2019 15:07


LG Electronics begins distributing the G8X THINQ
Posted 24-Oct-2019 10:58



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.