jump to navigation

Protected: Primary DNS server configuration July 22, 2007

Posted by unixgeek in Linux Server Setup.
Enter your password to view comments

This post is password protected. To view it please enter your password below:


Protected: All about Pix July 22, 2007

Posted by unixgeek in Cisco.
Enter your password to view comments

This post is password protected. To view it please enter your password below:


EIGRP lab Connection through Serial Interface July 18, 2007

Posted by unixgeek in Cisco.
add a comment

[localhost]

[[2610]]
image = /usr/local/cisco/dynagen-0.9.2/pc/image.bin
ram = 16
slot1 = NM-1E
idlepc = 0×801ea000

[[router PC1]]
model = 2610

[[3640]]

image = /usr/local/cisco/dynagen-0.9.2/pc/3640.bin
ram = 64
confreg = 0×2142
idlepc = 0×60401a54

[[router R1]]
model = 3640
slot1 = NM-4E
slot2 = NM-4T
F0/0 = PC1 F0/0

[[router R2]]
model = 3640
slot1 = NM-4E
slot2 = NM-4T ————> Load serial module on Slot 2 s2/0 – s2/3
S2/0 = R1 S2/0

[[router PC2]]
model = 2610
F0/0 = R2 F0/0

EIGRP LAB complete July 17, 2007

Posted by unixgeek in Cisco.
add a comment

Here is topology .net

[localhost]

[[2610]]
image = /usr/local/cisco/dynagen-0.9.2/pc/image.bin
ram = 16
slot1 = NM-1E
idlepc = 0×801ea000

[[router PC1]]
model = 2610

[[3640]]

image = /usr/local/cisco/dynagen-0.9.2/pc/3640.bin
ram = 64
confreg = 0×2142
idlepc = 0×60401a54

[[router R1]]
model = 3640
slot1 = NM-4E
F0/0 = PC1 F0/0

[[router R2]]
model = 3640
slot1 = NM-4E
F1/1 = R1 F1/1

[[router PC2]]
model = 2610
F0/0 = R2 F0/0

Config R1:

=======

interface FastEthernet0/0
ip address 172.16.1.1 255.255.255.0
duplex auto
speed auto
!
interface Ethernet1/0
no ip address
shutdown
half-duplex
!
interface Ethernet1/1
ip address 192.168.1.1 255.255.255.0
half-duplex
!
interface Ethernet1/2
no ip address
shutdown
half-duplex
!
interface Ethernet1/3
no ip address
shutdown
half-duplex
!
router eigrp 100
network 172.16.0.0
network 192.168.1.0
no auto-summary
========

Config R2:

========

interface Ethernet1/1
ip address 192.168.1.2 255.255.255.0
half-duplex
!
interface Ethernet1/2
no ip address
shutdown
half-duplex
!
interface Ethernet1/3
no ip address
shutdown
half-duplex
!
router eigrp 100
network 172.16.0.0
network 192.168.1.0
no auto-summary
=============

dynamips / dynagen IE v4 switch setup July 17, 2007

Posted by unixgeek in Cisco.
add a comment

dynamips / dynagen IE v4 switch setup

dynamips / dynagen IE v4 switch setupiev41.jpg

