connect 2 lan to access internet through dlink g604t modem router

  • Thread starter Thread starter Gerard
  • Start date Start date
G

Gerard

I have one w2k pc (#1) connecting to an ADSL connection (Dlink G604T)
using a wireless adpator. I have another w2k pc (#2) connecting to the
first pc (w2k #1) through crossover cable. Currently I have no
problem accessing internet through the first pc (w2k #1). I would like
to set up the second pc (w2k #2) to access internet. w2k #1 has two
NIC, one (wireless) adaptor connecting to the ADSL model router and the
other crossover cable to w2k #2.

Before using ADSL, the two pc can access internet through a dailup
modem using ICS. w2k #1 has ICS and w2k #2 share the internet through
w2k #1.

Currently the modem router dlink G604T has the following address
10.1.1.1 subnet 255.255.255.0.

w2k #1 has address 10.1.1.2 subnet 255.255.255.0 (wireless adaptor),
default gateway 10.1.1.1
w2k #1 has another nic with 10.1.2.1. subnet 255.255.255.0 default
gateway 10.1.1.1.
w2k #2 has address 10.1.2.2 subnet 255.255.255.0, default gateway
10.1.1.1

I have set up IPEnable on w2k #1 and add a permanent route (route -p
add 10.1.1.1 10.1.2.1 on w2k #1) but it does not work.

w2k #2 (10.1.2.2) <-crossover-> (10.1.2.1) w2k #1 (IPEnable=1)
(10.1.1.2) <wireless > DLINK G604T (10.1.1.1) <ADSL>

Can anyone tell me what I have done wrong?

Thanks for your time in advance
 
Get rid of the "two nic" stuff and forget it.
Buy a Hub or Switch,...they are cheap.
Plug everything into the it,...including the ADSL device.
 
But if you really want to do it that way, you can just use ICS as before.
Enable ICS on the ADSL interface. Windows will wan to change the LAN
interface to 192.168.0.1. I'd just let it do that, but if you want or need
it to be on the 10.1.2.0/24 network, just change it back after ICS ins
enabled. If you leave it 192.168.0.1 you'll also get DHCP service so you can
just set the computer on the other end of the crossover cable to obtain it's
IP and DNS settings automatically.
That's really all there is to it.

....kurt
 
Kurt said:
But if you really want to do it that way, you can just use ICS as before.
Enable ICS on the ADSL interface. Windows will wan to change the LAN
interface to 192.168.0.1. I'd just let it do that, but if you want or need
it to be on the 10.1.2.0/24 network, just change it back after ICS ins
enabled. If you leave it 192.168.0.1 you'll also get DHCP service so you can
just set the computer on the other end of the crossover cable to obtain it's
IP and DNS settings automatically.
That's really all there is to it.

...kurt

Thanks for the reply.

I use the crossover cable and one wireless adapter because the two pc
are in the same room which is quite far away from the access point (the
phone plug and the G604T) and I don't want to buy another wireless
adaptor or run the cable on the floor.

I will try the ICS option later tonight when I go back home and update
the group later.

Thanks
Gerard
 
Gerard wrote:

Kirt,

Good news.

I start up internet sharing on the wareless network on the w2k #1 and
change w2k #2 to obtain ip address automatically and everything works.
I can now share files between the two pc and also share the adsl
internet access.

Thanks very much for all your help.

Regards.
Gerard
 
Just the protection afforded by the NAT / firewall functionality is worth
the cost of a router alone especially with an always on connection such as
cable or xDsl. I would go this route even if there was a single PC using the
connection.

James

Phillip Windell said:
Get rid of the "two nic" stuff and forget it.
Buy a Hub or Switch,...they are cheap.
Plug everything into the it,...including the ADSL device.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com

Gerard said:
I have one w2k pc (#1) connecting to an ADSL connection (Dlink G604T)
using a wireless adpator. I have another w2k pc (#2) connecting to the
first pc (w2k #1) through crossover cable. Currently I have no
problem accessing internet through the first pc (w2k #1). I would like
to set up the second pc (w2k #2) to access internet. w2k #1 has two
NIC, one (wireless) adaptor connecting to the ADSL model router and the
other crossover cable to w2k #2.

Before using ADSL, the two pc can access internet through a dailup
modem using ICS. w2k #1 has ICS and w2k #2 share the internet through
w2k #1.

Currently the modem router dlink G604T has the following address
10.1.1.1 subnet 255.255.255.0.

w2k #1 has address 10.1.1.2 subnet 255.255.255.0 (wireless adaptor),
default gateway 10.1.1.1
w2k #1 has another nic with 10.1.2.1. subnet 255.255.255.0 default
gateway 10.1.1.1.
w2k #2 has address 10.1.2.2 subnet 255.255.255.0, default gateway
10.1.1.1

I have set up IPEnable on w2k #1 and add a permanent route (route -p
add 10.1.1.1 10.1.2.1 on w2k #1) but it does not work.

w2k #2 (10.1.2.2) <-crossover-> (10.1.2.1) w2k #1 (IPEnable=1)
(10.1.1.2) <wireless > DLINK G604T (10.1.1.1) <ADSL>

Can anyone tell me what I have done wrong?

Thanks for your time in advance
 
Someuser said:
Just the protection afforded by the NAT / firewall functionality is worth
the cost of a router alone especially with an always on connection such as
cable or xDsl. I would go this route even if there was a single PC using the
connection.

James

James,
The DLINK G604T is actually a router which I think already gives me NAT
and firewall.
Am I currently having less security protection than pluging the second
pc directly into the router DLINK G604T?
Regards
Gerard
 
Gerard,

1. Your router will provide equal protection to all devices connected to it
so long as you do not use any form of global DMZ functions. Doing so will
bypass the protection afforded by NAT. The use of any dmz functions / port
forwarding should be done only after having secured any services which you
are forwarding.

2. This router has 4 lan ports and so the preffered setup would be to plug
both computers directly to the lan ports using regular cat-5 cables (not
crossover), and to setup the router to provide dhcp services.

3. The need for ICS np longer exists since you are not using dial-up
anymore.

James
 
Back
Top