Cisco Router Configuration - Leased line no NAT

The following config can be used for configuring a Cisco router for connection to altohiway with NO Network Address Translation.

You need to change the following values:-

  • HostName -> Something which relates to the customer
  • LocalIP -> Should be changed to the ethernet IP the router is to be on
  • LocalNetmask -> Should be changed to the netmask of the local network
  • LocalNet -> Should be the local network number
  • HiwayIP -> Should be changed to the IP address the s0 interface is to sit on
  • LocalNet -> Should be changed to the IP address the s0 interface is to sit on
  • LocalMail -> Should be changed to the IP address of the local mailserver

    !
    version 12.0
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname Hostname-1600
    !
    enable password myadminpass
    !
    ip subnet-zero
    ip domain-list hiway.co.uk
    ip domain-name hiway.co.uk
    ip name-server 195.12.4.247
    !
    !
    interface Ethernet0
    ip address LocalIP LocalNetmask
    no ip directed-broadcast
    no shutdown
    !
    interface Serial0
    ip address HiwayIP 255.255.255.252
    no ip directed-broadcast
    no shutdown
    !
    ip classless
    ip route 0.0.0.0 0.0.0.0 serial0
    !
    access-list 1 permit LocalNet 0.0.0.255
    !
    access-list 12 permit [ManagementIP]
    access-list 12 permit LocalNet 0.0.0.255
    !
    access-list 102 permit tcp any any eq www
    access-list 102 permit tcp any any eq ftp-data
    access-list 102 permit tcp any any eq ftp
    access-list 102 permit icmp any any
    !
    line con 0
    transport input none
    line 1
    line vty 0 4
    access-class 12 in
    password mylevelpass
    login
    !
    end


www.opal.co.uk