sg

Pazar, Aralık 18, 2005

[lug] Re: Pls. help. Problem of IP tables.....



On 12/17/05, Nethali <nethali@gmail.com> wrote:

Hi dear,

Thank you very much for your reply. I didn't specify the gate way for
none of above computers. I'll do it and come back again. Since this is
weekend and PC's are in the office I cannot do it now and let you know.
I think giving gateway might solve the problem.

As you have guessed, my router is Linux box and network is very simple
as follows. Two machines in two networks are 192.168.0.138/24 and
192.168.1.236/24.

External
Network
(Machine is 192.168.0.138/24 is here)
   !
   !
   !
   !   eth0: 192.168.0.150/24
Linux Box with
iptables
   !   eth1: 192.168.1.237/24
   !
   !
   !
Internal
Network
(Machine is 192.168.1.236/24 is here)

I am trying to access 192.168.1.236/24 from 192.168.0.138/24. Actually
there is no physical machine with the IP address 192.168.0.120/24. I
just want to appear 192.168.1.236/24 as 192.168.0.120/24 when we try to
access it from External Network. As you said I did not give any gateway
to any Machine.

In above case I'll add route records for two machine 192.168.0.138/24
and 192.168.1.236/24. I know how it is done.

And also do I need to give gate way for Linux box with iptables? I am
bit confusing in this point. I guess iptables solve the problem. Pls.
instruct me how I need to do this if required.

Thank you so much for your kind response & have a nice day...!!


Well ... please do reply after your problem is solved with the details (if you are interested).. that may help another newbie like me to understand the problem and do it himself instead of posting another duplicate question :)

Regards.


--
Nikhil

Google is Great !

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık