Routing Nightmare



  • Hello

    I have two locations I need to connect through a local network.

    _______          _____                                                        ______          _____        ______
    |          |  (A1) |      |  (A3)          Local Loop              (B1)  |        | (B2)  |      | (C1) |        |
    | Lan A | <–->| pf A |  <----------------------------------------> | Pf B  | <---> |ASA |<--->|LAMP |
    ||        ||                                                      ||          |____|        |_|
                            ^
                            | (A2)
                        ________
                        | Internet|
                        | _______|

    A1 - 10.1.14.0 <--> 10.1.14.1
    A2 - Dhcp      <--> any
    A3 - 192.168.x.y <----> 192.168.z.w - B1 ( Being routed by a Third party)
    B2 - 10.1.2.25 <--> 10.1.2.10
    C1 - 172.16.0.1 <--> 172.16.0.2

    Simple routing, I want "Lan A" to be able to access the "LAMP" server on "Lan B".
    I added these two routes for "pf A" :
                                      R1 : 10.1.2.0    -> A3 GW
                                      R2 : 172.16.0.0 -> A3 GW

    I have added one route for "pf B":
                                      R1 : 172.16.0.0 -> 10.1.2.10

    I was able to access "pf B" from "Lan A".
    I can't access the "LAMP" server from "Lan A".

    I did ignore the Internet connection (A2), my priority is with the route.

    Now If I replaced "pf A" with a simple "Cisco" router.
    with the following route :
                                      R1 : any any A3 GW

    "Lan A" is able to access the "LAMP" server on "Lan B".

    Stuff I did :

    • I opened the firewall on both sides.
    • I messed with Nating on "pf A", ticking/unticking some of the advanced options in firewall/nat.

    But sadly I failed.

    Any help with welcome.



  • create a route for 172.16.0.1/24 –> PFB on PFA
    and a route for 10.1.14.1/24 -->PFA on PFB

    should do the trick


Log in to reply