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

Routing issues

$
0
0

Hello everyone,

 

Would anyone mind looking at my config and seeing if you see anything wrong? Whenever I try to traceroute the 172.28.0.0/30 network the router routes it to my WAN interface. I have a static route that should be directing all traffic from 172.28.0.0/30 to 192.168.0.2.

 

 



Welcome to EdgeOS

By logging in, accessing, or using the Ubiquiti product, you
acknowledge that you have read and understood the Ubiquiti
License Agreement (available in the Web UI at, by defaul) and agree to be bound by its terms.


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"
enable-default-log
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 173.165.0.0/29
description Internet
duplex auto
firewall {
in {
name WAN_IN
}
local {
name WAN_LOCAL
}
}
speed auto
}
ethernet eth1 {
address 192.168.0.1/24
description Local
duplex auto
speed auto
}
ethernet eth2 {
address 192.168.2.1/24
description "Local 2"
duplex auto
speed auto
}
ethernet eth3 {
duplex auto
speed auto
}
ethernet eth4 {
duplex auto
speed auto
}
ethernet eth5 {
duplex auto
speed auto
}
ethernet eth6 {
duplex auto
speed auto
}
ethernet eth7 {
duplex auto
speed auto
}
loopback lo {
}
}
port-forward {
auto-firewall disable
hairpin-nat enable
lan-interface eth1
rule 1 {



}

}
wan-interface eth0
}
protocols {
static {
route 172.28.0.0/30 {
next-hop 192.168.0.2 {
}
}
}
}
service {
dhcp-server {
disabled false
hostfile-update disable
shared-network-name LAN2 {
authoritative enable
subnet 192.168.2.0/24 {
default-router 192.168.2.1
dns-server 192.168.2.1
lease 86400
start 192.168.2.38 {
stop 192.168.2.243
}
}
}
use-dnsmasq disable
}
dns {
forwarding {
cache-size 150
listen-on eth1
listen-on eth2
}
}
gui {
http-port 80
https-port 443
older-ciphers enable
}
nat {
rule 5010 {
description "masquerade for WAN"
outbound-interface eth0
type masquerade
}
}
ssh {
port 22
protocol-version v2
}
}
system {
gateway-address 173.165.*.*
host-name ubnt
login {
user ubnt {
authentication {
encrypted-password ****************
}
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 UTC
traffic-analysis {
dpi enable
export enable
}
}
ubnt@ubnt:~$
ubnt@ubnt:~$ .
-vbash: .: filename argument required
.: usage: . filename [arguments]
ubnt@ubnt:~$ trace
-vbash: trace: command not found
ubnt@ubnt:~$ tra
traceroute traceroute6
ubnt@ubnt:~$ tracerouter6 172.28.0.224
-vbash: tracerouter6: command not found
ubnt@ubnt:~$ traceroute6 172.28.0.224
Invalid IPv6 address or host name '172.28.0.224'
ubnt@ubnt:~$ traceroute 172.28.0.224
traceroute to 172.28.0.224 (172.28.0.224), 30 hops max, 38 byte packets
1 173-165-215-*-naples.hfc.comcastbusiness.net (173.165.215.1*) 0.366 ms 0.274 ms 0.178 ms


Viewing all articles
Browse latest Browse all 20028

Trending Articles



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