Network: Three Locations

From SOFTICE

Jump to: navigation, search

Contents

Developed by:

Synopsis

This network is used for advanced subnetting and static routing labs.

[Network Diagram] Three Locations

Image:Three_Locations.jpg

Configuration

global {
       project threeLocations
       $console = screen
}

switch lakeland {}
switch tampa {}
switch orlando {}
switch lakelandTampa {}
switch lakelandOrlando {}
switch tampaOrlando {}

superclass hosts {
       term $console
       kernel = /home/sys/net/bin/linux-2.6.18.1/linux
       template = DebianNet-3.1-v2.ext2
       size 300M
}

host lakeland {
       superclass hosts
       cow_filesystem lakeland.cow
       network eth0 {
               switch lakeland
               address 10.0.0.1
               netmask 255.255.255.0
       }
       network eth1 {
               switch lakelandTampa
               address 10.0.3.1
               netmask 255.255.255.0
       }
       network eth2 {
               switch lakelandOrlando
               address 10.0.4.1
               netmask 255.255.255.0
       }
}

host client {
       superclass hosts
       cow_filesystem client.cow
       network eth0 {
               switch lakeland
               address 10.0.0.2
               netmask 255.255.255.0
       }
}

host tampa {
       superclass hosts
       cow_filesystem tampa.cow
       network eth0 {
               switch tampa
               address 10.0.1.1
               netmask 255.255.255.0
       }
       network eth1 {
               switch lakelandTampa
               address 10.0.3.2
               netmask 255.255.255.0
       }
       network eth2 {
               switch tampaOrlando
               address 10.0.5.1
               netmask 255.255.255.0
       }
}

host orlando {
       superclass hosts
       cow_filesystem orlando.cow
       network eth0 {
               switch orlando
               address 10.0.2.1
               netmask 255.255.255.0
       }
       network eth1 {
               switch tampaOrlando
               address 10.0.5.2
               netmask 255.255.255.0
       }
       network eth2 {
               switch lakelandOrlando
               address 10.0.4.2
               netmask 255.255.255.0
       }
}

References

  • [1] The MLN Manual