Browse Source

Fix wrong IP-Address mappings for Clients/Router

master
anxietypb 8 years ago
parent
commit
b0d861755e
  1. 334
      GIT-VIRL-HS-Fulda/Kommunikationsnetze und -protokolle (Bachelor AI)/kommprot-lab3_b-wanem-ok.virl

334
GIT-VIRL-HS-Fulda/Kommunikationsnetze und -protokolle (Bachelor AI)/kommprot-lab3_b-wanem-ok.virl

@ -5,169 +5,169 @@
<entry key="AutoNetkit.mgmt_ip" type="string"></entry> <entry key="AutoNetkit.mgmt_ip" type="string"></entry>
<entry key="AutoNetkit.IGP" type="String">eigrp</entry> <entry key="AutoNetkit.IGP" type="String">eigrp</entry>
<entry key="Auto-generate config" type="Boolean">false</entry> <entry key="Auto-generate config" type="Boolean">false</entry>
<entry key="config" type="String">!
! Last configuration change at 22:03:48 UTC Sun Jan 15 2017
!
version 15.6
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router-A
!
boot-start-marker
boot-end-marker
!
!
vrf definition Mgmt-intf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
enable password cisco
!
no aaa new-model
ethernet lmi ce
!
!
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
!
!
!
!
!
!
!
!
!
!
!
no ip domain lookup
ip cef
ipv6 unicast-routing
ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
redundancy
!
no cdp run
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
description Loopback
ip address 192.168.0.2 255.255.255.255
!
interface GigabitEthernet0/0
description OOB Management
vrf forwarding Mgmt-intf
ip address 10.255.0.229 255.255.0.0
duplex full
speed auto
media-type rj45
!
interface GigabitEthernet0/1
description to ISP
ip address 192.168.101.2 255.255.255.252
duplex full
speed auto
media-type rj45
!
interface GigabitEthernet0/2
description toRechnungswesen
ip address 192.168.100.1 255.255.255.128
duplex auto
speed auto
media-type rj45
!
interface GigabitEthernet0/3
description toManagement
ip address 192.168.100.129 255.255.255.192
duplex auto
speed auto
media-type rj45
!
interface GigabitEthernet0/4
description toAdministration
ip address 192.168.100.193 255.255.255.240
duplex auto
speed auto
media-type rj45
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
ip route 0.0.0.0 0.0.0.0 192.168.101.1
!
!
!
!
control-plane
!
banner exec `
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
* education. IOSv is provided as-is and is not supported by Cisco's *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any *
* purposes is expressly prohibited except as otherwise authorized by *
* Cisco in writing. *
**************************************************************************`
banner incoming `
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
* education. IOSv is provided as-is and is not supported by Cisco's *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any *
* purposes is expressly prohibited except as otherwise authorized by *
* Cisco in writing. *
**************************************************************************`
banner login `
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS *
* education. IOSv is provided as-is and is not supported by Cisco's *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any *
* purposes is expressly prohibited except as otherwise authorized by *
* Cisco in writing. *
**************************************************************************`
!
line con 0
password cisco
line aux 0
line vty 0 4
exec-timeout 720 0
password cisco
login
transport input telnet ssh
!
no scheduler allocate
!
<entry key="config" type="String">!&#xD;
! Last configuration change at 22:03:48 UTC Sun Jan 15 2017&#xD;
!&#xD;
version 15.6&#xD;
service timestamps debug datetime msec&#xD;
service timestamps log datetime msec&#xD;
no service password-encryption&#xD;
!&#xD;
hostname Router-A&#xD;
!&#xD;
boot-start-marker&#xD;
boot-end-marker&#xD;
!&#xD;
!&#xD;
vrf definition Mgmt-intf&#xD;
!&#xD;
address-family ipv4&#xD;
exit-address-family&#xD;
!&#xD;
address-family ipv6&#xD;
exit-address-family&#xD;
!&#xD;
enable password cisco&#xD;
!&#xD;
no aaa new-model&#xD;
ethernet lmi ce&#xD;
!&#xD;
!&#xD;
!&#xD;
mmi polling-interval 60&#xD;
no mmi auto-configure&#xD;
no mmi pvc&#xD;
mmi snmp-timeout 180&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
no ip domain lookup&#xD;
ip cef&#xD;
ipv6 unicast-routing&#xD;
ipv6 cef&#xD;
!&#xD;
multilink bundle-name authenticated&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
redundancy&#xD;
!&#xD;
no cdp run&#xD;
!&#xD;
! &#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
interface Loopback0&#xD;
description Loopback&#xD;
ip address 192.168.0.2 255.255.255.255&#xD;
!&#xD;
interface GigabitEthernet0/0&#xD;
description OOB Management&#xD;
vrf forwarding Mgmt-intf&#xD;
ip address 10.255.0.229 255.255.0.0&#xD;
duplex full&#xD;
speed auto&#xD;
media-type rj45&#xD;
!&#xD;
interface GigabitEthernet0/1&#xD;
description to ISP&#xD;
ip address 192.168.101.2 255.255.255.252&#xD;
duplex full&#xD;
speed auto&#xD;
media-type rj45&#xD;
!&#xD;
interface GigabitEthernet0/2&#xD;
description toRechnungswesen&#xD;
ip address 192.168.100.1 255.255.255.128&#xD;
duplex auto&#xD;
speed auto&#xD;
media-type rj45&#xD;
!&#xD;
interface GigabitEthernet0/4&#xD;
description toAdminsitration&#xD;
ip address 192.168.100.129 255.255.255.192&#xD;
duplex auto&#xD;
speed auto&#xD;
media-type rj45&#xD;
!&#xD;
interface GigabitEthernet0/3&#xD;
description toManagement&#xD;
ip address 192.168.100.193 255.255.255.240&#xD;
duplex auto&#xD;
speed auto&#xD;
media-type rj45&#xD;
!&#xD;
ip forward-protocol nd&#xD;
!&#xD;
!&#xD;
no ip http server&#xD;
no ip http secure-server&#xD;
ip route 0.0.0.0 0.0.0.0 192.168.101.1&#xD;
!&#xD;
!&#xD;
!&#xD;
!&#xD;
control-plane&#xD;
!&#xD;
banner exec `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
banner incoming `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
banner login `&#xD;
**************************************************************************&#xD;
* IOSv is strictly limited to use for evaluation, demonstration and IOS *&#xD;
* education. IOSv is provided as-is and is not supported by Cisco's *&#xD;
* Technical Advisory Center. Any use or disclosure, in whole or in part, *&#xD;
* of the IOSv Software or Documentation to any third party for any *&#xD;
* purposes is expressly prohibited except as otherwise authorized by *&#xD;
* Cisco in writing. *&#xD;
**************************************************************************`&#xD;
!&#xD;
line con 0&#xD;
password cisco&#xD;
line aux 0&#xD;
line vty 0 4&#xD;
exec-timeout 720 0&#xD;
password cisco&#xD;
login&#xD;
transport input telnet ssh&#xD;
!&#xD;
no scheduler allocate&#xD;
!&#xD;
end</entry> end</entry>
</extensions> </extensions>
<interface id="0" name="GigabitEthernet0/1" ipv4="192.168.101.2" netPrefixLenV4="24"/> <interface id="0" name="GigabitEthernet0/1" ipv4="192.168.101.2" netPrefixLenV4="24"/>
@ -771,9 +771,9 @@ write_files:&#xD;
permissions: '0755'&#xD; permissions: '0755'&#xD;
content: |-&#xD; content: |-&#xD;
!/bin/sh -e&#xD; !/bin/sh -e&#xD;
ifconfig eth1 192.168.100.130 netmask 255.255.255.192&#xD;
ifconfig eth1 192.168.100.194 netmask 255.255.255.240&#xD;
route del default&#xD; route del default&#xD;
route add default gw 192.168.100.129&#xD;
route add default gw 192.168.100.193&#xD;
exit 0&#xD; exit 0&#xD;
&#xD; &#xD;
- path: /etc/resolv.conf&#xD; - path: /etc/resolv.conf&#xD;
@ -840,9 +840,9 @@ write_files:&#xD;
permissions: '0755'&#xD; permissions: '0755'&#xD;
content: |-&#xD; content: |-&#xD;
!/bin/sh -e&#xD; !/bin/sh -e&#xD;
ifconfig eth1 192.168.100.194 netmask 255.255.255.240&#xD;
ifconfig eth1 192.168.100.130 netmask 255.255.255.192&#xD;
route del default&#xD; route del default&#xD;
route add default gw 192.168.100.193&#xD;
route add default gw 192.168.100.129&#xD;
exit 0&#xD; exit 0&#xD;
&#xD; &#xD;
- path: /etc/resolv.conf&#xD; - path: /etc/resolv.conf&#xD;

Loading…
Cancel
Save