Linux Router

spdesai at gnvfc.net spdesai at gnvfc.net
Sun Feb 6 18:36:59 CET 2005



Hi

I have one linux machine with two NIC cards. One is connected to internet and 
one is private PC. Below is my IP configuration

eth0: Valid IP: xxx.xxx.xxx.68
      Mask: 255.255.255.192
      Gateway: xxx.xxx.xxx.65  

eth1: Invalid IP: 192.168.1.1
       Mask : 255.255.255.0
      Gateway: xxx.xxx.xxx.65 


Now when i connect eth1 to window machine. i can ping up to eth0 valid ip i.e 
xxx.xxx.xxx.68 but could not ping xxx.xxx.xxx.65 which is gateway ip of linux.

I have enable ip_forward to 1 in linux machine.

My window machine ip is: 
IP: 192.168.1.2
Mask:255.255.255.0
GW: 192.168.1.1

Pl. give me the solution so i can ping xxx.xxx.xxx.65 from my window machine.

Thanks in advance

suhag.



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/




More information about the netfilter mailing list