OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • static Route
« previous next »
  • Print
Pages: [1]

Author Topic: static Route  (Read 7277 times)

pazhnik

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
static Route
« on: November 04, 2016, 08:54:09 pm »
Hello.
How to write static route to opnsense?
config router 2
For network communication network 192.168.3.0/24 to 192.168.6.0/24

>>>>>>
192.168.3.0/24
router1
192.168.4.0/24
opnsense ( router2)
192.168.16.0/24
<<<<<<


I ping 192.168.6.200 my router1 with Src. address: 192.168.4.1.
But not ping 192.168.6.200 with Src. address: 192.168.3.1.
?
« Last Edit: November 05, 2016, 07:35:46 pm by pazhnik »
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: static Route
« Reply #1 on: November 04, 2016, 11:18:48 pm »
System, Routes, All, Add Route

Bart...
Logged

pazhnik

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: static Route
« Reply #2 on: November 05, 2016, 02:02:15 am »
thanks.
The result missed.


Code: [Select]
http://s9.picofile.com/file/8273459750/0.JPG
http://s9.picofile.com/file/8273459768/1.JPG
http://s8.picofile.com/file/8273459776/2.JPG
http://s8.picofile.com/file/8273459784/3.JPG

and
system 192.168.4.99  Connection  in 16.10
but 192.168.3.200 not Connection   16.10
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: static Route
« Reply #3 on: November 05, 2016, 10:51:04 am »
What about the static routes on router1?

Bart...
Logged

pazhnik

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: static Route
« Reply #4 on: November 05, 2016, 05:15:00 pm »
Quote from: bartjsmit on November 05, 2016, 10:51:04 am
What about the static routes on router1?

Bart...

One route in a router1.
dst-address=192.168.16.0/24 gateway=192.168.4.32

>>>>>
Note:
other router instead router2 is: ok.
but router2: ofopnsense Not result.
<<<<
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: static Route
« Reply #5 on: November 05, 2016, 05:26:47 pm »
Typo perhaps? You have .6 in your post from yesterday and .16 in your routing table.

If you're sure your routing is correct both ways, run traffic capture on OPNsense and ping both ways.

Bart...
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • static Route
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2