Cannot ping internal network via eth1
- From: dmedhora@xxxxxxxxx
- Date: 9 Nov 2006 03:52:20 -0800
Hi, Sorry I posted this in perhaps the wrong group.
Hope this is the correct one:)
I have a strange problem with my home network.
It all used to work before but I disconnected everything and
reconnected
them again and now everything is ok with the exception that I
cannot ping my internal network.
Setup:
I have a PC running linux with 2 interfaces.
Eth0 = external interface (dhcp) ip=whatever.
Eth1 = internal interface (static) ip=192.168.1.2
iptables setup unchanged - I run an iptables firewall on my PC
I used firestarter to setup the firewall which works fine for
forwarding
ports.
Eth1 connects to a linksys WRK54G home wireless router, via a cable.
The home router is 192.168.1.1 and I recently set it to factory
defaults.
I have set its default gateway to be 192.168.1.2 ( Eth1 on PC )
2 laptops (running windows XP) access the wireless router to connect
to the internet, ofcourse via my linux PC gateway.
Now, when I start a dhcp server on the linksys router and use dhcp
clients
on the laptops, I get connectivity. I also get connectivity if I dont
use a
dhcp server on the linksys and set up static ip on laptops using
default
gateway 192.168.1.1
But in either cases I have to set up a route to 192.168.1.2 via
192.168.1.1
on the laptops.
!!AND!!
The linux PC cannot ping nor ssh into the laptops (cygwin sshd). Though
this
used to work before!
I tried to setup a static route from the linux pc to the laptop to no
avail.
I get no route to host when I use ssh and host unreachable when i use
ping. ALL THIS even if iptables is turned OFF.
Plus I've noticed a strange 169.254.0.0 or something like that in the
routing table.
Can anyone help with any suggestions on how to
1) Not have to manually add a static route to 192.168.1.2 on the
laptops
2) How to make my PC ping and talk to my laptops
Thanks a big bunch.
D
.
- Prev by Date: Re: Can we write our own shell??
- Next by Date: Re: IPv4 address validation in Net::IP
- Previous by thread: Can we write our own shell??
- Next by thread: OpenVpn Server and two subnets
- Index(es):
Relevant Pages
|