These are the crossover connections for the four switches.
Here is the corresponding dynagen configfile:
###############################################################################
#
# Internetwork Expert Routing & Switching topology mappings for dynamips/dynagen
# by: Brian McGahan, CCIE #8593
# bmcgahan@internetworkexpert.com
#
# For more information:
# Dynamips: http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
# Dynagen: http://dyna-gen.sourceforge.net/
# Hackis Forum: http://hacki.at/7200emu/index.php
# Internetwork Expert’s Forum: http://forum.internetworkexpert.com
#
###############################################################################
##################################################
#
# Define global router parameters for instance 1
#
##################################################
autostart = False
[localhost:7200]
workingdir = /home/frank/internetworkexpert/working
ghostios = true
[[3640]]
#
# Specify 3640 IOS image on Windows here:
#image = C:\Program Files\Dynamips\images\c3640-jk9o3s-mz.123-14.T7.extracted.bin
image = /opt/dyna/image
#
# Specify 3640 IOS image on Linux here:
# image = /ios/c3640-jk9o3s-mz.123-14.T7.extracted.bin
#
ram = 128
disk0 = 0
disk1 = 0
# Choose an idlepc value from the below
# idlepc = 0×60530870
# idlepc = 0×60530890
# idlepc = 0×60530a58
# idlepc = 0×60530abc
# idlepc = 0×605310c4
# idlepc = 0×605e92e8
# idlepc = 0×605e9364
# idlepc = 0×60531394
# idlepc = 0×605313d0
# idlepc = 0×605313ec
mmap = True
###########################
#
# Define router instances
#
###########################
[[Router R1]]
model = 3640
autostart = False
slot0 = NM-1FE-TX
slot1 = NM-4T
F0/0 = SW1 F1/1
S1/0 = FRSW 1
cnfg = /home/frank/internetworkexpert/initial.configs/R1.initial.config.txt
idlepc = 0×6042a3ac
[[Router R2]]
model = 3640
autostart = False
slot0 = NM-1FE-TX
slot1 = NM-4T
F0/0 = SW1 F1/2
S1/0 = FRSW 2
cnfg = /home/frank/internetworkexpert/initial.configs/R2.initial.config.txt
idlepc = 0×6042a3ac
[[Router R3]]
model = 3640
autostart = False
slot0 = NM-4E
slot1 = NM-4T
S1/0 = FRSW 3
S1/1 = FRSW 13
S1/2 = R1 S1/1
S1/3 = R2 S1/1
E0/0 = SW1 F1/3
E0/1 = SW3 F1/3
cnfg = /home/frank/internetworkexpert/initial.configs/R3.initial.config.txt
idlepc = 0×6042a3ac
[[Router R4]]
model = 3640
autostart = False
slot0 = NM-4E
slot1 = NM-4T
E0/0 = SW2 F1/4
E0/1 = SW4 F1/4
S1/0 = FRSW 4
S1/1 = R5 S1/1
cnfg = /home/frank/internetworkexpert/initial.configs/R4.initial.config.txt
idlepc = 0×605570dc
[[Router R5]]
model = 3640
autostart = False
slot0 = NM-4E
slot1 = NM-4T
E0/0 = SW1 F1/5
E0/1 = SW3 F1/5
S1/0 = FRSW 5
cnfg = /home/frank/internetworkexpert/initial.configs/R4.initial.config.txt
idlepc = 0×60555cc0

