LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-02-2015, 12:13 PM   #1
haynes11
LQ Newbie
 
Registered: Oct 2015
Posts: 1

Rep: Reputation: Disabled
Post Networking For A Noob - How to setup LAN/VLAN


Hey,

I have asked this question in more than one place to get a variety of answers so I can best understand:


I know a fair about computer systems and administration, one thing I have always stayed away from is networking. I think because it's hard to find places that explain it in an easy to understand way that actually makes sense and includes terminology that I can understand without spending hours having to look that up too.

What I'm trying to achieve:

I have two things I want to understand/scenarios:

NB: All VM's reside on citrix xenserver.

I have a linux CentOS VM on my dedicated server, it has a public ipv4 ip. I want to assign this VM a internal ip as I have other vm's on the same server, and want them to be able to communicate/network. Apparently this is done with NAT/bridging. From what I can understand NAT is the process of the firewall essentially translating/redirecting the traffic to whatever port designated. Bridging is like plugging your vm into a real switch.

I don't know if the above definitions are correct, but a explanation of if they are and examples/more definitions would be very much appreciated so I can get my head around it! What's the main advantages/disadvantages to either?

All the tutorials I've come across so far, mention that I would need to install a dns server locally (bind) , is this true? Why? What exactly would I need to do?

Summary: Basically, I want to learn this basic networking so I can have an internal network. (Would this be called a VLAN?) that also has internet connectivity. I also understand that doing this reduces the need for so many ipv4 addresses, further explanation would be appreciated.

Also would it be easier with static ip's, or by installing a DHCP server? (Never used one for linux)

My primary goal is to have internet connectivity inbetween all these vm's aswell as local connectivity between them as an internal network. I have no real idea of how to achieve this.

Scenario #2: All of these vm's reside on ctirix xenserver, so even if I do all this, how am I supposed to get it to work with citrix xenserver. So how would I VLAN? (If that's the correct terminology) If anyone knows could you not only give me the steps, but also explain WHY, that way I'll actually learn.


I've always found networking very confusing, and I do specialise in certain areas for my personal stuff in system administration, but networking I've always managed to avoid delving into too much.


Thank you all for your help!
 
Old 11-02-2015, 02:24 PM   #2
dutchy013
Member
 
Registered: Sep 2015
Location: Tilburg, NL
Distribution: Slackware current
Posts: 31

Rep: Reputation: Disabled
scenario 1: use static ip's and just try! start bind and see what it does.

scenario 2: sorry, you're on your own here.

when looking for help, pay special attention to freebsd forums.
 
Old 11-02-2015, 07:05 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
VLAN is something else. What you are setting up is a virtual network, that is a network without cables and physical interfaces and switches. VLAN on the other hand is a method to have several distinct Ethernet networks on the same physical Ethernet, aka segmentation.

Your question is too large for a forum post, but there is a lot of information out there. I don't know if xenserver uses libvirt (libvirt was originally written for Xen), but at least the concepts should be easily transferrable to your environment. Start at the libvirt wiki, http://wiki.libvirt.org/page/Main_Page#Networking, in particular the first link to http://wiki.libvirt.org/page/VirtualNetworking. When you have specific questions, come back here.
 
Old 11-03-2015, 05:17 AM   #4
Andy060453
LQ Newbie
 
Registered: Apr 2007
Location: Milton Keynes UK
Posts: 3

Rep: Reputation: 0
Networking

Hi Try a facebook page called HowToNetwork, it's all about networking, and there are lots of people who can help on the network site of you problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mixing VLAN and LAN in same interface (eth0) do not work qabsou Linux - Networking 4 09-25-2014 05:00 AM
How to setup VLAN? your_shadow03 Linux - Newbie 1 12-25-2009 02:10 AM
LAN To VLAN Deny Requests ScarEye Linux - Security 1 04-09-2007 07:35 AM
VLAN Setup with RHEL3 jmouzon Linux - Networking 1 08-07-2006 05:33 PM

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

All times are GMT -5. The time now is 03:29 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