TL:DR. Switch pings out. Attached PC to switch cannot. There is a static route on the upstream router;
===={swtich config}==============
root@EXDEBLSW1> show configuration
## Last commit: 2021-01-28 05:17:12 UTC by NOC
version 12.3R6.6;
system {
host-name EXDEBLSW1;
root-authentication {
-ommited-
}
name-server {
172.16.0.1;
}
login {
message -ommited-
user NOC {
-ommited-
}
}
}
services {
ssh {
root-login deny;
}
web-management {
http;
}
dhcp {
traceoptions {
file dhcp_logfile;
level all;
flag all;
}
pool 10.1.1.0/24 {
address-range low 10.1.1.101 high 10.1.1.252;
router {
10.1.1.1;
}
}
pool 10.1.2.0/24 {
address-range low 10.1.2.101 high 10.1.2.252;
router {
10.1.2.1;
}
}
pool 192.168.240.0/24 {
address-range low 192.168.240.101 high 192.168.240.252;
router {
192.168.240.1;
}
}
pool 192.168.200.0/24 {
address-range low 192.168.200.101 high 192.168.200.252;
router {
192.168.200.1;
}
}
}
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
ntp {
server 172.16.0.1;
}
}
chassis {
auto-image-upgrade;
}
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 172.16.0.2/30;
}
}
}
ge-0/0/1 {
unit 0 {
family ethernet-switching {
vlan {
members LAN;
}
}
}
}
ge-0/0/2 {
unit 0 {
family ethernet-switching {
vlan {
members LAN;
}
}
}
}
ge-0/0/3 {
unit 0 {
family ethernet-switching {
vlan {
members LAN;
}
}
}
}
ge-0/0/4 {
unit 0 {
family ethernet-switching {
vlan {
members LAN;
}
}
}
}
ge-0/0/5 {
unit 0 {
family ethernet-switching {
vlan {
members LAN;
}
}
}
}
ge-0/0/6 {
unit 0 {
family ethernet-switching {
vlan {
members LAN;
}
}
}
}
ge-0/0/7 {
unit 0 {
family ethernet-switching {
vlan {
members LAN;
}
}
}
}
ge-0/0/8 {
unit 0 {
family ethernet-switching {
vlan {
members LAN;
}
}
}
}
ge-0/0/9 {
unit 0 {
family ethernet-switching {
vlan {
members LAN;
}
}
}
}
ge-0/0/10 {
unit 0 {
family ethernet-switching {
vlan {
members LAN;
}
}
}
}
ge-0/0/11 {
unit 0 {
family ethernet-switching {
vlan {
members LAN;
}
}
}
}
ge-0/1/0 {
unit 0 {
family ethernet-switching {
vlan {
members Wifi;
}
}
}
}
ge-0/1/1 {
unit 0 {
family ethernet-switching {
vlan {
members Wifi;
}
}
}
}
lo0 {
unit 66 {
family inet {
address 1.1.1.2/32;
}
}
}
me0 {
unit 0 {
family inet {
dhcp {
vendor-id Juniper-ex2200-c-12p-2g;
}
}
}
}
vlan {
unit 69 {
family inet {
address 172.30.0.1/24;
}
}
unit 99 {
family inet {
address 10.1.0.2/24;
}
}
unit 100 {
family inet {
address 10.1.1.1/24;
}
}
unit 200 {
family inet {
address 10.1.2.1/24;
}
}
unit 300 {
family inet {
address 192.168.240.1/24;
}
}
unit 666 {
family inet {
address 192.168.200.1/24;
}
}
}
vme {
unit 0 {
family inet;
}
}
}
routing-options {
static {
route 0.0.0.0/0 next-hop 172.16.0.1;
}
}
protocols {
igmp-snooping {
vlan all;
}
rstp;
inactive: lldp {
interface all;
}
lldp-med {
interface all;
}
}
ethernet-switching-options {
storm-control {
interface all;
}
}
vlans {
DMZ {
vlan-id 69;
l3-interface vlan.69;
}
Guest {
vlan-id 300;
l3-interface vlan.300;
}
IOT {
vlan-id 666;
l3-interface vlan.666;
}
LAN {
vlan-id 100;
l3-interface vlan.100;
}
System {
vlan-id 99;
l3-interface vlan.99;
}
Wifi {
vlan-id 200;
l3-interface vlan.200;
}
default {
vlan-id 66;
}
}
poe {
interface all;
}
{master:0}
================ Routes ==============
NOC@EXDEBLSW1> show route
inet.0: 11 destinations, 11 routes (11 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0.0.0.0/0*[Static/5] 00:52:17
> to 172.16.0.1 via ge-0/0/0.0
1.1.1.2/32*[Direct/0] 00:09:05
> via lo0.66
10.1.0.2/32*[Local/0] 01:47:47
Reject
10.1.1.0/24*[Direct/0] 00:52:13
> via vlan.100
10.1.1.1/32*[Local/0] 01:47:47
Local via vlan.100
10.1.2.1/32*[Local/0] 01:47:47
Reject
172.16.0.0/30*[Direct/0] 00:52:17
> via ge-0/0/0.0
172.16.0.2/32*[Local/0] 01:47:47
Local via ge-0/0/0.0
172.30.0.1/32*[Local/0] 01:47:47
Reject
192.168.200.1/32 *[Local/0] 01:47:47
Reject
192.168.240.1/32 *[Local/0] 01:47:47
Reject
{master:0}
============ vlans =============
NOC@EXDEBLSW1> show vlans
Name Tag Interfaces
DMZ 69
None
Guest 300
None
IOT 666
None
LAN 100
ge-0/0/1.0, ge-0/0/2.0, ge-0/0/3.0, ge-0/0/4.0,
ge-0/0/5.0, ge-0/0/6.0, ge-0/0/7.0, ge-0/0/8.0,
ge-0/0/9.0, ge-0/0/10.0*, ge-0/0/11.0
System 99
None
Wifi 200
ge-0/1/0.0, ge-0/1/1.0
default 66
None
NOC@EXDEBLSW1> show interfaces vlan terse
Interface Admin Link Proto Local Remote
vlan up up
vlan.69 up down inet 172.30.0.1/24
vlan.99 up down inet 10.1.0.2/24
vlan.100 up up inet 10.1.1.1/24
vlan.200 up down inet 10.1.2.1/24
vlan.300 up down inet 192.168.240.1/24
vlan.666 up down inet 192.168.200.1/24
======== pings ================================
> To port of router upstream;
NOC@EXDEBLSW1> ping 172.16.0.1 rapid
PING 172.16.0.1 (172.16.0.1): 56 data bytes
!!!!!
--- 172.16.0.1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.616/2.111/2.657/0.361 ms
> To google DNS;
NOC@EXDEBLSW1> ping 8.8.8.8 rapid
PING 8.8.8.8 (8.8.8.8): 56 data bytes
!!!!!
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 24.043/26.882/32.554/3.248 ms
> To PC connected on ge0/0/10;
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::99e5:e1a3:2d5f:3e8c%13
IPv4 Address. . . . . . . . . . . : 10.1.1.101
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.1.1.1
NOC@EXDEBLSW1> ping 10.1.1.101 rapid
PING 10.1.1.101 (10.1.1.101): 56 data bytes
!!!!!
--- 10.1.1.101 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.965/2.196/2.703/0.260 ms
> From PC to switch interface connected to upstream router ;
C:\>ping 172.16.0.2
Pinging 172.16.0.2 with 32 bytes of data:
Reply from 172.16.0.2: bytes=32 time=5ms TTL=64
Reply from 172.16.0.2: bytes=32 time=2ms TTL=64
Reply from 172.16.0.2: bytes=32 time=1ms TTL=64
Reply from 172.16.0.2: bytes=32 time=1ms TTL=64
> From PC to Routers interface;
C:\>ping 172.16.0.1
Pinging 172.16.0.1 with 32 bytes of data:
Control-C
^C
========={route table on upstream router}=================
Gateway of last resort is x.x.242.1 to network 0.0.0.0
S* 0.0.0.0/0 [254/0] via x.x.242.1
1.0.0.0/32 is subnetted, 2 subnets
C 1.1.1.1 is directly connected, Loopback1
S 1.1.1.2 is directly connected, GigabitEthernet0/1
10.0.0.0/8 is variably subnetted, 5 subnets, 3 masks
S 10.1.0.0/16 is directly connected, GigabitEthernet0/1
C 10.1.0.0/24 is directly connected, GigabitEthernet0/1
L 10.1.0.1/32 is directly connected, GigabitEthernet0/1
S 10.1.1.0/24 is directly connected, GigabitEthernet0/1
S 10.1.2.0/24 is directly connected, GigabitEthernet0/1
x.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C x.x.x.0/23 is directly connected, GigabitEthernet0/0
L x.x.x.126/32 is directly connected, GigabitEthernet0/0
S x.x.x.218/32 [254/0] via x.x.x.1, GigabitEthernet0/0
172.30.0.0/24 is subnetted, 1 subnets
S 172.30.0.0 is directly connected, GigabitEthernet0/1
S 192.168.200.0/24 is directly connected, GigabitEthernet0/1
S 192.168.240.0/24 is directly connected, GigabitEthernet0/1
ISRDEBER1#