LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-13-2011, 11:29 PM   #1
fruitwerks
Member
 
Registered: Apr 2009
Posts: 80

Rep: Reputation: 15
Need IP / netmask advice for home network


OK here is the deal... I have a new DOCSIS 3 modem that no longer gives me a public IP - so I get a private IP...

- this led to some insane issues with my windows machines, but that has all been sorted.

Now as we know, everything likes to be 192.168... I hate that, I am using the 172 addresses. Now here is the thing, I have cable modem, linux box as router / nas, switch, wifi ap, multiple computers...

MODEM > LINUX > SWITCH > WHATEVER

Everything goes through the switch and then the linux box then internet. I have the wifi for a single computer elsewhere...

From the wifi connection everything works. From the desktops and the linux box I can't get to the wireless router.

I have the network configs as so:

Modem: 172.16.0.1
Linux Box: 172.24.0.1
AP: 172.24.1.1
- wired client: 172.24.0.X

I think the issue is the netmasks, can I try some more exotic netmasks (and what would those be?) or use a different IP for the AP? I'm not sure what I have set as the netmasks, probably the defaults.

Hope that was clear, since I can't get to the AP, I can't do any DMZ / port forwarding to any connected wifi devices.
 
Old 05-14-2011, 12:55 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
I actually have a question for you.

Why do you think that you need to use a class B address?

If you use multiple class C addresses, then you won't have to use subnets, thus avoiding subnet masking which you are seeming to be having problems with.

Last edited by andrewthomas; 05-14-2011 at 01:12 AM.
 
Old 05-14-2011, 09:33 AM   #3
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
What is your subnet 255.255.0.0 that should be fine to go back and forth. Is it really an AP or is it a router with WiFi, if that;s the case it's likely that AP/Router will refuse connections by default from the WAN port. Or lastly are you having issues connecting to machines on the other side of the AP? If so you might try adding a static route to test if it is a routing issue. Speaking of routing it would be interesting to see the output of route from a WiFi connected client and from a wired client, could you post that?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to show network interface card (NIC) info like IP, netmask tnght2001 Linux - General 1 06-23-2010 07:00 AM
Identify route for some network clients without netmask ? hodhod Linux - Networking 1 06-10-2009 09:27 PM
home network advice regarding OS and documentation Canya Linux - Newbie 2 02-10-2009 07:37 PM
OpenVPN - server directive network/netmask combination is invalid anthonysaulnier Linux - Networking 4 11-18-2008 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration