[ previous ] [ next ] [ threads ]
 
 From:  Jorgen Norrman <jurg at home dot se>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Static routes with OPT1 interface
 Date:  Fri, 30 Jul 2004 00:09:13 +0200
Hello everybody!

I've got a m0n0wall up and running for a long time now. Best firewall ever!
I've found that static routes for OPT1 interface doesn't work.
I can't ping a host on my neighbours LAN. He has a static route for my 
LAN in his router.
I can ping his routers IP-address on OPT1 interface but not his routers 
LAN IP-adress.

// jn


My conf:

192.168.101.0 /24 (LAN) --- m0n0wall --- WAN (dhcp)
                                                   |
                                     192.168.0.0 /24 (OPT1)
                                                   |
                          192.168.10.0 /24 (my neighbours LAN)


My m0n0wall has 3 IP's : 192.168.101.253, 192.168.0.253 and dhcp adress 
on WAN.

In m0n0wall i've got a static routes for 192.168.10.0 /24 gateway 
192.168.0.1 which is a router at my neighbour.

Rules:

pass interface opt1 source any destination any
pass interface lan source any destination any

Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            217.208.141.1      UGSc        4     1668    xl2
127.0.0.1          127.0.0.1          UH          2       30    lo0
192.168.0          link#1             UC          2        0    xl0
192.168.0.1        00:01:02:22:24:72  UHLW        2   422358    xl0    971
192.168.0.252      00:50:da:df:7a:b3  UHLW        0     4801    lo0
192.168.10         192.168.0.1        UGSc        1   105947    xl0
192.168.101        link#2             UC          3        0    xl1
192.168.101.10     00:50:da:b8:a0:b5  UHLW        0  1971896    xl1    837
192.168.101.16     00:08:74:fb:6d:79  UHLW        5     9670    xl1   1161
192.168.101.18     00:a0:c9:01:15:5b  UHLW        1  1272829    xl1    918
217.208.141        link#3             UC          1        0    xl2
217.208.141.1      00:02:3b:00:e1:71  UHLW        4        0    xl2   1161
217.208.141.205    127.0.0.1          UGHS        0        0    lo0