LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Enabling server to access single IP address out of netmask range

[ILUG] Enabling server to access single IP address out of netmask range

Cormac Hogan cormac_hogan at hotmail.com
Thu Jun 8 14:28:23 IST 2000


Date: Thu, 08 Jun 2000 06:27:49 PDT
Mime-Version: 1.0
Content-Type: text/plain; format=flowed

Tony,

With a netmask of 255.255.255.0, I believe that the only hosts which this 
oracle server (192.168.200.1) can reach are from 192.168.200.1 - 
192.168.200.254. Therefore I'm confused as to how it can even reach the 
router 192.168.1.1 as it will think that this is a different class C network 
?
If the netmask was 255.255.0.0, then it wouldn't be a problem as the router 
and host would be on the same class B network.

Alternatively, if you want this host to reach the 192.168.205 network, you 
would need to set the netmask to 255.255.250.0. This will allow the oracle 
server (192.168.200.1) to reach hosts in the address range 192.168.200.1 - 
192.168.205.254, i.e. your print server & associated routers.

If you now want wish to narrow this down further and only access a certain 
range of hosts, this gets more tricky. Because of the way the netmask is 
organised, if you wish to allow access to hosts from xx.xx.xx.60 to 
xx.xx.xx.70, you will need to set the msbit of the lsbyte of the subnet 
mask, i.e. 255.255.250.128. This will mask all hosts except hosts from 
xx.xx.xx.1 - xx.xx.xx.126. However, this screws you since your print server 
& router are .240 & .254 repectively. To allow routing to these hosts, you 
can only set the subnet mask to 192.168.205.255, allowing access from the 
whole 205
network.

So I don't think you can achieve what you want.

Hope this helps anyway.

Cormac
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell