Networking Forums

Networking Forums > Computer Networking > Linux Networking > Masquerading private LAN to private ip

Reply
Thread Tools Display Modes

Masquerading private LAN to private ip

 
 
entpneur@gmail.com
Guest
Posts: n/a

 
      12-31-2007, 02:18 AM
I'm helping out to setup the Internet access for a local school.
I've found out that the ISP is providing private IPs to the school,
the info is as follow:

ip range: 10.145.0.1 - 10.145.0.62
mask: 255.255.255.192

The school has about 200+ computers with only max 62 usable address,
so I tried to setup a NAT router to masquerade the local LAN
(10.145.8.0/255.255.254.0) to one of the provided IP. Theoretically,
this should work, but it is not.

My question is:

Can I masquerade the entire LAN in private IPs to a private IP which
belong to the ISP?

10.145.8.0/255.255.254.0 -----> 10.145.0.1 ----->
ISP -----> Intenet
School LAN (in private IPs) ISP's private IP
most probably ISP masquerade to Internet


Thank you!

 
Reply With Quote
 
 
 
 
Paul Colquhoun
Guest
Posts: n/a

 
      12-31-2007, 02:39 AM
On Sun, 30 Dec 2007 19:18:49 -0800 (PST), (E-Mail Removed) <(E-Mail Removed)> wrote:
| I'm helping out to setup the Internet access for a local school.
| I've found out that the ISP is providing private IPs to the school,
| the info is as follow:
|
| ip range: 10.145.0.1 - 10.145.0.62
| mask: 255.255.255.192
|
| The school has about 200+ computers with only max 62 usable address,
| so I tried to setup a NAT router to masquerade the local LAN
| (10.145.8.0/255.255.254.0) to one of the provided IP. Theoretically,
| this should work, but it is not.
|
| My question is:
|
| Can I masquerade the entire LAN in private IPs to a private IP which
| belong to the ISP?
|
| 10.145.8.0/255.255.254.0 -----> 10.145.0.1 ----->
| ISP -----> Intenet
| School LAN (in private IPs) ISP's private IP
| most probably ISP masquerade to Internet


There is nothing I know about that would stop this working in theory. In
practice, I wouldn't use the 10.0.0.0/8 network for the internal/local
network.

If there are 200+ local computers, I'd use part of the 172.16.0.0/12
block (172.16.0.0 - 172.31.255.255), or the 192.168.0.0/16 block
(192.168.0.0 - 192.168.255.255). This makes it obvious what part of
the network an IP address belongs to, and make writing any firewall
rules easier (or at least makes typos less likely and less dangerous).


--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
 
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
voip on private lan William Linux Networking 10 04-19-2007 01:45 AM
Private DNS across a VPN.. Eric Linux Networking 4 04-05-2006 05:34 AM
Private DSL Steve H Broadband 8 10-13-2005 08:39 PM
Private WAN IP? Tim Broadband Hardware 1 08-26-2004 09:18 PM
FTP over SSH, private IP Jade Fox Linux Networking 2 09-06-2003 04:43 PM



1 2 3 4 5 6 7 8 9 10 11