<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello All<div><br></div><div>First, sorry by my poor english, hope you understand me :-)</div><div><br></div><div>I have a problem, i don't understand or don't know how to solve</div><div><br></div><div>I need to interconnect 2 networks with different numbers. One is 192.168.236.0/24 the other 192.168.1.0/24. Mainly i need to access services in the 236. from the 1. one.</div><div><br></div><div>I have a CentOS 5.5 machine with 2 nics each one configured to work in one of the nets. The CentOS also uses a router for Internet access that is 192.168.1.1.</div><div><br></div><div>192.168.1.0/24 >-----192.168.1.100--[CentOS Machine<span class="Apple-style-span" style="font-size: 13px; ">]--192.168.236.74 --------< 192.168.236.0/24</span></div><div><span class="Apple-style-span" style="font-size: 13px; "><br></span></div><div><span class="Apple-style-span" style="font-size: 13px; ">So, i enable forwarding in the CentOS box </span></div><div><span class="Apple-style-span" style="font-size: 13px; "><div><br></div><div>echo '1' > /proc/sys/net/ipv4/ip_forward</div><div><br></div><div>And in one machine of the 1. network (this is Fedora14) I add the route:</div><div><br></div><div><div>route add -net 192.168.236.0 netmask 255.255.255.0 gw 192.168.1.100 dev eth0</div></div><div><br></div><div>Since this moment i can ping or access (ssh/http) another CentOS machine in the 236 network</div><div><div>ping 192.168.236.74</div><div>PING 192.168.236.74 (192.168.236.74) 56(84) bytes of data.</div><div>64 bytes from 192.168.236.74: icmp_req=1 ttl=64 time=0.281 ms</div></div><div><br></div><div>But can't access or ping other machines (NOT Linux ones), ie, printers, Win servers, etc...</div><div><br></div><div>Also tried adding: </div><div>route add 192.168.1.100 eth0</div><div><br></div><div>before the route add -net, but no efect.</div><div><br></div><div>This fails even if i flush IPTables.</div><div><br></div><div>In the CentOS box that replies, i did nothing, it 'just' works.</div><div><br></div><div>Can anyone tell what is happening / help me with this?</div><div>Something to do missing in the CentOS router that joins the networks? </div><div><br></div><div>Best,</div></span></div></body></html>