Sie sind auf Seite 1von 2

R1

conf t
interface FastEthernet0/0
ip address 192.168.12.1 255.255.255.0
ip nat inside
interface FastEthernet1/0
ip address dhcp
ip nat outside
router ospf 1
router-id 1.1.1.1
network 0.0.0.0 255.255.255.255 area 0
default-information originate
distribute-list 1 in
ip nat inside source list 1 interface FastEthernet1/0 overload
access-list 1 deny 192.168.26.0 0.0.0.255
access-list 1 permit any
R2
conf t
interface FastEthernet1/0
ip address 192.168.23.2 255.255.255.0
ip policy route-map a
interface FastEthernet1/1
ip address 192.168.26.2 255.255.255.0
ip policy route-map a
router ospf 1
router-id 2.2.2.2
network 0.0.0.0 255.255.255.255 area 0
access-list 1 permit 192.168.35.0 0.0.0.255
route-map a permit 10
match ip address 1
set ip next-hop 192.168.26.6
R3
conf t
interface FastEthernet0/0
ip address 192.168.23.3 255.255.255.0
interface FastEthernet1/0
ip address 192.168.34.3 255.255.255.0
interface FastEthernet1/1
ip address 192.168.35.3 255.255.255.0
router ospf 1
router-id 3.3.3.3
network 0.0.0.0 255.255.255.255 area 0
R4
conf t
interface FastEthernet0/0

ip address 192.168.34.4 255.255.255.0


router ospf 1
router-id 4.4.4.4
network 0.0.0.0 255.255.255.255 area 0
R5
conf t
interface FastEthernet0/0
ip address 192.168.35.5 255.255.255.0
router ospf 1
router-id 5.5.5.5
network 0.0.0.0 255.255.255.255 area 0
R6
conf t
interface FastEthernet0/0
ip address 192.168.26.6 255.255.255.0
router ospf 1
router-id 6.6.6.6
network 0.0.0.0 255.255.255.255 area 0

Das könnte Ihnen auch gefallen