Sunday, March 4, 2012

GNS3 using same 10-space


I began this lab with the intent to discover how I might include the same subnet in several places in the same network infrastructure in such a way as to not cause any conflict.

I've also included the following:

router-on-a-stick (R7)
NAT (PAT) (R1 R2)
mutiple routing protocols; RIP, OSPF and EIGRP.
2-way route redistribution from/to OSPF (R1 R2)
PPP chap authentications. (R2 R6)
Frame Relay


10.0.0.0/29 is found in the RIP domain; 10.0.0.0/30 is found in the EIGRP domain.
The core OSPF domain should not have any route to the above 10-space.

All subnets should be pingable from everywhere in this network infrastructure EXCEPT
the already mentioned 10-space.

Feel free to attempt to put this lab together in any way you see fit. Use my configs as a helper in case you get stuck. Good luck!

Cheers,
            nocleader




 
Check out R5's routing table. It shows all subnets in this network EXCEPT the 10.0.0.0./30 subnet in the EIGRP domain.





 
----------- R1 config -------------------------------------------------

hostname R1

interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip address 10.0.1.1 255.255.255.252
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface Serial0/0
ip address 10.0.0.1 255.255.255.248
ip nat inside
ip virtual-reassembly
encapsulation frame-relay
clock rate 2000000
frame-relay map ip 10.0.0.2 101 broadcast
frame-relay map ip 10.0.0.3 102 broadcast
no frame-relay inverse-arp
!
interface FastEthernet0/1
ip address 10.0.1.5 255.255.255.252
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
redistribute rip subnets
network 1.1.1.1 0.0.0.0 area 0
network 10.0.1.0 0.0.0.3 area 0
network 10.0.1.4 0.0.0.3 area 0
distribute-list 10 out rip
!
router rip
version 2
redistribute ospf 1 metric 2
network 1.0.0.0
network 10.0.0.0
no auto-summary
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
ip nat inside source list 20 interface Loopback0 overload
!
access-list 10 deny 10.0.0.0 0.0.0.7
access-list 10 permit any
access-list 20 permit 10.0.0.0 0.0.0.7




 ----------- R2 config -------------------------------------------------


hostname R2

username R6 password 0 cisco

 interface Loopback0
 ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
 ip address 10.0.1.2 255.255.255.252
 ip nat outside
 ip virtual-reassembly
 duplex auto
 speed auto
!
interface Serial0/0
 ip address 10.0.0.1 255.255.255.252
 ip nat inside
 ip virtual-reassembly
 encapsulation ppp
 clock rate 2000000
 ppp authentication chap
!
interface FastEthernet0/1
 ip address 10.0.1.9 255.255.255.252
 ip nat outside
 ip virtual-reassembly
 duplex auto
 speed auto
!
router eigrp 1
 redistribute ospf 1 metric 1544 2000 255 1 1500
 network 10.0.0.0 0.0.0.3
 no auto-summary
!
router ospf 1
 router-id 2.2.2.2
 log-adjacency-changes
 redistribute eigrp 1 subnets
 network 1.1.1.1 0.0.0.0 area 0
 network 2.2.2.2 0.0.0.0 area 0
 network 10.0.1.0 0.0.0.3 area 0
 network 10.0.1.8 0.0.0.3 area 0
 distribute-list 10 out eigrp 1
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
ip nat inside source list 20 interface Loopback0 overload
!
access-list 10 deny   10.0.0.0 0.0.0.7
access-list 10 permit any
access-list 20 permit 10.0.0.0 0.0.0.3



 ----------- R3 config -------------------------------------------------

 hostname R3
!
interface Loopback0
 ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
 ip address 10.0.1.10 255.255.255.252
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 10.0.1.6 255.255.255.252
 duplex auto
 speed auto
!
router ospf 1
 router-id 3.3.3.3
 log-adjacency-changes
 network 3.3.3.3 0.0.0.0 area 0
 network 10.0.1.4 0.0.0.3 area 0
 network 10.0.1.8 0.0.0.3 area 0



 ----------- R4 config -------------------------------------------------

hostname R4
!
interface Loopback0
 ip address 4.4.4.4 255.255.255.255
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/0
 ip address 10.0.0.2 255.255.255.248
 encapsulation frame-relay
 clock rate 2000000
 frame-relay map ip 10.0.0.1 401 broadcast
 frame-relay map ip 10.0.0.2 401
 frame-relay map ip 10.0.0.3 401 broadcast
 no frame-relay inverse-arp
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
router rip
 version 2
 network 4.0.0.0
 network 10.0.0.0
 no auto-summary



----------- R5 config -------------------------------------------------

 hostname R5
!
interface Loopback0
 ip address 5.5.5.5 255.255.255.255
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/0
 ip address 10.0.0.3 255.255.255.248
 encapsulation frame-relay
 clock rate 2000000
 frame-relay map ip 10.0.0.1 501 broadcast
 frame-relay map ip 10.0.0.2 501 broadcast
 frame-relay map ip 10.0.0.3 501
 no frame-relay inverse-arp
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
router rip
 version 2
 network 5.0.0.0
 network 10.0.0.0
 no auto-summary






----------- R6 config -------------------------------------------------


hostname R6
!
username R2 password 0 cisco
!
!
interface Loopback0
 ip address 6.6.6.6 255.255.255.255
!
interface FastEthernet0/0
 ip address 67.67.67.2 255.255.255.252
 duplex auto
 speed auto
!
interface Serial0/0
 ip address 10.0.0.2 255.255.255.252
 encapsulation ppp
 clock rate 2000000
 ppp authentication chap
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
router eigrp 1
 network 6.6.6.6 0.0.0.0
 network 10.0.0.0 0.0.0.3
 network 67.67.67.0 0.0.0.3
 no auto-summary



----------- R7 config -------------------------------------------------


 hostname R7
!
interface Loopback7
 ip address 7.7.7.7 255.255.255.255
!
interface FastEthernet0/0
 ip address 67.67.67.1 255.255.255.252
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet0/1.7
 encapsulation dot1Q 7
 ip address 67.67.68.1 255.255.255.0
!
interface FastEthernet0/1.8
 encapsulation dot1Q 8
 ip address 67.67.69.1 255.255.255.0
!
interface FastEthernet1/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
router eigrp 1
 network 7.7.7.7 0.0.0.0
 network 67.67.67.0 0.0.0.3
 network 67.67.68.0 0.0.0.255
 network 67.67.69.0 0.0.0.255
 no auto-summary






No comments:

Post a Comment