R1-gns3-lab2: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt)
Zeile 80: Zeile 80:
 
  1.2.3.4          1  FULL/DROTHER    00:00:36    24.12.20.2      FastEthernet0/0
 
  1.2.3.4          1  FULL/DROTHER    00:00:36    24.12.20.2      FastEthernet0/0
 
  5.6.7.8          1  FULL/BDR        00:00:30    24.12.20.1      FastEthernet0/0
 
  5.6.7.8          1  FULL/BDR        00:00:30    24.12.20.1      FastEthernet0/0
 +
 +
*show ip route
 +
 +
<pre>
 +
S*    0.0.0.0/0 [1/0] via 192.168.7.2
 +
      11.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
 +
C        11.12.19.0/24 is directly connected, FastEthernet0/0.1
 +
L        11.12.19.94/32 is directly connected, FastEthernet0/0.1
 +
      24.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
 +
C        24.12.20.0/24 is directly connected, FastEthernet0/0
 +
L        24.12.20.21/32 is directly connected, FastEthernet0/0
 +
      172.16.0.0/24 is subnetted, 2 subnets
 +
O        172.16.0.0 [110/2] via 24.12.20.2, 00:53:29, FastEthernet0/0
 +
O        172.16.1.0 [110/2] via 24.12.20.1, 00:53:29, FastEthernet0/0
 +
      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
 +
C        192.168.1.0/24 is directly connected, FastEthernet3/1
 +
L        192.168.1.1/32 is directly connected, FastEthernet3/1
 +
      192.168.7.0/24 is variably subnetted, 2 subnets, 2 masks
 +
C        192.168.7.0/24 is directly connected, FastEthernet1/0
 +
L        192.168.7.1/32 is directly connected, FastEthernet1/0
 +
</pre>
 +
 +
*show  ip interface brief
 +
<pre>
 +
Interface                  IP-Address      OK? Method Status                Protocol
 +
FastEthernet0/0            24.12.20.21    YES NVRAM  up                    up
 +
FastEthernet0/0.1          11.12.19.94    YES NVRAM  up                    up
 +
FastEthernet0/0.7          unassigned      YES unset  up                    up
 +
FastEthernet1/0            192.168.7.1    YES NVRAM  up                    up
 +
FastEthernet1/1            unassigned      YES NVRAM  administratively down down
 +
FastEthernet2/0            unassigned      YES NVRAM  administratively down down
 +
FastEthernet2/1            unassigned      YES NVRAM  administratively down down
 +
FastEthernet3/0            unassigned      YES NVRAM  administratively down down
 +
FastEthernet3/1            192.168.1.1    YES NVRAM  up             
 +
</pre>

Aktuelle Version vom 7. Februar 2023, 10:30 Uhr

  • show running-config
ip dhcp pool netz
 network 24.12.20.0 255.255.255.0
!
ip dhcp pool kunde
 network 192.168.1.0 255.255.255.0
 domain-name LarsGeffke.de
 default-router 192.168.1.1
 dns-server 8.8.8.8
!
ip dhcp pool windows10
 network 11.12.19.0 255.255.255.0
 default-router 11.12.19.94
 dns-server 8.8.8.8
interface FastEthernet0/0
 ip address 24.12.20.21 255.255.255.0
 ip ospf 1 area 0
 duplex half
!
interface FastEthernet0/0.1
 encapsulation dot1Q 2
 ip address 11.12.19.94 255.255.255.0
 ip ospf 1 area 0
!
interface FastEthernet0/0.7
!
interface FastEthernet1/0
 ip address 192.168.7.1 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto

!
interface FastEthernet1/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet2/0
 no ip address
 shutdown
 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 192.168.1.1 255.255.255.0
 ip ospf 1 area 0
 duplex auto
 speed auto
!
router ospf 1
 default-information originate always
!
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.7.2
  • show ip ospf neighbor
Neighbor ID     Pri   State           Dead Time   Address         Interface
1.2.3.4           1   FULL/DROTHER    00:00:36    24.12.20.2      FastEthernet0/0
5.6.7.8           1   FULL/BDR        00:00:30    24.12.20.1      FastEthernet0/0
  • show ip route
S*    0.0.0.0/0 [1/0] via 192.168.7.2
      11.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        11.12.19.0/24 is directly connected, FastEthernet0/0.1
L        11.12.19.94/32 is directly connected, FastEthernet0/0.1
      24.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        24.12.20.0/24 is directly connected, FastEthernet0/0
L        24.12.20.21/32 is directly connected, FastEthernet0/0
      172.16.0.0/24 is subnetted, 2 subnets
O        172.16.0.0 [110/2] via 24.12.20.2, 00:53:29, FastEthernet0/0
O        172.16.1.0 [110/2] via 24.12.20.1, 00:53:29, FastEthernet0/0
      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.1.0/24 is directly connected, FastEthernet3/1
L        192.168.1.1/32 is directly connected, FastEthernet3/1
      192.168.7.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.7.0/24 is directly connected, FastEthernet1/0
L        192.168.7.1/32 is directly connected, FastEthernet1/0
  • show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            24.12.20.21     YES NVRAM  up                    up
FastEthernet0/0.1          11.12.19.94     YES NVRAM  up                    up
FastEthernet0/0.7          unassigned      YES unset  up                    up
FastEthernet1/0            192.168.7.1     YES NVRAM  up                    up
FastEthernet1/1            unassigned      YES NVRAM  administratively down down
FastEthernet2/0            unassigned      YES NVRAM  administratively down down
FastEthernet2/1            unassigned      YES NVRAM  administratively down down
FastEthernet3/0            unassigned      YES NVRAM  administratively down down
FastEthernet3/1            192.168.1.1     YES NVRAM  up