[[Router R6]]
model = 3640
autostart = False
slot0 = NM-4E
slot1 = NM-4T
E0/0 = SW2 F1/6
E0/1 = SW4 F1/6
S1/0 = FRSW 6
cnfg = /home/frank/internetworkexpert/initial.configs/R5.initial.config.txt
idlepc = 0×60555efc
[[Router SW1]]
model = 3640
autostart = False
slot1 = NM-16ESW
slot2 = NM-16ESW
F2/1 = SW2 F2/1
F2/2 = SW2 F2/2
F2/3 = SW2 F2/3
F2/4 = SW3 F2/1
F2/5 = SW3 F2/2
F2/6 = SW3 F2/3
F2/7 = SW4 F2/1
F2/8 = SW4 F2/2
F2/9 = SW4 F2/3
cnfg = /home/frank/internetworkexpert/initial.configs/R6.initial.config.txt
idlepc = 0×60555efc
################################################## #
# Define global router parameters for instance 2 # ################################################
[localhost:7201]
# Talk to the 2nd dynamips process on port 7201
udp = 11000
# Change the base udp port to 11000 (the default is 10000)
workingdir = /home/frank/internetworkexpert/working
[[3640]]
#
# Specify 3640 IOS image on Windows here:
#image = C:\Program FilesDynamipsimagesc3640-jk9o3s-mz.123-14.T7.extracted.bin
image = /opt/dyna/image
#
# Specify 3640 IOS image on Linux here:
# image = /ios/c3640-jk9o3s-mz.123-14.T7.extracted.bin
ram = 128
disk0 = 0
disk1 = 0
# Choose an idlepc value from the below
# idlepc = 0×60530870
# idlepc = 0×60530890
# idlepc = 0×60530a58
# idlepc = 0×60530abc
# idlepc = 0×605310c4
# idlepc = 0×605e92e8
# idlepc = 0×605e9364
# idlepc = 0×60531394
# idlepc = 0×605313d0
# idlepc = 0×605313ec
mmap = True
###########################
#
# Define router instances
#
###########################
[[Router SW2]]
model = 3640
console = 2007
autostart = False
slot1 = NM-16ESW
slot2 = NM-16ESW
F2/4 = SW3 F2/4
F2/5 = SW3 F2/5
F2/6 = SW3 F2/6
F2/7 = SW4 F2/4
F2/8 = SW4 F2/5
F2/9 = SW4 F2/6
cnfg = /home/frank/internetworkexpert/initial.configs/SW2.initial.config.txt
idlepc = 0×60555cc0
[[Router SW3]]
model = 3640
console = 2011
autostart = False
slot1 = NM-16ESW
slot2 = NM-16ESW
F2/7 = SW4 F2/7
F2/8 = SW4 F2/8
F2/9 = SW4 F2/9
cnfg = /home/frank/internetworkexpert/initial.configs/SW3.initial.config.txt
idlepc = 0×60555c98
[[Router SW4]]
model = 3640
console = 2012
autostart = False
slot1 = NM-16ESW
slot2 = NM-16ESW
cnfg = /home/frank/internetworkexpert/initial.configs/SW4.initial.config.txt
idlepc = 0×60555e8c
[[Router BB1]]
model = 3640
console = 2008
autostart = False
slot1 = NM-4T
S1/0 = BB3 S1/0
S1/1 = FRSW 21
cnfg = /home/frank/internetworkexpert/initial.configs/BB1.initial.config.txt
idlepc = 0×60521bc8
[[Router BB2]]
model = 3640
console = 2009
autostart = False
slot0 = NM-4E
E0/0 = SW2 F1/10
cnfg = /home/frank/internetworkexpert/initial.configs/BB2.initial.config.txt
idlepc = 0×60521bc8
[[Router BB3]]
model = 3640
console = 2010
autostart = False
slot0 = NM-4E
slot1 = NM-4T
E0/0 = SW1 F1/10
cnfg = /home/frank/internetworkexpert/initial.configs/BB3.initial.config.txt
idlepc = 0×605568e8
#
[[Router TermServ]]
#
model = 3640
#
console = 2012
#
autostart = False
#
# Specify your local host’s loopback here from the network device list
# Too add a loopback in windows:
# http://support.microsoft.com/kb/839013
#
# E0/0 = NIO_gen_eth:DeviceNPF_{4065B11C-2A6C-4FD2-8204-A12A9A8328A4}
#
cnfg = /home/frank/internetworkexpert/initial.configs/TermServ.initial.config.txt
[[FRSW FRSW]]
# R1 to FRSW
1:102 = 2:201
1:103 = 3:301
1:113 = 13:311
1:104 = 4:401
1:105 = 5:501
#R2 to FRSW
2:203 = 3:302
2:213 = 13:312
2:204 = 4:402
2:205 = 5:502
# R3 to FRSW
3:304 = 4:403
3:305 = 5:5031
3:314 = 4:4131
3:315 = 5:513
# R4 to FRSW
4:405 = 5:504
# R6 to FRSW
6:51 = 21:51
6:100 = 21:100
6:101 = 21:101
6:201 = 21:201
6:301 = 21:301
6:401 = 21:401

VLAN topology July 17, 2007

Posted by unixgeek in Cisco.
add a comment

[localhost]

[[3640]]
image = /usr/local/cisco/dynagen-0.9.2/lab-2/image.bin
ram = 64
idlepc = 0×60401a54

[[ROUTER SWITCH-A]]

