OPNsense Forum

English Forums => General Discussion => Topic started by: weust on October 28, 2017, 09:11:13 pm

Title: Routing issue
Post by: weust on October 28, 2017, 09:11:13 pm
At home I'm playing around with OPNsense VM nn a ESXi 6.5.0 U1 setup, next to my Hyper-V 2016 setup which runs my main OPNsense VM.

Also working to setup a new network setup, so just trying out some thing.
But I have a routing problem I can't get my head around.
Hopefully someone here has an idea.

My Cisco switch has several VLAN's, including 42.
The IP address of the that VLAN interface is 10.42.42.20/24
Default gateway is 192.168.1.1 (VLAN 10)

The OPNsense VM (RouterA) on Hyper-V 2016 has, for the interface connected to VLAN 42 (Opt1), IP address 10.42.42.100.
It also has a interface connected to VLAN 10 (LAN), IP address 192.168.1.1.
No other interfaces, besides the one for WAN.

The OPNsense VM (RouterB) on ESXi 6.5.0 U1 has, for the interface connected to VLAN 42, IP address 10.42.42.1.
No other interfaces, besides the one for WAN.

Client IP address 192.168.1.61 (VLAN 10 set on the Switch port).

NAS IP address 192.168.1.11 (VLAN 10 set on the Switch Port)

Now comes the weird part, as layed out below:

Switch
Ping to 10.42.42.100 OK
Ping to 10.42.42.1 OK
Ping to 192.168.1.1 OK
Ping to 192.168.1.11 OK
Ping to 192.168.1.61 NOK

RouterA
Ping to 10.42.42.20 OK
Ping to 10.42.42.1 OK
Ping to 192.168.1.11 OK
Ping to 192.168.1.61 NOK

RouterB
Ping to 10.42.42.20 OK
Ping to 10.42.42.100 OK
Ping to 192.168.1.11 NOK
Ping to 192.168.1.61 NOK

Client (192.168.1.61/24 VLAN 10)
Ping to 10.42.42.20 OK
Ping to 10.42.42.100 OK
Ping to 10.42.42.1 NOK
Ping to 192.168.1.1 OK
Ping to 192.168.1.11 OK


I hope anyone can make sense out of this. It must be something simple, but I can't see it.