|
ROUTER CONFIGURATION FOR MOUNTAIN SKY
- Configuration file for Mountain Sky Router should look like
following (this is an example of a general configuration, so for our
Router here will appear more interfaces, but most of them will have no
configuration (like Serial0 here) :
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
hostname MtnSky
enable secret 5 $1$osdfi#4lI0
ip subnet-zero
ip host MtnSky 10.32.0.5 10.64.0.53 192.168.188.1
interface Ethernet0
ip address 10.32.0.5 255.224.0.0
no ip directed-broadcast
interface Ethernet1
ip address 10.64.0.53 255.224.0.0
no ip directed-broadcast
interface Ethernet2
ip address 192.168.188.1 255.255.252.0
no ip directed-broadcast
interface Serial0
no ip address
no ip directed-broadcast
no ip mroute-cache
shutdown
interface Serial1
no ip address
no ip directed-broadcast
shutdown
router rip
network 10.0.0.0
network 192.168.0.0
ip classless
banner motd ^C
No Configuring on this Router^C
line con 0
password cisco
login
transport input none
line aux 0
line vty 0 4
password cisco
login
end |
- At this level we add ACCESS-LISTS to control traffic from one VLAN to
another, and from Internet to our network (which is a separate chapter)
- MountainSky Router has 3 Ethernet interfaces that all connect to MDF
48-port Switch, each interface has an IP address in the range of addresses
for that specific VLAN that it routes traffic for, as follows:
- Ethernet0 - routes traffic for VLAN1
(enterprise and administrative servers) so its IP address is 10.32.0.5
mask 255.224.0.0 (/11)
- Ethernet 1 - routes traffic for VLAN2 (teachers,
administration and staff computers network) so its IP address is
10.64.0.53 mask 255.224.0.0 (/11)
- Ethernet 2 - routes traffic for VLAN3
(curriculum computers network) so its IP address is 192.168.188.1 mask
255.255.252.0 (/22)
|
|