Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Unable to get ip address connected to wifi after setting up vlan on edgerouter x

$
0
0

I'm trying to setup a vlan network on a edgerouter x

 

I have my WAN on eth 0 and UniAP on eth 4 with 2 vlans 

vlan 2 = private

vlan 3 = guest

 

I already setup my UniAP with 2 wireless networks with vlan 2 identified for private ssid and vlan 3 for guest ssid

 

When I connect to either private or guest I am unable to get an dhcp address.

 

Could someone take a look at my configuration and let me know what am I doing wrong?

 

Much appreciated.

 

Here is my configuration

ubnt@ubnt:~$ show configuration
firewall {
all-ping enable
broadcast-ping disable
ipv6-receive-redirects disable
ipv6-src-route disable
ip-src-route disable
log-martians enable
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
}
}
}
receive-redirects disable
send-redirects enable
source-validation disable
syn-cookies enable
}
interfaces {
ethernet eth0 {
address dhcp
description Internet
duplex auto
firewall {
in {
name WAN_IN
}
local {
name WAN_LOCAL
}
}
speed auto
}
ethernet eth1 {
description Local
duplex auto
speed auto
}
ethernet eth2 {
description Local
duplex auto
speed auto
}
ethernet eth3 {
description Local
duplex auto
speed auto
}
ethernet eth4 {
description Local
duplex auto
poe {
output pthru
}
speed auto
}
loopback lo {
}
switch switch0 {
address 192.168.10.1/24
description Local
switch-port {
interface eth1 {
}
interface eth2 {
}
interface eth3 {
}
interface eth4 {
vlan {
vid 1
vid 2
vid 3
}
}
vlan-aware enable
}
}
}
service {
dhcp-server {
disabled false
hostfile-update disable
shared-network-name LAN {
authoritative enable
subnet 192.168.10.0/24 {
default-router 192.168.10.1
dns-server 192.168.10.1
lease 86400
start 192.168.10.38 {
stop 192.168.10.243
}
}
}
shared-network-name guest {
subnet 192.168.3.0/24 {
start 192.168.3.10 {
stop 192.168.3.100
}
}
}
shared-network-name private {
subnet 192.168.2.0/24 {
start 192.168.2.10 {
stop 192.168.2.100
}
}
}
}
dns {
forwarding {
cache-size 150
listen-on eth4.2
listen-on eth4.3
listen-on eth4.1
listen-on eth4
}
}
gui {
https-port 443
}
nat {
rule 5010 {
description "masquerade from all LANs to eth0 WAN"
log disable
outbound-interface eth0
protocol all
source {
address 192.168.0.0/16
}
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
}


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>