Cisco Internet Gateway Router
Views:
Currently configured to allow access to and from our site and the internet. Status of the router and the JANET network as a whole can be viewed at http://portsmouth.netsight.ja.net/
Router Interfaces
Serial 0/0 ip address: 195.194.76.122 subnet mask: 255.255.255.252 Encapsulation: HDLC FastEthernet 0/0 ip address: 212.219.118.81 subnet mask: 255.255.255.240 General Default IP Route: 195.194.76.121
Config backup
Save copy and paste this in to a text file and save it as internet-gateway.config.
! version 12.2 service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname internetgw ! enable secret 5 $1$****$**************** ! ip subnet-zero no ip source-route ! ! ip domain-name varndean.ac.uk ip name-server 194.242.128.1 ip name-server 194.242.128.2 ip name-server 194.242.144.1 ! isdn switch-type basic-net3 isdn voice-call-failure 0 ! ! ! interface FastEthernet0/0 description Varndean ip address 212.219.118.81 255.255.255.240 no ip route-cache no ip mroute-cache duplex auto speed auto ! interface Serial0/0 description janet ip address 195.194.76.122 255.255.255.252 ip access-group 111 in ip access-group 112 out no ip route-cache no ip mroute-cache ! interface BRI0/0 no ip address no ip route-cache no ip mroute-cache shutdown isdn switch-type basic-net3 ! interface FastEthernet0/1 no ip address no ip route-cache no ip mroute-cache shutdown duplex auto speed auto ! ip classless ip route 0.0.0.0 0.0.0.0 195.194.76.121 no ip http server ip pim bidir-enable ! ! access-list 1 deny any access-list 111 deny ip 212.219.118.80 0.0.0.15 any access-list 111 deny ip 10.0.0.0 0.255.255.255 any access-list 111 deny ip 127.0.0.0 0.255.255.255 any access-list 111 deny ip 172.16.0.0 0.0.255.255 any access-list 111 deny ip 192.168.0.0 0.0.255.255 any access-list 111 permit icmp any host 195.194.76.122 echo access-list 111 deny ip any host 195.194.76.122 access-list 111 permit icmp any host 212.219.118.81 echo access-list 111 deny ip any host 212.219.118.81 access-list 111 permit ip any host 212.219.118.82 access-list 111 permit ip any host 212.219.118.83 access-list 111 permit ip any host 212.219.118.84 access-list 111 permit ip any host 212.219.118.85 access-list 111 permit ip any host 212.219.118.86 access-list 111 permit ip any host 212.219.118.87 access-list 111 permit ip any host 212.219.118.88 access-list 111 permit ip any host 212.219.118.89 access-list 111 permit ip any host 212.219.118.90 access-list 111 permit ip any host 212.219.118.91 access-list 111 permit ip any host 212.219.118.92 access-list 111 permit ip any host 212.219.118.93 access-list 111 permit ip any host 212.219.118.94 access-list 111 deny ip any any access-list 112 permit ip 212.219.118.80 0.0.0.15 any access-list 112 permit ip 195.194.76.122 0.0.0.0 any access-list 112 deny ip any any snmp-server community ************ RO snmp-server community ************ RW ! line con 0 line aux 0 line vty 0 4 access-class 1 in password 7 ************************** no login ! ! end