model = 3640
slot1 = NM-16ESW
F1/1 = SWITCH-B F1/1
F1/2 = SWITCH-C F1/2

[[ROUTER SWITCH-B]]

model = 3640
slot1 = NM-16ESW
F1/2 = SWITCH-D F1/2

[[ROUTER SWITCH-C]]

model = 3640
slot1 = NM-16ESW
F1/1 = SWITCH-D F1/1

[[ROUTER SWITCH-D]]

model = 3640
slot1 = NM-16ESW

IOS needed: c3640-is-mz_1_.122-15.T8.bin

CCNP EIGRP lab July 17, 2007

Posted by unixgeek in Cisco.
add a comment

CCNP EIGRP

Dynagen .net file

[localhost]

[[7200]]
idlepc = 0×6087c184
image = c:\Program Files\Dynamips\images\c7200.bin
npe = npe-400
ram = 128
nvram = 256
confreg = 0×2102
exec_area = 64
mmap = false
slot0 = PA-C7200-IO-2FE
slot1 = PA-2FE-TX
slot2 = PA-GE
slot3 = PA-4T

[[2621]]
idlepc = 0×803f7e6c
image=C:\Program Files\Dynamips\images\C2600.BIN
ram = 64
confreg = 0×2102
exec_area = 32
mmap = False

[[Router R1]]
model = 7200
console = 2001
S3/0 = Fr 1
S3/1 = R3 S3/0
S3/2 = R4 S3/0
S3/3 = R5 S3/0

[[Router R2]]
model = 7200
console = 2002
S3/0 = Fr 2
F0/0 = R9 F0/0

[[Router R3]]
model = 7200
console = 2003
F1/0 = R4 F1/0
F1/1 = R5 F1/0
F0/0 = R6 F0/0

[[Router R4]]
model = 7200
console = 2004
F0/0 = R7 F0/0

[[Router R5]]
model = 7200
console = 2005
F0/0 = R8 F0/0

[[Router R6]]
model = 2621
console = 2006

[[Router R7]]
model = 2621
console = 2007

[[Router R8]]
model = 2621
console = 2008

[[Router R9]]
model = 2621
console = 2009

[[FRSW Fr]]
1:102 = 2:201

二、配置:
R1:
conf t
int s3/0
ip add 10.2.1.1 255.255.255.0
en fr
noo shut
exit
int s3/1
ip add 10.3.1.1 255.255.255.0
no shut
exit
int s3/2
ip add 10.4.1.1 255.255.255.0
no shut
exit
int s3/3
ip add 10.5.1.1 255.255.255.0
no shut
exit
router eigrp 100
no auto-summary
network 10.2.1.0 0.0.0.255
network 10.3.1.0 0.0.0.255
network 10.4.1.0 0.0.0.255
network 10.5.1.0 0.0.0.255
exit
int s3/0
ip summary-address eigrp 100 172.16.0.0 255.255.0.0
end
R2:
conf t
int s3/0
ip add 10.2.1.2 255.255.255.0
en fr
no shut
exit
int f0/0
ip add 192.168.2.1 255.255.255.0
no shut
exit
router eigrp 100
no auto
network 10.2.1.0 0.0.0.255
network 192.168.2.0 0.0.0.255
end
R3:
conf t
int s3/0
ip add 10.3.1.2 255.255.255.0
no shut
exit
int f1/0
ip add 10.6.1.1 255.255.255.0
no shut
exit
int f1/1
ip add 10.7.1.1 255.255.255.0
no shut
exit
int f0/0
ip add 172.16.3.1 255.255.255.0
no shut
exit
router eigrp 100
no auto
network 10.3.1.0 0.0.0.255
network 10.6.1.0 0.0.0.255
network 10.7.1.0 0.0.0.255
network 172.16.3.0 0.0.0.255
end
R4:
conf t
int s3/0
ip add 10.4.1.2 255.255.255.0
no shut
exit
int f1/0
ip add 10.6.1.2 255.255.255.0
no shut
exit
int f0/0
ip add 172.16.4.1 255.255.255.0
no shut
exit
router eigrp 100
no auto
network 10.4.1.0 0.0.0.255
network 10.6.1.0 0.0.0.255
network 172.16.4.0 0.0.0.255
end
R5:
conf t
int s3/0
ip add 10.5.1.2 255.255.255.0
no shut
exit
int f1/0
ip add 10.7.1.2 255.255.255.0
no shut
exit
int f0/0
ip add 172.16.5.1 255.255.255.0
no shut
exit
router eigrp 100
no auto
network 10.5.1.0 0.0.0.255
network 10.7.1.0 0.0.0.255
network 172.16.5.0 0.0.0.255
end
R6:
conf t
int f0/0
ip add 172.16.3.10 255.255.255.0
no shut
exit
no ip routing
ip default-gateway 172.16.3.1
end

