Quantcast
Channel: All EdgeRouter posts
Viewing all articles
Browse latest Browse all 60861

Inter VLAN with EdgeMax Router and Switch Cisco SOHO

$
0
0

 Hello Ubiquiti GURU

 

Hi I'm really confused with the problem. I don't know what I'm doing or I'm just missing something.

I´m planning to build the SOHO using EdgeMax Router with Cisco Swtich 2900

 

Inter VLAN EdgeMax with Switch Cisco.jpg

 

  • I´m attaching show configuration of EdgeMax Router and Swtich Cisco.
  • The problem is the PC doesn´t get IP from Router, I´m suppose the VLAN service doesn´t work now.
  • I know for propouse to check the VLAN service just configure from switch juts one vlan 160.
  • I´m using crossover cable for the whole SOHO.
  • I´m connecting to switch using console after that I´will vlan native.

Could you help me please If I forgot any configuration on switch or EdgeMax.  ?

 

***********************

EdgeMax Router:

***********************

 

ubnt@salitre:~$ show configuration all
firewall {
all-ping enable
broadcast-ping disable
group {
}
ipv6-receive-redirects disable
ipv6-src-route disable
ip-src-route disable
log-martians enable
name WAN_IN {
default-action accept
description "WAN to internal"
enable-default-log
rule 10 {
action accept
description "Allow established/related"
log enable
p2p {
all
}
protocol all
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
log enable
protocol all
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 192.100.1.1/24
description Local
duplex auto
speed auto
}
ethernet eth1 {
address dhcp
description Internet
duplex auto
firewall {
in {
name WAN_IN
}
local {
name WAN_LOCAL
}
}
speed auto
}
ethernet eth2 {
address 172.16.0.1/24
description "LAN 2"
duplex auto
speed auto
}
ethernet eth3 {
address 172.16.1.1/24
description "LAN 3"
duplex auto
speed auto
}
ethernet eth4 {
address 172.16.2.1/24
description "WLAN 1"
duplex auto
speed auto
}
ethernet eth5 {
address 172.16.3.1/24
description "WLAN 2"
duplex auto
speed auto
}
ethernet eth6 {
duplex auto
speed auto
vif 150 {
address 172.16.4.1/24
description casa
ip {
enable-proxy-arp
}
}
vif 155 {
address 172.16.5.1/24
description peter
mtu 1500
}
vif 160 {
address 172.16.6.1/24
description dmz
}
}
ethernet eth7 {
duplex auto
speed auto
}
loopback lo {
}
}
protocols {
static {
}
}
service {
dhcp-server {
disabled false
hostfile-update disable
shared-network-name LAN-subnet {
authoritative disable
subnet 172.16.0.0/24 {
default-router 172.16.0.1
dns-server 172.16.0.1
lease 86400
start 172.16.0.10 {
stop 172.16.0.254
}
}
}
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 WLAN-down-subnet {
authoritative disable
subnet 172.16.2.0/24 {
default-router 172.16.2.1
dns-server 172.16.2.1
lease 86400
start 172.16.2.10 {
stop 172.16.2.254
}
}
}
shared-network-name dmz {
authoritative disable
description DMZ
subnet 172.16.6.0/24 {
default-router 172.16.6.1
dns-server 172.16.6.1
exclude 172.16.6.1
lease 86400
start 172.16.6.1 {
stop 172.16.6.253
}
}
}
shared-network-name peter {
authoritative disable
subnet 172.16.5.0/24 {
default-router 172.16.0.1
dns-server 172.16.0.1
lease 86400
start 172.16.5.1 {
stop 172.16.5.32
}
}
}
use-dnsmasq disable
}
dns {
forwarding {
cache-size 150
listen-on eth2
listen-on eth3
listen-on eth4
listen-on eth5
listen-on eth6
listen-on eth6.150
listen-on eth6.155
listen-on eth6.160
}
}
gui {
http-port 80
https-port 443
older-ciphers enable
}
nat {
rule 5010 {
description "MASCARA FOR WAN"
log disable
outbound-interface eth1
protocol all
source {
address 172.16.0.0/16
}
type masquerade
}
}
ssh {
port 22
protocol-version v2
}
}
system {
gateway-address 192.168.100.1
host-name salitre
login {
banner {
post-login "Hola mundo"
pre-login "Bye mundo"
}
user jharo {
authentication {
encrypted-password ****************
plaintext-password ****************
}
full-name UBNT
level admin
}
user ubnt {
authentication {
encrypted-password ****************
plaintext-password ****************
}
full-name admin
level admin
}
}
name-server 8.8.8.8
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 America/Guayaquil
traffic-analysis {
custom-category videos {
name Youtube
name netflix
}
dpi enable
export enable
}
}
ubnt@salitre:~$

 

********************

Switch Cisco:

*******************

 

GYE#sh running-config
Building configuration...

Current configuration : 1453 bytes
!
version 12.1
no service single-slot-reload-enable
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname GYE
!
!
ip subnet-zero
vtp mode transparent
!
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
interface FastEthernet0/1
switchport mode trunk
no ip address
!
interface FastEthernet0/2
switchport access vlan 160
switchport mode access
no ip address
!
interface FastEthernet0/3
switchport access vlan 160
switchport mode access
no ip address
!
interface FastEthernet0/4
no ip address
!
interface FastEthernet0/5
no ip address
!
interface FastEthernet0/6
no ip address
!
interface FastEthernet0/7
no ip address
!
interface FastEthernet0/8
no ip address
!
interface FastEthernet0/9
no ip address
!
interface FastEthernet0/10
no ip address
!
interface FastEthernet0/11
no ip address
!
interface FastEthernet0/12
no ip address
!
interface Vlan1
no ip address
no ip route-cache
!
interface Vlan120
no ip address
no ip route-cache
!
interface Vlan160
no ip address
ip helper-address 172.16.6.1
no ip route-cache
!
ip http server
!
line con 0
password xxx
login
line vty 0 4
password xxxxxxx
login
line vty 5 15
password xxxxxxx
login
!
end

 

**********************************

Ping test from EdgeMax Router

**********************************

ubnt@salitre:~$ ping 172.16.6.1
PING 172.16.6.1 (172.16.6.1) 56(84) bytes of data.
64 bytes from 172.16.6.1: icmp_req=1 ttl=64 time=0.130 ms
64 bytes from 172.16.6.1: icmp_req=2 ttl=64 time=0.105 ms
64 bytes from 172.16.6.1: icmp_req=3 ttl=64 time=0.102 ms
^C
--- 172.16.6.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.102/0.112/0.130/0.015 ms

ubnt@salitre:~$ ping 172.16.6.2
PING 172.16.6.2 (172.16.6.2) 56(84) bytes of data.
From 172.16.6.1 icmp_seq=1 Destination Host Unreachable
From 172.16.6.1 icmp_seq=2 Destination Host Unreachable
From 172.16.6.1 icmp_seq=3 Destination Host Unreachable
From 172.16.6.1 icmp_seq=4 Destination Host Unreachable
From 172.16.6.1 icmp_seq=5 Destination Host Unreachable
From 172.16.6.1 icmp_seq=6 Destination Host Unreachable
From 172.16.6.1 icmp_seq=7 Destination Host Unreachable
From 172.16.6.1 icmp_seq=8 Destination Host Unreachable
From 172.16.6.1 icmp_seq=9 Destination Host Unreachable
^C
--- 172.16.6.2 ping statistics ---
12 packets transmitted, 0 received, +9 errors, 100% packet loss, time 11003ms
pipe 3

ubnt@salitre:~$ ping 172.16.6.3
PING 172.16.6.3 (172.16.6.3) 56(84) bytes of data.
From 172.16.6.1 icmp_seq=9 Destination Host Unreachable
From 172.16.6.1 icmp_seq=10 Destination Host Unreachable
From 172.16.6.1 icmp_seq=11 Destination Host Unreachable
From 172.16.6.1 icmp_seq=12 Destination Host Unreachable
From 172.16.6.1 icmp_seq=13 Destination Host Unreachable
From 172.16.6.1 icmp_seq=14 Destination Host Unreachable
From 172.16.6.1 icmp_seq=15 Destination Host Unreachable
From 172.16.6.1 icmp_seq=16 Destination Host Unreachable
From 172.16.6.1 icmp_seq=17 Destination Host Unreachable
From 172.16.6.1 icmp_seq=18 Destination Host Unreachable
From 172.16.6.1 icmp_seq=19 Destination Host Unreachable
From 172.16.6.1 icmp_seq=20 Destination Host Unreachable
^C
--- 172.16.6.3 ping statistics ---
22 packets transmitted, 0 received, +12 errors, 100% packet loss, time 21010ms
pipe 4

ubnt@salitre:~$

 

 

Thank you so match for your give me a hand about this issue.

 

 


Viewing all articles
Browse latest Browse all 60861

Trending Articles