Networking Forums

Networking Forums > Computer Networking > Linux Networking > subnet masks

Reply
 
 
bulk88@hotmail.com
Guest
Posts: n/a

 
      03-08-2005, 01:16 AM
I am not a linux user, but I need help. I have 2 routers, a linksys
HPNA router and my DSL modem with a built in router. I want to use the
DSL modem as a router, and the linksys HPNA router as a bridge between
ethernet and HPNA (it can), except the linksys router needs a IP
address. My lan is currently using 192.168.1.*, and I have the
linksys's lan side perminently set to 192.168.1.254, but I want to set
it to 192.168.2.1 so I dont run into a chance of DHCP overlaping into
that IP. If I set the linksys as 192.168.2.1, I can only access it if
my comptuer's IP is 192.168.2.* but then my dsl modem doesnt give me
internet access. All of these routers/modems are on the same physical
ethernet network. I have a feeling this has something to do with subnet
masks, so which subnet mask should I use for 192.168.1.* and
192.168.2.* computers to talk?

 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      03-08-2005, 02:01 AM
On 7 Mar 2005 18:16:23 -0800, (E-Mail Removed) <(E-Mail Removed)> wrote:
> I am not a linux user, but I need help. I have 2 routers, a linksys
> HPNA router and my DSL modem with a built in router. I want to use the
> DSL modem as a router, and the linksys HPNA router as a bridge between
> ethernet and HPNA (it can), except the linksys router needs a IP
> address. My lan is currently using 192.168.1.*, and I have the
> linksys's lan side perminently set to 192.168.1.254, but I want to set
> it to 192.168.2.1 so I dont run into a chance of DHCP overlaping into
> that IP. If I set the linksys as 192.168.2.1, I can only access it if
> my comptuer's IP is 192.168.2.* but then my dsl modem doesnt give me
> internet access. All of these routers/modems are on the same physical
> ethernet network. I have a feeling this has something to do with subnet
> masks, so which subnet mask should I use for 192.168.1.* and
> 192.168.2.* computers to talk?


I guess you need to check if your dsl modem/router is, or can be, set to a
broader netmask than 255.255.255.0 on its LAN side (many are limited to
253 clients). Otherwise (as you discovered) the modem/router will ignore
any IPs outside of its 192.168.1.0/24 network. But even if the modem had
a netmask 255.255.0.0, it could be that your 192.168.2.* client PCs do not
have any route to the 192.168.1.* IP of the modem/router (if their
netmask is 255.255.255.0).

For example, a netmask 255.255.254.0 could cover an range between
192.168.0.0 network IP and 192.168.1.255 broadcast.

A netmask 255.255.252.0 could cover an range between 192.168.0.0 network
IP and 192.168.3.255 broadcast.

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Masks Geoff Lane Home Networking 8 10-20-2005 11:22 PM
Network Masks Geoff Lane Home Networking 2 04-02-2005 11:02 AM
Subnet masks Roshak Windows Networking 2 11-05-2004 06:55 PM
DIFFERENT SUBNET MASKS IN A SINGLE NETWORK SEGMENT Damiano Fasoli Linux Networking 1 06-08-2004 06:13 PM
MN-500: Matching up WAN and LAN subnet masks Dudley Broadband Hardware 2 04-05-2004 10:30 PM



1 2 3 4 5 6 7 8 9 10 11