Erinevus lehekülje "Cisco katsetused" redaktsioonide vahel
| 67. rida: | 67. rida: | ||
show ip interface brief | show ip interface brief | ||
| + | |||
| + | |||
| + | Router(config)#interface Ethernet1 | ||
| + | Router(config-if)#ip address 192.168.1.1 255.255.255.0 | ||
| + | Router(config-if)#no shut | ||
| + | Router(config-if)#ip nat inside | ||
| + | Router(config-if)#interface Ethernet0 | ||
| + | Router(config-if)#ip nat outside | ||
| + | Router(config-if)#ip default-gateway 193.40.0.129 | ||
| + | Router(config)#ip nat inside source list 1 interface Ethernet0 overload | ||
| + | |||
Redaktsioon: 11. oktoober 2007, kell 19:03
Sissejuhatus
Eesmärgiks on antud juhul üks väike cisco ruuter seadistada NAT ja DHCP teenuseid pakkuma.
If you have Used Router (not a brandnew Router) to work with,
and you want to follow along with this tutorial, you can blank out everything,
and start from what we call, "A Clean Slate".
(A Clean Slate refers back to a time when students wrote on slabs of rock)
Type in the following two Commands from the Enable Mode:
enable Erase Startup-config Reload
DO NOT do these two commands on your company's production routers! This will have very BAD consequences - i.e. "Network Down, You Fired!"
Peale seda masin stardib. Ja järgmisena tuleb basic konf initsialiseerida. Küsitakse mitmeid küsimusi routeri hostname admin ja kasutaja parooli kohta SNMP ning võrgu seadistusest.
Minul peale seda tekkis selline konfig
The following configuration command script was created:
hostname Router enable secret 5 $1$VCFk$7345345kkqn93459xy./ enable password parool line vty 0 4 password parool snmp-server community public ! no ip routing ! interface Ethernet0 shutdown no ip address ! interface Ethernet1 shutdown no ip address ! interface Serial0 no shutdown no ip address ! end
Seadistusmode on
config t
interface Ethernet0 ip address 192.168.10.1 255.255.255.0 description v2liv2rk no shut exit
show ip interface brief
Router(config)#interface Ethernet1
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#ip nat inside
Router(config-if)#interface Ethernet0
Router(config-if)#ip nat outside
Router(config-if)#ip default-gateway 193.40.0.129
Router(config)#ip nat inside source list 1 interface Ethernet0 overload
Lingid
Cisco IOS on väga võimalusterohke operatsioonisüsteem. Sellekohta on cisco andnud välja väga ohtralt ametlikku materjali. Neid siin äratooma ei hakka pigem mõned alternatiivsed viited.
http://www.pimpmynetwork.org/basic_cisco
http://www.fantek.org/cisco/wpbascom.htm
http://www.velocityreviews.com/forums/t41103-basic-cisco-switch-tutorial.html
http://geek.pandemonium.de/2005/07/09/dhcp-server-on-a-cisco-1605/
http://www.dslreports.com/faq/11037