Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There are 2 win7 pc, 2 100 mb/s routers and 1 ubuntu 12.04 pc.

I scanned a diagram of the Lan setup with IP's

I can not ping from first win7 to second win7 but second win7 can ping first win7 pc.

Ubuntu pc has 2 nic, 100mb/s ethernet nic to router, gigabyte nic direct to gigabyte nic in win7 pc. Ubuntu PC has "share this connection to other pc" on. that nic is eth2 and is

2nd Win7 pc is assigned

What I want is the win7 pc on second router to ping the other win7 pc on the gigabyte lan.

The ubuntu PC can ping both win7 pc's. The first win7 pc can ping ubuntu pc but not the second win7 pc The second win7 pc can ping the ubuntu pc and the first win7 pc

This is the route command in ubuntu pc

   scott@scott-P5QC:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         UG    0      0        0 eth2       *        U     1      0        0 eth0     *        U     1      0        0 eth2

scott@scott-P5QC:~$ netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface         UG        0 0          0 eth2   U         0 0          0 eth0   U         0 0          0 eth2

So any ideas? I did this odd design so that I can have gigabit lan working between the ubuntu pc and the second win7 pc.

share|improve this question
Reading your question fast. Can you disable windows firewall on THE SECOND Win7 machine and try to ping it again? – val0x00ff Jan 7 '13 at 13:11
I just tried turning off firewall it does not help. I have modified the scope rule to at least have it work a little – Scott Jan 7 '13 at 13:56
shows the ping fail from first win7 to second win7‌​2vUkoA/s811/pinwin7%2520to%2520ubuntu.png – Scott Jan 7 '13 at 13:56
show success from second win7 to first win7‌​qcsjPg/s1040/ping%2520second%2520win7.png – Scott Jan 7 '13 at 13:58
shows the ping fail from first win7 to second somehow link broke… – Scott Jan 7 '13 at 14:03

solved by installing webmin. Then used it to reset iptables. Seriously great tool for administering the firewall. Webmin told me 2 rules were in the iptables which it could not understand, so I save iprules to a file, did a reset and all 3 pc can share files.

scott@scott-P5QC:~$ sudo dpkg -i webmin_1.580_all.deb Selecting previously unselected package webmin. (Reading database ... 229686 files and directories currently installed.) Unpacking webmin (from webmin_1.580_all.deb) ... Setting up webmin (1.580) ... Webmin install complete. You can now login to xxxxxxxxxxxxxxxxxxx as root with your root password, or as any user who can use sudo to run commands as root. Processing triggers for ureadahead ... ureadahead will be reprofiled on next reboot scott@scott-P5QC:~$

shows what it looks like

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.