Hi,
I have a Mandriva LE 2005 Desktop connected to the Internet via eth1 (static
IP 192.168.1.1 required by ADSL modem) and an ADSL (PPPoE) modem.
Today I connected to that desktop a laptop with Mandriva 2005 LE. Both
computers are interconnected by a (Crossed) Ethernet cable connected to the
respective eth0 on both PCs. The Desktop successfully runs dhcpd and
assigns the Laptop an IP address. Both Computers successfully ping each
other in both directions.
The Problem: The laptop can't access the Internet while the Desktop is
connected.
Following are the technical details.
Please advise !
TIA
-----------details----------------
Desktop eth0 IP address: 10.200.1.1
Laptop eth0 IP address (assigned by dhcp client): 10.200.1.200
------------------------------------
Laptop route
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.200.1.0 * 255.255.255.0 U 0 0 0 eth0
default 10.200.1.1 0.0.0.0 UG 0 0 0 eth0
---------------------
Desktop route (actcom is my ISP)
Destination Gateway Genmask Flags Metric Ref Use
Iface
v1.c.actcom.net * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 10 0 0 eth1
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default v1.c.actcom.net 0.0.0.0 UG 0 0 0 ppp0
---------------
Contents of Desktop /etc/dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 10.200.1.255;
option routers 10.200.1.1;
option domain-name-servers 10.200.1.1;
#option domain-name "mydomain.org";
ddns-update-style ad-hoc;
subnet 10.200.1.0 netmask 255.255.255.0 {
range 10.200.1.150 10.200.1.200;
}
--------------
|