Sie sind auf Seite 1von 3

Press RETURN to get started!

Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1-0069
R1-0069(config)#
R1-0069(config)#
R1-0069(config)#interface FastEthernet0/0
R1-0069(config-if)#ip address 192.168.1.254 255.255.255.0
R1-0069(config-if)#ip address 192.168.1.254 255.255.255.0
R1-0069(config-if)#no shutdown
R1-0069(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to


up

R1-0069(config-if)#exit
R1-0069(config)#interface FastEthernet1/0
R1-0069(config-if)#ip address 12.12.12.1 255.255.255.0
R1-0069(config-if)#ip address 12.12.12.1 255.255.255.0
R1-0069(config-if)#no shutdown
R1-0069(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

=======================

Press RETURN to get started!

Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1-0069
R1-0069(config)#
R1-0069(config)#
R1-0069(config)#interface FastEthernet0/0
R1-0069(config-if)#ip address 192.168.1.254 255.255.255.0
R1-0069(config-if)#ip address 192.168.1.254 255.255.255.0
R1-0069(config-if)#no shutdown
R1-0069(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to


up

R1-0069(config-if)#exit
R1-0069(config)#interface FastEthernet1/0
R1-0069(config-if)#ip address 12.12.12.1 255.0.0.0
R1-0069(config-if)#ip address 12.12.12.1 255.0.0.0
R1-0069(config-if)#no shutdown
R1-0069(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
S1 ====================================
==========
show vlan
==========

en
conf t
hostname S1
vlan 10
name IT
vlan 20
name Admin

interface range fa0/1-12


switchport mode access
switchport access vlan 10

interface range fa0/13-24


switchport mode access
switchport access vlan 20

end

============

interface vlan 10
ip add 192.168.10.10 255.255.255.0
no shutdown

ip default-gateway 192.168.10.254

S2 ====================================
==========
show vlan
==========

en
conf t
hostname S2
vlan 10
name IT
vlan 20
name Admin

interface range fa0/1-12


switchport mode access
switchport access vlan 10

interface range fa0/13-24


switchport mode access
switchport access vlan 20

end

============
en
conf t
interface vlan 10
ip add 192.168.10.10 255.255.255.0
no shutdown

ip default-gateway 192.168.10.254
end

Das könnte Ihnen auch gefallen