Re: very urgent : 2 lan and gateway

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Did you enable ip_forward in the gateway?
echo 1 > /proc/sys/net/ipv4/ip_forward

Muthu.


On Sat, 28 Feb 2004, pankaj chauhan wrote:

> hi all
>
> i need to connect two lans using a gateway.
>
> i have 3 computers .
>
>   comp1-----------------
>                        |
>                      gateway
>                        |
>                       ----------------------comp2
>
> gateway has two lan cards:
> eth0: 10.10.10.1
> eth1: 10.10.11.1
>
> comp1: eth0:10.10.10.2
> route :
> n/w           netmask            gateway
> 10.10.10.0    255.255.255.0      *
> 10.10.11.0    255.255.255.0      10.10.10.1
>
> comp2: eth1: 10.10.11.2
> route
> n/w          netmask             gateway
> 10.10.11.0   255.255.255.0       *
> 10.10.10.0   255.255.255.0       10.10.11.1
>
> (i have ommitted other entries like flags etc).
>
> while i PING i can PING from either comp to gateway
> but i can't ping from one comp to other comp ( i.e
> from one lan to another lan)
>
>   TCPDUMP shows that requests are reaching from one
> comp for another comp to gateway. but no packets are
> forwarded by gateway to the other comp(other lan)
>
> i have just done this entry making and no other
> particular software or no particular option found to
> do the above task.
>
> plz help me as soon as possible .
>
> its very urgent .
> thanks in advance.
>
> Rgds.
> Pankaj
>
> ________________________________________________________________________
> Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
> Go to: http://in.insurance.yahoo.com/licspecial/index.html
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
>



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux