Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Martin <martinh@ix.netcom.com>
To: Jesse Gordon <jesseg@nikola.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Linux box to D-Link router/bridge/access connection question
Date: Thu, 25 May 2006 22:45:31 -0400	[thread overview]
Message-ID: <44766BCB.6030703@ix.netcom.com> (raw)
In-Reply-To: <00d201c68025$d5e52f70$5e00800a@printserver>

Thank you very much. I was able to communicate to the D-Link from my 
Linux boxes and get out to the high speed Internet from my Linux boxes.

BTW, my Linux boxes are running RH9.

But I would also like to be able to communicate with my wireless laptop 
to my Linux boxes and visa-versa.

What additional config do I need to do and where?

Thank you.
-Martin


Jesse Gordon wrote:

>> Two questions:
>> 1) How can I get my linux boxes to see and communicate properly with 
>> my D-Link router?
>
>
> D-Link's usually have a netmask of 255.255.255.0 -- and an IP of 
> 192.168.0.1, and since your linux boxes are 192.168.1.x, they are 
> outside of the netmask range and the dlink ignores them.
>
> Set the LAN netmask on the dlink to 255.255.0.0, or change it's IP to 
> 192.168.1.1, or change your linux boxes to 192.168.0.x..
>
> Also, the dlinks default to have a DHCP server running on them -- so 
> you could set your linux boxes to use DHCP to autoconfigure an IP, but 
> then you wouldn't always know what IP they would be. (They would 
> probably start at around 192.168.0.100 or so.)(To try dhcp, just type 
> dhcpcd and press enter and wait. dhcpcd stands for "Dynamic Host 
> Configuration Protocol Client Daemon. dhcpcd requests to be assigned 
> an IP, netmask, default gateway, and DNS from the dlink.)
>
>> 2) My linux boxes were using a dialup modem serial port to connect to 
>> the Internet. How can I change my connection from using the dialup 
>> modem to now go through the router to access the high speed connection?
>
>
> After changing the IP or netmask as above, just set your default route 
> to be 192.168.0.1 (or whatever you set the LAN ip to on the dlink.)
>
> I don't know what distro you use, so I don't know which network 
> configuration utility you would use, but to test it, you could type 
> these on one of the linux boxes:
>
> ifconfig eth0 192.168.0.2 netmask 255.255.0.0
> route add default gw 192.168.0.1
>
> Of course you might type route -n (then press the ENTER key) to make 
> sure there isn't already a default route.
>
> You'll also need to set up a DNS server IP. You can use whatever 
> network configuration tool you have or like, or you may be able to 
> just edit /etc/resolv.conf and add the line:
> nameserver 192.168.0.1
>
> before any other 'nameserver' lines.
>
> Hope this helps.
>
> -Jesse
>
>
>
> ----- Original Message ----- From: <martinh@ix.netcom.com>
> To: <netfilter@lists.netfilter.org>
> Cc: <martinh@ix.netcom.com>
> Sent: Thursday, May 25, 2006 9:00 AM
> Subject: Linux box to D-Link router/bridge/access connection question
>
>
>> I just got a D-Link wireless router connected to high speed Internet 
>> access via a cable modem.
>>
>> I have a Windoze XP laptop with wireless network card that 
>> communicates properly with the wireless router and I can make a high 
>> speed Internet connection.
>>
>> My linux box1 is connected into port two of the router.
>> My linux box2 is connected to port 3.
>> My two linux boxes can see each other connected into the ports of the 
>> wireless router.
>>
>> But I can not get my linux boxes to see the D-Link router!
>>
>> D-Link address is 192.168.0.1
>>
>> My linux boxes are 192.168.1.2 and 192.168.1.50
>>
>> Two questions:
>> 1) How can I get my linux boxes to see and communicate properly with 
>> my D-Link router?
>>
>> 2) My linux boxes were using a dialup modem serial port to connect to 
>> the Internet. How can I change my connection from using the dialup 
>> modem to now go through the router to access the high speed connection?
>>
>> Thank you for you help.
>> -Martin
>>
>>
>>
>>
>>
>
>
>

-- 


  reply	other threads:[~2006-05-26  2:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-25 16:00 Linux box to D-Link router/bridge/access connection question martinh
2006-05-25 18:05 ` Jesse Gordon
2006-05-26  2:45   ` Martin [this message]
2006-05-26  2:56     ` Jesse Gordon
  -- strict thread matches above, loose matches on Subject: below --
2006-05-26  3:14 martinh
2006-05-26  3:36 ` Jesse Gordon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44766BCB.6030703@ix.netcom.com \
    --to=martinh@ix.netcom.com \
    --cc=jesseg@nikola.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox