Sie sind auf Seite 1von 7

Router a

Press RETURN to get started!


Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname LAB-A
LAB-A(config)#int fa0/0
LAB-A(config-if)#ip address 192.168.11.1 255.255.255.0
LAB-A(config-if)#no sh

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

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


to up

LAB-A(config-if)#exit

LAB-A(config)#ip dhcp pool LAB-A


LAB-A(dhcp-config)#network 192.168.11.0 255.255.255.0
LAB-A(dhcp-config)#default-router 192.168.11.1
LAB-A(dhcp-config)#

Router b
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname LAB-B
LAB-B(config)#int fa0/0
LAB-B(config-if)#ip address 192.168.12.1 255.255.255.0
LAB-B(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state
to up
LAB-B(config-if)#exit
LAB-B(config)#ip dhcp pool LAB-A
LAB-B(dhcp-config)#network 192.168.12.0 255.255.255.0
LAB-B(dhcp-config)#default-router 192.168.12.1
LAB-B(dhcp-config)#

Frame relay config


Router a
LAB-A>
LAB-A>enable
LAB-A#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
LAB-A(config)#interface Serial2/0
LAB-A(config-if)#ip address 10.10.10.1 255.0.0.0
LAB-A(config-if)#no shut
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
LAB-A(config-if)#clock rate 64000

LAB-A(config-if)#exit
LAB-A(config)#ip route 0.0.0.0 0.0.0.0 10.10.10.2
LAB-A(config)#int s2/0
LAB-A(config-if)#encapsulation frame-relay ietf
LAB-A(config-if)#frame-relay lmi-type ansi
LAB-A(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
LAB-A(config-if)#frame-relay interface-dlci 100
LAB-A(config-if)#

Router b
LAB-B(config)#interface Serial2/0
LAB-B(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
LAB-B(config-if)#ip address 10.10.10.2 255.0.0.0
LAB-B(config-if)#clock rate 64000
LAB-B(config-if)#
LAB-B(config-if)#exit
LAB-B(config)#ip route 0.0.0.0 0.0.0.0 10.10.10.1
LAB-B(config)#
LAB-B(config)#interface Serial2/0
LAB-B(config-if)#encapsulation frame-relay ietf
LAB-B(config-if)#frame-relay lmi-type ansi
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
LAB-B(config-if)#frame-relay interface-dlci 200

Das könnte Ihnen auch gefallen