LinuxQuestions.org
Help answer threads with 0 replies.
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 09-19-2008, 02:47 AM   #1
Fuzzled
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
LANS or VLANS?


Hello,
I am currently configuring two LAN's-

Internet Gateway: 10.0.0.1
10.0.0.x (full, working LAN with DHCP, DNS, using most all the 255 IP's, etc.etc.)

and adding a new subnet/LAN:
10.0.1.x (proposed LAN, will need ~100 IPs DHCP,)

I have a dual-NIC server which I am planning to use minimally as a DHCP server for the 10.0.1.x subnet with Fedora 9... but still tossing about if I should VLAN the two subnets or just dual-home the Linux box and use as a gateway/router.

The 10.0.1.x subnet will have 95% of it's traffic limited to it's own subnet. It only needs rare/periodic traffic to 10.0.0.x subnet hosts and internet through the 10.0.0.1 gateway for OS updates.

I'm thinking dedicated LANS would be the best bet given the above, so what would be the minimalist method of configuring Fedora 9 to accomplish the above? I'd like to have DHCP on the 10.0.1.x subnet, likely then need BIND for DNS (how would one configure DNS on the subnet 10.0.1.x server to then talk to DNS on the 10.0.0.1 for it's host addresses?), etc.etc.

I'd imagine the Fedora box would need ip_forwarding=1, then be something like:
eth0: 10.0.0.2
eth1: 10.0.1.1

All nodes on 10.0.1.x subnet, default gateway 10.0.1.1.
Nodes on 10.0.0.x subnet- would they require a new route to 10.0.0.2 for 10.0.1.x traffic?

All my routers are layer-3 capable so perhaps VLANs might be easier?

Any good guides for doing this? Would VLAN'ing be easier? Any tips, opinions or pointers greatly appreciated!
 
Old 09-19-2008, 02:57 AM   #2
kuri0s
LQ Newbie
 
Registered: Mar 2008
Posts: 18

Rep: Reputation: 0
Thumbs up

I think you can use both. VLANs helps keeping your network clear, simple and more secure but is an addition not a choice. So Keep your network layer and add a VLAN ID for each network.

10.210.12.0 VLAN 12
10.210.14.0 VLAN 14

I would use 12 and 13 for the same vlan in case network grows in the future (if you expect that can happend).


Hope this helps...
 
  


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
bonding and vlans. Bonding a vlan interface vs applying vlans to a bond interface JasonCzerak Linux - Networking 0 09-11-2008 09:59 AM
Routing Between Lans core09 Linux - Networking 2 09-01-2008 06:58 PM
how to connect two lans? DrKranium Linux - Networking 3 08-27-2006 12:09 PM
Routing through 2 LANs LeifWiderberg Linux - Networking 3 03-12-2004 11:00 AM
LANs andymay27 Linux - Networking 1 10-14-2001 02:14 PM

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

All times are GMT -5. The time now is 10:00 AM.

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