Home News Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Creating two networks

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Networking
Register FAQ Community Calendar

Creating two networks
Reply
 
Thread Tools
Old 18-10-2008, 14:00   #1
Azmandius
Inactive
 
Join Date: Oct 2008
Posts: 13
Azmandius is an unknown quantity at this point
Question Creating two networks

Hello everyone,
It’s nice to meet the community and hope to have best question-solving time here.

Now, I’d like to get straight to the subject.
I have the need for two Internet networks, a chilling café network and an office network.
The Internet is starting in the office via a DSL modem, configured like a router, to share Internet connection with other office computers through a simple switch.
Due to database requirements office computers must be, and are on static IPs.
In the café I would like to share same Internet connection, but via a wireless router, and I have attached that wireless router to the switch in the office.
My question is: how should I configure the wireless router in café properly, so the visitors will be able to connect to Internet automatically, via dynamic IPs?
I don’t think is normal for them in order to connect to Internet to configure their network cards manually, all the time when they visit my cool café.
Also is it possible to hide somehow local network computers IPs from bad hackers in the café.

DSL Modem is: D-Link 2500U
Wireless Router is: DI-624S - Wireless 108G USB Storage Router (http://support.dlink.com/products/vi...ctid=DI%2D624S)

Some help is really and deeply appreciated.
Thank you very much.
Azmandius is offline   Reply With Quote
Advertisement
Old 18-10-2008, 14:36   #2
MovedGoalPosts
Inactive
 
MovedGoalPosts's Avatar
 
Join Date: Jun 2003
Location: 127.0.0.1
Age: 60
Posts: 15,868
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
Re: Creating two networks

I would suggest you would be needing a firewall somewhere between your more public bits of cafe kit, and the private office stuff.

Most routers will allow you to also set fixed IPs to PCs, but for real security you do want the office to be on a separate subnet.

Basic wiring would probably be:

modem <> wireless router <~~> internet cafe
and wireless router <> firewall and/or 2nd router (set with forwarding to wireless router) <> office
MovedGoalPosts is offline   Reply With Quote
Old 18-10-2008, 16:29   #3
handyman
Permanently Banned
 
Join Date: Jun 2003
Location: Nr Carnforth
Age: 48
Services: M6 Keele
Posts: 5,462
handyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny star
handyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny starhandyman has a nice shiny star
Send a message via MSN to handyman
Re: Creating two networks

We have just set up something similar for our training room to give people free wireless. We have used a linksys router wrt54gl (I think) and flashed it wih new firmware (dd-wrt) to be able to run a seperate VLAN from it. That way the guys on wireless are oblivious to the office netowork and we have full security. Other than spending a fortune on a router that offers this functionality out of the box this would be the best way.
handyman is offline   Reply With Quote
Old 18-10-2008, 19:27   #4
Dai
Inactive
 
Join Date: Dec 2006
Location: Lincoln UK
Age: 75
Services: 50Mb, TV & Phone
Posts: 3,673
Dai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronze
Dai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronze
Send a message via MSN to Dai
Re: Creating two networks

You may find Steve Gibson's article about multi-router systems interesting. You can use the NAT effect to create isolated subnets.

http://www.grc.com/nat/nats.htm
Dai is offline   Reply With Quote
Old 18-10-2008, 19:37   #5
Graham M
-
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 39
Services: FreeSat+ Tivo V-Box VM 60MBit
Posts: 13,365
Graham M has a pair of shiny starsGraham M has a pair of shiny stars
Graham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny stars
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: Creating two networks

I would do it like this, it may work out more expensive but is probably the most stable solution:

Attachment 17082
Graham M is offline   Reply With Quote
Old 18-10-2008, 20:50   #6
Dai
Inactive
 
Join Date: Dec 2006
Location: Lincoln UK
Age: 75
Services: 50Mb, TV & Phone
Posts: 3,673
Dai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronze
Dai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronze
Send a message via MSN to Dai
Re: Creating two networks

Quote:
Originally Posted by Graham M View Post
I would do it like this, it may work out more expensive but is probably the most stable solution:
Looks good. Presumably two different LAN IP groups and the double NATting will make cross-hacking virtually impossible?
Dai is offline   Reply With Quote
Old 18-10-2008, 20:55   #7
Graham M
-
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 39
Services: FreeSat+ Tivo V-Box VM 60MBit
Posts: 13,365
Graham M has a pair of shiny starsGraham M has a pair of shiny stars
Graham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny stars
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: Creating two networks

Quote:
Originally Posted by DaiNasty View Post
Looks good. Presumably two different LAN IP groups and the double NATting will make cross-hacking virtually impossible?
The IP addresses don't matter as all the users on both networks will be able to see is anything connected to the top router and the Internet (which would include the opposite router but nothing below it)
Graham M is offline   Reply With Quote
Old 19-10-2008, 22:48   #8
Dai
Inactive
 
Join Date: Dec 2006
Location: Lincoln UK
Age: 75
Services: 50Mb, TV & Phone
Posts: 3,673
Dai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronze
Dai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronzeDai is cast in bronze
Send a message via MSN to Dai
Re: Creating two networks

Quote:
Originally Posted by Graham M View Post
The IP addresses don't matter as all the users on both networks will be able to see is anything connected to the top router and the Internet (which would include the opposite router but nothing below it)
How would you handle DHCP on a twinned setup like that?
Dai is offline   Reply With Quote
Old 19-10-2008, 23:31   #9
nffc
cf.mega poster
 
nffc's Avatar
 
Join Date: Jul 2004
Location: chavvy Nottingham
Age: 40
Services: Freeview, Sky+, 100 Mb/s VM BB, mega i7 PC, iPhone 13, Macbook Air
Posts: 7,372
nffc has a nice shiny star
nffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny starnffc has a nice shiny star
Re: Creating two networks

Quote:
Originally Posted by DaiNasty View Post
How would you handle DHCP on a twinned setup like that?
Routers connect one network to another so you'd have 2 routers DHCPing off the main router, with each of the other two routers on a different subnet DHCPing their clients.

Say you could give the main router 192.168.0.1, the two will be 0.1 and 0.2 on their WAN ports, and then 0.1 assigns itself 1.1 (on LAN) and clients 1.2>, 0.2 could assign itself 2.1 (on LAN) and clients 2.2> - if you get it.
__________________


nffc is offline   Reply With Quote
Old 19-10-2008, 23:44   #10
Uncle Peter
81-82-83-84
 
Join Date: Nov 2006
Location: on holiday by mistake
Age: 54
Services: Vivid 200, Full House, V6 x2
Posts: 5,977
Uncle Peter has a nice shiny starUncle Peter has a nice shiny starUncle Peter has a nice shiny star
Uncle Peter has a nice shiny starUncle Peter has a nice shiny starUncle Peter has a nice shiny starUncle Peter has a nice shiny starUncle Peter has a nice shiny starUncle Peter has a nice shiny starUncle Peter has a nice shiny star
Re: Creating two networks

As suggested above. Here it is in pretty pictures and some quick notes (I've populated the diagram with some IP addresses for illustrative purposes):

Reserve an address on your office LAN for the WAN interface on your cafe router

Plug the WAN interface of your cafe router into the office LAN (CAT5)

Configure your cafe router LAN with a different subnet or network block to your office LAN

Use the firewall rules on your cafe router to lock access down as you see fit (ie no SMB, NETBIOS or the usual suspects).

[img]Download Failed (1)[/img]
Uncle Peter is offline   Reply With Quote
Old 20-10-2008, 09:28   #11
Azmandius
Inactive
 
Join Date: Oct 2008
Posts: 13
Azmandius is an unknown quantity at this point
Re: Creating two networks

First i want to say i am impressed by the feedback of this forum.
That is pleasant and great.
Thank you everyone!

---------- Post added at 11:13 ---------- Previous post was at 11:12 ----------

Quote:
Originally Posted by DaiNasty View Post
You may find Steve Gibson's article about multi-router systems interesting. You can use the NAT effect to create isolated subnets.

http://www.grc.com/nat/nats.htm
That gives some light,
Thanks.

---------- Post added at 11:18 ---------- Previous post was at 11:13 ----------

Quote:
Originally Posted by Graham M View Post
I would do it like this, it may work out more expensive but is probably the most stable solution:

Attachment 17082
Sound simple though.

---------- Post added at 11:28 ---------- Previous post was at 11:18 ----------

Quote:
Originally Posted by nffc View Post
Routers connect one network to another so you'd have 2 routers DHCPing off the main router, with each of the other two routers on a different subnet DHCPing their clients.

Say you could give the main router 192.168.0.1, the two will be 0.1 and 0.2 on their WAN ports, and then 0.1 assigns itself 1.1 (on LAN) and clients 1.2>, 0.2 could assign itself 2.1 (on LAN) and clients 2.2> - if you get it.
To make it clear, does this solution give me the possibility to share internet with the cafe via dynamically assigned IPs on visitors computers?
As i mentioned in the first post, the office users must stay on static IPs, while using internet, and that way is the DSL Modem configured, as a router.
Thanks much.
Azmandius is offline   Reply With Quote
Old 20-10-2008, 09:41   #12
popper
Inactive
 
Join Date: Jan 2006
Posts: 3,270
popper has a bronze arraypopper has a bronze arraypopper has a bronze array
popper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze array
Re: Creating two networks

Quote:
Originally Posted by Uncle Peter View Post
As suggested above. Here it is in pretty pictures and some quick notes (I've populated the diagram with some IP addresses for illustrative purposes):

Reserve an address on your office LAN for the WAN interface on your cafe router

Plug the WAN interface of your cafe router into the office LAN (CAT5)

Configure your cafe router LAN with a different subnet or network block to your office LAN

Use the firewall rules on your cafe router to lock access down as you see fit (ie no SMB, NETBIOS or the usual suspects).

[img]Download Failed (1)[/img]
that will/would work OC and is fine for fully private (wireless)LANs , but without that 3rd router as per Graham's diagram, anyone on the open cafe LAN can just use a netmask of 255.255.0.0 and see all the data on the office wire without to much trouble.

wireshark and several others would even let you pull the packets and reassemble them to see the full data be it http pages or binary.
popper is offline   Reply With Quote
Old 20-10-2008, 09:48   #13
Azmandius
Inactive
 
Join Date: Oct 2008
Posts: 13
Azmandius is an unknown quantity at this point
Re: Creating two networks

Quote:
Originally Posted by Uncle Peter View Post
As suggested above. Here it is in pretty pictures and some quick notes (I've populated the diagram with some IP addresses for illustrative purposes):

Reserve an address on your office LAN for the WAN interface on your cafe router

Plug the WAN interface of your cafe router into the office LAN (CAT5)

Configure your cafe router LAN with a different subnet or network block to your office LAN

Use the firewall rules on your cafe router to lock access down as you see fit (ie no SMB, NETBIOS or the usual suspects).

Sorry, i only don't understand where do i connect the router? You mean to the regular switch to which other office devices are connected or to some particular office computer?

And i would like to mention again that while office computer are on static IPs and use Internet, cafe visitors should be able to connect via automatic IPs.
Thank you.
Azmandius is offline   Reply With Quote
Old 20-10-2008, 10:33   #14
popper
Inactive
 
Join Date: Jan 2006
Posts: 3,270
popper has a bronze arraypopper has a bronze arraypopper has a bronze array
popper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze array
Re: Creating two networks

Graham's 3 way router will work fine for that fixed ip's on the office side router, and the requirement for DHCPd assigned cafe Ip's from the cafe router side.

although taking into consideration what i said about the netmask above and the ability to snoop if you set your mind to it, you can also get your master net<=>router to give out fixed IP's to the office PCs and have it's DHCPd give out the dynamic Ips for the wireless 192.168.1.* parts as well OC for fully private (wireless)LANs.

as for your red edit, its a slight confusion on your part, the 192.168.0.1/24 (i.e a netmask of 255.255.255.0) to 192.168.0.2 line is infact a direct line to the dlink 2500u router, if thats any clearer!

"dlink 2500u router"LAN-port2<=fixed 192.168.0.2 IP=>WAN-port"dlinkDi624s"

---------- Post added at 10:33 ---------- Previous post was at 10:05 ----------

the reason Zeph's 3 router setup works far better, is the basic fact your wireless LAN is connected to the WAN side of the office routers connection rather than the LAN side of a two router setup, so one LAN cant see the other LAN(s) data throughout.

the only way any router3 LAN PC could see router2 LAN PC data is if you tunneled through the routers on both sides using two PCs if you want that OC, but keep that tunnel data info secure and dont let other cafe users know it.

a multicast tunnel might be useful for you though so you can send video streams to both sides and play it on screens around the place.

a simple "Mtunnel" and copy of VLC will probably work for that id think, something to play with anyway

http://www.cdt.luth.se/~peppar/progs/mTunnel/
http://www.videolan.org/doc/streamin...o/en/ch02.html

use "UDP Multicast" and an IP of say 224.0.0.1:7777 as your stream channel for instance, good for cafe adverts and entertainment streaming for the whole LAN.
popper is offline   Reply With Quote
Old 20-10-2008, 12:22   #15
Azmandius
Inactive
 
Join Date: Oct 2008
Posts: 13
Azmandius is an unknown quantity at this point
Re: Creating two networks

Thank you popper,
I will really try to digest it all, and apply it.

---------- Post added at 14:22 ---------- Previous post was at 14:06 ----------

One more issue if you allow me please,
From one side i want cafe visitors to have DHCP internet and from other side i want to watch from inside office over all cafe's video cameras activity, can i push both tasks through same cafe router? And what method is best for that?
Thanks
Azmandius is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Forum Jump


All times are GMT +1. The time now is 21:39.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.