Routing problem
DComTalk.com Forum Index DComTalk.com
Discussion of VoIP, VPN, Video Conferencen, DSL and other data commucations.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web dcomtalk.com
Routing problem

 
Post new topic   Reply to topic    DComTalk.com Forum Index -> Ethernet
Author Message
Luca
Guest





Posted: Tue Dec 13, 2005 2:48 am    Post subject: Routing problem Reply with quote

Hi folks, I need help solving the following problem.
I have two LANs, one with ip 192.168.100.0 and subnet 255.255.255.0, the
other with ip 192.168.200.0 and subnet 255.255.255.0.
I need to connect the the two LANs using a server (can be Linux or
Windows, your choice). One LAN card of the server has ip 192.168.100.1,
the other has 192.168.200.1, so:


192.168.100.1 | 192.168.200.1
LAN1 -------------- SERVER -------------- LAN2
192.168.100.0 192.168.200.0
255.255.255.0 255.255.255.0

The question is: how do I set the server to let a host on one LAN to
ping another host on the other LAN?
Any help is appreciated.
Thank you
Luca
Back to top
Walter Roberson
Guest





Posted: Tue Dec 13, 2005 2:48 am    Post subject: Re: Routing problem Reply with quote

I'm not particularily familiar with Linux, but in a number of Unix
systems, all you need to do is configure (or "tune") the IP stack
to permit forwarding of IP packets between interfaces. The rest
of the work would all get handled through the normal Unix routing
procedures.

For example, in SGI's IRIX, all that would be necessary would
be to become root and command systune ipfowarding 1

In Linux, it's probably something closer to

echo 1 >> /proc/net/forwarding

but that's just an example of the general style; I don't know which
file you would need.


If I recall correctly, in Windows, it's one of the security policies
("manage computer" -- mmc) but I couldn't find it in a fish through
Windows 2000 Professional. It might have been on XP that I was looking.
--
Programming is what happens while you're busy making other plans.
Back to top
David Tiktin
Guest





Posted: Tue Dec 13, 2005 5:20 pm    Post subject: Re: Routing problem Reply with quote

Quote:
The question is: how do I set the server to let a host on one LAN
to ping another host on the other LAN?

Enable forwarding. You can google for it or just see

http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html

Dave

--
D.a.v.i.d T.i.k.t.i.n
t.i.k.t.i.n [at] a.d.v.a.n.c.e.d.r.e.l.a.y [dot] c.o.m
Back to top
 
Post new topic   Reply to topic    DComTalk.com Forum Index -> Ethernet All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Solutions: Telephone Systems Electronics Satellite TV Tech & Gadgets
Powered by phpBB