OPNsense Forum

English Forums => General Discussion => Topic started by: pazhnik on November 04, 2016, 08:54:09 pm

Title: static Route
Post by: pazhnik 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.
?
Title: Re: static Route
Post by: bartjsmit on November 04, 2016, 11:18:48 pm
System, Routes, All, Add Route

Bart...
Title: Re: static Route
Post by: pazhnik 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
Title: Re: static Route
Post by: bartjsmit on November 05, 2016, 10:51:04 am
What about the static routes on router1?

Bart...
Title: Re: static Route
Post by: pazhnik on November 05, 2016, 05:15:00 pm
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.
<<<<
Title: Re: static Route
Post by: bartjsmit 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...