R2-gns3-lab2

Aus Xinux Wiki
Version vom 31. Januar 2023, 08:35 Uhr von Thomas.will (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „*show running-config <pre> ip dhcp pool kunde network 192.168.8.0 255.255.255.0 domain-name Kit_Dresden.de default-router 192.168.8.42 dns-server 8.8.8.8…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen
  • show running-config
ip dhcp pool kunde
 network 192.168.8.0 255.255.255.0
 domain-name Kit_Dresden.de
 default-router 192.168.8.42
 dns-server 8.8.8.8

interface FastEthernet0/0
 ip address dhcp
 ip ospf 1 area 0
 duplex half
!
interface FastEthernet1/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet1/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet2/0
 ip address dhcp
 ip ospf 1 area 0
 duplex auto
 speed auto
!
interface FastEthernet2/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet3/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet3/1
 ip address 172.16.1.1 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto
!
router ospf 1
 router-id 1.2.3.4
 network 24.12.20.0 0.0.0.255 area 0
  • show ip ospf neighbor
Neighbor ID     Pri   State           Dead Time   Address         Interface
5.6.7.8           1   FULL/BDR        00:00:33    24.12.20.1      FastEthernet2/0
192.168.7.1       1   FULL/DR         00:00:31    24.12.20.21     FastEthernet2/0
  • show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is 24.12.20.21 to network 0.0.0.0

O*E2  0.0.0.0/0 [110/1] via 24.12.20.21, 00:55:54, FastEthernet2/0
      11.0.0.0/24 is subnetted, 1 subnets
O        11.12.19.0 [110/2] via 24.12.20.21, 00:55:54, FastEthernet2/0
      24.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        24.12.20.0/24 is directly connected, FastEthernet2/0
L        24.12.20.2/32 is directly connected, FastEthernet2/0
      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
O        172.16.0.0/24 [110/2] via 24.12.20.1, 00:55:54, FastEthernet2/0
C        172.16.1.0/24 is directly connected, FastEthernet3/1
L        172.16.1.1/32 is directly connected, FastEthernet3/1
O     192.168.1.0/24 [110/2] via 24.12.20.21, 00:55:54, FastEthernet2/0
O     192.168.7.0/24 [110/2] via 24.12.20.21, 00:55:54, FastEthernet2/0