network configured via nic how to via dlink router ?

i’ve configured my linux box as a server to route the internet to my windows box via nic how can i configure it via d link router ?

On Sat December 6 2008 12:46 am, lDeVillish wrote:

>
> i’ve configured my linux box as a server to route the internet to my
> windows box via nic how can i configure it via d link router ?
>
>
lDeVillish;

Most routers are a combination switch/router and I am assuming the same of
yours. There are really two ways to proceed. The most common method is to
let the router connect directly to the Internet from its’ WAN port, and then
connect each of the clients to the LAN ports. For this you must first
configure the router. In the documentation you received with the router,
there are instructions. Each client then plugs into the LAN side of the
router. Depending on your router and hardware, the clients then receive
their IP from the router via dhcp or you must assign static IPs to the
clients setting the gateway to point to the router.

If you want to continue using the Linux box to connect to the internet ,say
through eth0, you can forget about the WAN and just treat your router as a
switch. I assume your gateway port eth1 is already configured with a static
address, connect this to one of the LAN ports on the router, and then plug
other clients into any of the remaining LAN ports. If your Windows box is
already connecting to the Internet via your Linux box, the only change you
need to make is to plug eth1 and the Windows box into the LAN side of the
router. Of course a simple switch would have sufficed here.

P. V.
Is this on the test?

On Sat December 6 2008 03:51 pm, PV wrote:

> On Sat December 6 2008 12:46 am, lDeVillish wrote:
>
>>
>> i’ve configured my linux box as a server to route the internet to my
>> windows box via nic how can i configure it via d link router ?
>>
>>
> lDeVillish;
>
> Most routers are a combination switch/router and I am assuming the same of
> yours. There are really two ways to proceed. The most common method is to
<snip>

One more thing here; when configuring static IPs, use the private 192.168.y.x
address space. y should be the same on all your LAN devices, but x should
be different on each one with a mask of 255.255.255.0 . You did not give the
model of your router, but it most likely defaults to 192.168.0.1 ( check your
docs for the router to be sure), so I would suggest you use the 192.168.0.x
subnet.

P. V.
Is this on the test?