Routing



  • Hi! I have a little problem, and need some advice, this is my network:

    WAN DHCP
        |
        |
    pfSense – netA 192.168.90.10/24 -- SWITCH -- Clients and one server in 192.168.90.X/24
        |
        |
    netB 192.168.3.7/24
        |
        |
    Switch -- Clients 192.168.3.X/24 Default GW for clients 192.168.3.10
        |
        |
    Linux Server 192.168.3.10
        |
        |
    WAN - DHCP

    And I need to route some my clients in 192.168.3.X to one server in 192.168.90.50

    In the Linux server I did this:  route add -net 192.168.90.0 netmask 255.255.255.0 gw 192.168.3.7

    And when I do a traceroute

    C:\Users\saruman>tracert 192.168.90.15

    Traza a 192.168.90.15 sobre caminos de 30 saltos como máximo.

    1    <1 ms    <1 ms    <1 ms  MORIA [192.168.3.10]
      2    <1 ms    <1 ms    <1 ms  192.168.3.7
      3    1 ms    <1 ms    <1 ms  192.168.90.50

    I need to make the same command in the pfsense side, but I'm lost!

    Best regards,

    Frank





  • I need to make the same command in the pfsense side, but I'm lost!

    Best regards,

    why would you need to do the same on the pfsense side? pfsense already has a route to the 192.168.3.X/24 subnet, because it has an interface on it.



  • Thanks KOM, but I did my homework and read that article from PFSenseDocs…  :P

    Heper, its because this:

    PING 192.168.3.10 (192.168.3.10) from 192.168.90.10: 56 data bytes

    --- 192.168.3.10 ping statistics ---
    3 packets transmitted, 0 packets received, 100.0% packet loss

    This is from the pfsense box  ;) as you can see, I can't reach the Linux box, I'm doing this setting the ping command from the source address 192.168.90.10  I think that I'm missing something but I'm not seeing it! :(

    Thanks you two for your comments!

    Frank



  • firewall rules perhaps? do you allow from the .90.x ==> 3.x ?