JLab Server

From Teknologisk videncenter
Revision as of 11:04, 22 December 2011 by Rael (talk | contribs) (Installation)
Jump to: navigation, search

<accesscontrol>teacher</accesscontrol>

Ide

Ideen med denne server er at lave et Juniper Lab, med en logon server der giver kursisten adgang til et virtuelt netværk hvor der kan opsættes udstyr og prøves ting af i et test senarie.

Installation

Default programs

sudo aptitude install nmap bmon nmon htop mono-runtime

EtherChanel

Nic Bonding på Ubuntu er beskrevet her: https://help.ubuntu.com/community/LinkAggregation

sudo aptitude install ifenslave

sudo nano /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp
# This is an autoconfigured IPv6 interface
iface eth0 inet6 auto

#Create the interface
auto bond0
iface bond0 inet static
address 10.0.0.1
netmask 255.255.255.0
#Add physical network adapters
bond-slaves eth1 eth2
#Configure load balancing mode
#mode=0 (balance-rr)
#mode=1 (active-backup)
#mode=2 (balance-xor)
#mode=3 (broadcast)
#mode=4 (802.3ad)
#mode=5 (balance-tlb)
#mode=6 (balance-alb)

bond_mode 2

VLans

Vlan konfiguration står beskrevet her: http://www.mysidenotes.com/2007/08/17/vlan-configuration-on-ubuntu-debian/

Dokumentation