Networking At DeVry

For those who don’t know I am currently going to DeVry University for a Bachelors in Network and Communications Management, known within the college as the netcomm program. So recently me and friend decided to go into the college’s network lab, again shorthanded to netlab, to mess around with their switches and routers for a bit. Here are the results, click on images for bigger pics:

When we started…

What we ended with…

Essentially we configured a network that would give certian computers certian IP addresses via DHCP and then map them into the college’s network using NAT while using ACLs and VLANs.

Below are the configurations:

ROUTER

!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname bloom
!
!
ip subnet-zero
!
!
ip dhcp excluded-address 192.168.5.1 192.168.5.10
ip dhcp excluded-address 192.168.10.1 192.168.10.10
!
ip dhcp pool FIVEDOTS
   network 192.168.5.0 255.255.255.0
   dns-server 10.8.239.21
   default-router 192.168.5.1
!
ip dhcp pool TENDOTS
   network 192.168.10.0 255.255.255.0
   dns-server 10.8.239.21
   default-router 192.168.10.1
!
call rsvp-sync
!
!
!
!
!
!
!
!
interface Ethernet0/0
 ip address dhcp
 ip nat outside
 ip dhcp relay information trusted
 half-duplex
!
interface Serial0/0
 no ip address
 shutdown
!
interface Serial0/1
 no ip address
 shutdown
!
interface FastEthernet1/0
 ip address 192.168.5.1 255.255.255.0
 ip nat inside
 duplex auto
 speed auto
!
interface FastEthernet1/1
 ip address 192.168.10.1 255.255.255.0
 ip nat inside
 duplex auto
 speed auto
!
ip nat inside source list 1 interface Ethernet0/0 overload
ip classless
no ip http server
!
access-list 1 permit 192.168.10.0 0.0.0.255
access-list 1 permit 192.168.5.0 0.0.0.255
access-list 101 deny   icmp any any
!
!
dial-peer cor custom
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
end

SWITCH

!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
!
ip subnet-zero
!
ip ssh time-out 120
ip ssh authentication-retries 3
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/2
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/3
 switchport access vlan 20
 switchport mode access
!
interface FastEthernet0/4
 switchport access vlan 20
 switchport mode access
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface Vlan1
 no ip address
 no ip route-cache
 shutdown
!
interface Vlan20
 ip address 192.168.10.20 255.255.255.0
 no ip route-cache
!
ip http server
!
line con 0
line vty 5 15
!
!
end

Leave a Reply