I have a problem with vyatta 6.2 - static routing
I want to have internet in network 192.168.0., I can ping e.g 192.168.0.59 but I have no internet connection in network 192.168.0..
I tried to add static route but but nothing happened, set protocols static route 192.168.1.0/24 next-hop 192.168.0.100
my configuration
ethernet eth0 {
address 192.168.1.220/24
description LAN_01
hw-id 00:23:54:da:d8:2e
}
ethernet eth1 {
address 192.168.0.100/24
description LAN_02
hw-id 10:fe:ed:04:12:db
}
gateway-address 192.168.1.1
root@ROUTER2# ping google.pl
PING google.pl (46.134.212.153) 56(84) bytes of data.
64 bytes from public103577.xdsl.centertel.pl (46.134.212.153): icmp_req=1 ttl=128 time=18.5 ms
64 bytes from public103577.xdsl.centertel.pl (46.134.212.153): icmp_req=2 ttl=128 time=18.9 ms
root@ROUTER2# ping 192.168.0.59
PING 192.168.0.59 (192.168.0.59) 56(84) bytes of data.
64 bytes from 192.168.0.59: icmp_req=1 ttl=128 time=10.7 ms
64 bytes from 192.168.0.59: icmp_req=2 ttl=128 time=0.300 ms
root@ROUTER2# show service nat rule 10
outbound-interface eth0
source {
address 192.168.0.0/24
}
type masquerade
thank you in advance for your help