Dynamips Router IOS and PORT ADAPTER supported July 17, 2007

Posted by unixgeek in Cisco.
add a comment

The following Cisco 7200 Port Adapters (PA) are currently supported:

  • FastEthernet cards “C7200-IO-FE” and “PA-FE-TX” based on DEC21140 chip
  • FastEthernet cards “C7200-IO-2FE” and “PA-2FE-TX” based on Intel i8254x chips
  • GigabitEthernet cards “C7200-IO-GE-E” and “PA-GE” based on Intel i8254x chips
  • Ethernet cards “PA-4E” and “PA-8E” based on AMD Am79c97x chips
  • ATM card “PA-A1″ based on Texas Instruments Tneta1570 chip
  • Serial cards “PA-4T+” and “PA-8T”
  • POS (Packet over Sonet) card “PA-POS-OC3″ (experimental, only works with recent IOS images)

The following Cisco 3600 (3620,3640,3660) Network Modules (NM) are currently supported:

  • Ethernet cards: “NM-1E”, “NM-4E” and “NM-1FE-TX”, all based on AMD Am79c97x chips
  • Ethernet switching module: “NM-16ESW”
  • Serial card “NM-4T”

The following Cisco 2691/3725/3745 Network Modules (NM) are currently supported:

  • FastEthernet cards: “NM-1FE-TX”
  • Ethernet switching module: “NM-16ESW”
  • Serial card “NM-4T”

The following Cisco 2600 Network Modules (NM) are currently supported:

  • Ethernet cards: “NM-1E”, “NM-4E” and “NM-1FE-TX”
  • Ethernet switching module: “NM-16ESW”

Play with This lab:[localhost]

[[2610]]
image = /usr/local/cisco/dynagen-0.9.2/pc/image.bin
ram = 16
slot1 = NM-1E
idlepc = 0×801ea000

[[router PC1]]
model = 2610

[[3640]]

image = /usr/local/cisco/dynagen-0.9.2/pc/3640.bin
ram = 64
confreg = 0×2142
idlepc = 0×60401a54

[[router R1]]
model = 3640
slot1 = NM-4E
F0/0 = PC1 F0/0

[[router R2]]
model = 3640
slot1 = NM-4E
F1/1 = R1 F1/1

[[router PC2]]
model = 2610
F0/0 = R2 F0/0

[[router R3]]
model = 3640
slot1 = NM-4T —> Load 4 Serial interface on Slot 1 ie serial1/0
slot0 = NM-4E —> Load 4 ethernet interface on Slot 0 ie  ethernet0/0

Frame Relay Complete LAB July 17, 2007

Posted by unixgeek in Cisco.
add a comment

autostart = false

[localhost]
workingdir=/opt/labs/actual

[[3620]]
image = /opt/ios/c3620-ik9o3s6-mz.123-17a.image
ram   = 64
slot0 = NM-1E
slot1 = NM-4T
idlepc = 0×605332bc

[[3640]]
image = /opt/ios/c3640-jk9o3s-mz.124-5a.image
ram   = 128
idlepc = 0×60610428

[[Router BB2]]
model = 3620
#      e0/0  = BB1 e0/0
s1/0  = FR s0/0

[[Router BB1]]
model = 3620
#        e0/0  = BB2 e0/0
s1/0  = FR s0/1

