Hi all,
I apologise if this is a BIG question but I am quite lost with the Cisco IOS. I know what I want to achieve just not how to do it :(
I have a Cisco 877W router with 4 FastEthernet interfaces, 1 ATM interface and 1 802.11 Radio. I want to set it up for a small network and am trying to construct a configuration below. I was using Google to try and flesh it out but I think I need help and guidance from actual experts!
If it helps, output from show ver says Cisco IOS software, C870 software (C870-ADVSECURITYK9-M), version 12.4(4)T7, release software (fc1)
ROM: System bootstrap, version 12.3(8r)YI4, release software
Here's what I have so far, which hopefully outlines clearly enough what I am wanting to do. The bits in angle brackets are placeholders (eg the secret password).
!
! Set router hostname
!
hostname Shazam
!
! Set usernames and passwords
!
username david privilege 15 secret 0 <PASSWORD>
enable secret <SECRETPASSWORD>
!
! Configure SSH and telnet access
!
line vty 0 4
privilege level 15
login local
transport input telnet ssh
!
! Local logging
!
logging buffered 51200 warning
!
! Set date and time for NSW, Australia (GMT +10h)
!
!
! Set router IP address to 192.168.1.1 on FastEthernet0 port
!
interface FastEthernet0
ip address 192.168.1.1 255.255.255.0
no shut
ip nat inside
!
! Forward any unknown DNS requests to Google
!
ip dns server
ip name-server 8.8.8.8
ip name-server 8.8.4.4
!
! Set up DHCP
! DHCP pool covers 192.168.1.100 - .199
! Set gateway and DNS server to be the router, ie 192.168.1.1
!
service dhcp
ip routing
ip dhcp excluded-address 192.168.1.1 192.168.1.99
ip dhcp excluded-address 192.168.1.200 192.168.1.255
ip dhcp pool <DHCPPOOLNAME>
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 192.168.1.1
lease 7
!
! DHCP reservations
!
! Assign IP address 192.168.1.105 to MAC address 00-21-5D-2F-58-04
!
! Configure ADSL2 connection details
!
interface atm
dsl operating-mode adsl2+
!
! Set up NAT rules
!
! Forward port 35394 to 192.168.1.105
!
! Set up WiFi
!
! SSID visible, WPA2 security, Pre-shared key
I'm hoping most of this is boiler-plate stuff to you guys. I'm keen to not just get a working script but to actually understand it also. Unfortunately, I'm finding the Cisco reference material online very complex.
Thank you!