Beruflich Dokumente
Kultur Dokumente
R1
conf t
int fa0/0
ip address 192.168.10.1 255.255.255.0
no shut
R2
int s0/0
ip address 185.42.100.1 255.255.255.248
no shut
int fa0/0
ip address 192.168.10.2 255.255.255.0
no shut
int fa0/1
ip address 172.16.10.1 255.255.255.0
no shut
R3
int fa0/1
ip address 192.168.10.0
ISP1
int fa0/0
ip address 210.11.10.1 255.255.255.0
no shut
int s0/0
ip address 185.42.100.2 255.255.255.248
clock rate 128000
no shut
ISP2
int fa0/0
ip address 210.11.10.2 255.255.255.0
no shut
int s0/1
ip address 205.60.85.2 255.255.255.248
clock rate 128000
no shut
========
network 192.168.10.0/24 should
network 172.16.10.0/244 should
IF ISP links,fails,failover to
Normal Traffic should still be
pass ISP2
pass ISP2
the other ISP
present
Step1
Access List
R2
ip access-list standard net192
permit 192.168.10.0 0.0.0.255
exit
ip access-list standard net172
permit 17.16.10.0 0.0.0.255
exit
ip access-list extended net192to172
permit ip 192.168.10.0 0.0.0.255 172.16.10.0 0.0.0.255
exit
185.50.83.1 255.255.255.0
186.50.84.1 255.255.255.0
205.67.35.1 255.255.255.240
205.67.35.17 255.255.255.240
138.42.35.1 255.255.255.128
138.42.35.129 255.255.255.128
1.1.1.1 255.255.255.255
185.42.100.2 255.255.255.0
185.42.100.1 255.255.255.0
128000
135.68.100.1 255.255.255.0
106.43.32.1 255.255.224.0
106.43.64.1 255.255.224.0
2.2.2.2 255.255.255.255
=============
EBGP BASIC CONFIGURATION
(1) BP ASN per router only
to config
R1
basic bgp:
router bgp 100
neighbor <ip addyof target router> remote-as 200
or if using static routes:
R1
router bgp 100
129.100.52.1 255.255.255.0
129.100.53.1 255.255.255.0
198.52.32.1 255.255.224.0
198.52.64.1 255.255.224.0
201.62.100.2 255.255.255.0
3.3.3.3 255.255.255.255
R2
int s0/0
ip address 201.62.100.1 255.255.255.0
clock rate 128000
no shut
router brgp 200
neighbor 3.3.3.3 remote-as 300
neighbor 3.3.3.3 update-source loopback 0
neighbor 3.3.3.3 ebgp-multihop 2
===============
IBGP
R4192.168.10.1
int Lo2
ip address 124.105.60.1 255.255.255.0
int s0/0
ip address 192.168.10.2 255.255.255.0
no shut
router brgp 300
neighbor 3.3.3.3 remote-as 300
neighbor 3.3.3.3 update-source loopback 0
R3
router bgp 300
neighbor 4.4.4.4 remote-as 300
neighbor 4.4.4.4 update-source loopback 0
neighbor 4.4.4.4 ebgp-multihop 2
router bgp 300
neighbor 4.4.4.4 remote-as 300
neighbor 4.4.4.4 next-hop-self
exit
ip nat pool NAT2 213.112.10.1 213.112.10.1 netmask 255.255.255.0
access-list 25 permit 192.168.10.0 0.0.0.255
ip nat inside source list 25 pool NAT2 overload
int s0/0
ip nat inside
exit
int s0/1
ip nat outside
exit
===========
R5
int s0/0
ip address 215.62.30.2 255.255.255.0
no shut
int s0/1
ip address 192.168.11.1 255.255.255.0
clock rate 12800
no shut
int Lo0
=======EIGRP
advertise all connected networks
R5
router eigrp 300
network 215.62.30.2 255.255.255.0
network 192.168.11.1 255.255.255.0
network 5.5.5.5 255.255.255.0
R4
router eigrp 300
network 192.168.12.1 255.255.255.0
network 124.105.60.0 255.255.255.0
network 4.4.4.4 255.255.255.0
R6
router eigrp 300
network 192.168.11.2 255.255.255.0
network 192.168.12.2 255.255.255.0
R3
router eigrp 300
network 129.100.52.1 255.255.255.0
network 129.100.53.1 255.255.255.0
network 198.52.32.1 255.255.224.0
network 198.52.64.1 255.255.224.0
network 3.3.3.3 255.255.255.255
network 192.168.10.0 255.255.224.0
R2
router bgp 200
neighbor 3.3.3.3 default-originate
exit
R1
router bgp 100
neighbor 5.5.5.5 default-originate
exit
======
gawing neighbor
R4
router bgp 300
neighbor 5.5.5.5 remote-as 300