[[Router R3]]
model = 3640
slot0 = NM-1E
slot1 = NM-4T
e0/0  = R5 e0/0
s1/0  = FR s0/2
s1/1  = R4 s1/1

[[Router R4]]
model = 3640
slot0 = NM-1E
slot1 = NM-4T
e0/0  = R6 e0/0
s1/0  = FR s0/3
#      s1/1  = R3 s1/1

[[Router R5]]
model = 3640
slot0 = NM-1E
slot1 = NM-4T
#      e0/0  = R3 e0/0
s1/0  = R6 s1/0

[[Router R6]]
model = 3640
slot0 = NM-1E
slot1 = NM-4T
#      e0/0  = R4 e0/0
#      s1/0  = R5 s1/0

[[Router FR]]
model = 3640
slot0 = NM-4T
slot1 = NM-1E
#      s0/0  = BB2 s1/0
#      s0/1  = BB1 s1/0
#      s0/2  = R3 s1/0
#      s0/3  = R4 s1/0
#      e1/0  = S1 fa0/3

[[Router S1]]
model = 3640
slot0 = NM-16ESW
fa0/1 = BB2 e0/0
fa0/2 = BB1 e0/0
fa0/3 = FR e1/0

here is the FR configuration on ‘FR’ ….

Code:
ip cef
no ip domain lookup
ip host bbr1 10.254.0.1
ip host bbr2 10.254.0.2
ip host fr 10.254.0.3
ip host tftp 10.254.0.254
!
frame-relay switching
!
interface Serial0/0
description FR to BB2
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 115200
no dce-terminal-timing-enable
frame-relay intf-type dce
frame-relay route 102 interface Serial0/1 201
frame-relay route 103 interface Serial0/2 301
frame-relay route 104 interface Serial0/3 401
!
!
interface Serial0/1
description FR to BB1
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 115200
no dce-terminal-timing-enable
frame-relay intf-type dce
frame-relay route 201 interface Serial0/0 102
frame-relay route 203 interface Serial0/2 302
frame-relay route 204 interface Serial0/3 402
!
interface Serial0/2
description FR to R3
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 115200
no dce-terminal-timing-enable
frame-relay intf-type dce
frame-relay route 301 interface Serial0/0 103
frame-relay route 302 interface Serial0/1 203
frame-relay route 304 interface Serial0/3 403
!
interface Serial0/3
description FR to R4
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 115200
no dce-terminal-timing-enable
frame-relay intf-type dce
frame-relay route 401 interface Serial0/0 104
frame-relay route 402 interface Serial0/1 204
frame-relay route 403 interface Serial0/2 304
!
interface Ethernet1/0
description backbone lan connection
ip address 10.254.0.3 255.255.255.0
half-duplex
!
router eigrp 1
network 10.0.0.0
auto-summary
no eigrp log-neighbor-changes
!
router bgp 64997
no synchronization
bgp log-neighbor-changes
network 10.97.97.0 mask 255.255.255.0
neighbor 10.254.0.1 remote-as 64998
neighbor 10.254.0.2 remote-as 64999
no auto-summary
!

Dynagen lab : Two PC connected with two router July 17, 2007

Posted by unixgeek in Cisco.
add a comment

[localhost]

[[2610]]
image = /usr/local/cisco/dynagen-0.9.2/pc/image.bin
ram = 16
slot1 = NM-1E
idlepc = 0×801ea000

[[router PC1]]
model = 2610

[[3640]]

image = /usr/local/cisco/dynagen-0.9.2/pc/3640.bin
ram = 64
confreg = 0×2142
idlepc = 0×60401a54

[[router R1]]
model = 3640
slot1 = NM-4E
F0/0 = PC1 F0/0

[[router R2]]
model = 3640
slot1 = NM-4E
F1/1 = R1 F1/1

[[router PC2]]
model = 2610
F0/0 = R2 F0/0

Needed IOS: for PC : c2600-i-mz.113-3a.t1.bin

for ROUTER :   c3640-is-mz_1_.122-15.T8.bin