Routerkonfigurering med Packet Tracer

Den uppmärksamme noterar att uppgiften är felaktig.

Här följer komandon för att lösa uppgiften:

— System Configuration Dialog —

Continue with configuration dialog? [yes/no]: n

Press RETURN to get started!

Router>enable
Router#config terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface f
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#no shutdown

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

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

Router(config-if)#
Router(config-if)#^Z
Router#

%SYS-5-CONFIG_I: Configured from console by console

Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interfac f
Router(config)#interfac fastEthernet 0/1
Router(config-if)#ip address 192.168.20.1 255.255.255.0
Router(config-if)#no shutdown

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

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

Router(config-if)#
Router(config-if)#exit
Router(config)#exit

%SYS-5-CONFIG_I: Configured from console by console

Router#copy r
Router#copy running-config star
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
[OK]
Router#exit

Router con0 is now available

Press RETURN to get started.

Konfigurera PC0

Under globala inställningar hittar du ett fält för gateway.
Ange följande IP-adress i fältet, 192.168.10.1

Under globala inställningar FastEthernet anger du ett statiskt IP-nummer på PC0
Ange följande statiska IP-adress 192.168.10.10

Konfigurera PC1

Under globala inställningar hittar du ett fält för gateway.
Ange följande IP-adress i fältet, 192.168.20.1

Under globala inställningar FastEthernet anger du ett statiskt IP-nummer på PC0
Ange följande statiska IP-adress 192.168.20.10