Hi all, I'm doing static routing between 2 networks but it seems to be failing. Here's the scenario.
On my FreeBSD router on LAN1, I've the following entry on my /etc/rc.conf
and on my netstat -rn it shows
and on LAN2, it's identical but it's just the reverse. I've tried to ping from one of my machines in LAN and I'm getting replies but when I try to ssh into the machines behind LAN2, I'll be getting connection time out instead. If I add the static routing options on my LAN's machine level, it seems to work without a hickup, would anyone know if I left out something? Thanks in advance.
Code:
LAN1 (IP: 10.0.0.1 NET: 10.0.0.0/24) -- LAN2 (IP: 10.0.1.1 NET: 10.0.1.0/24)
Code:
gateway_enable="YES"
static_routes="LAN2"
route_kvm="-net 10.0.1.0/24 10.0.0.1"
and on my netstat -rn it shows
Code:
10.0.1.0/24 10.0.0.1 UGS 0 65 rl2