cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2235
Views
0
Helpful
17
Replies

unable to connect to internet cisco 2911

paulbrosef
Level 1
Level 1

I was at one point able to with it with a DHCP.  I was jumping up and down for joy.  Now I'm back in the trenches, on a battle field hurtling grenades.

 

I need to set up a static IP address on a computer.  Lets go with 192.168.41.29 netmask 255.255.255.0, gateway 192.168.41.1

I need to connect it into g0/2

I need g0/0 overloaded with 192.168.41.x so that I can ping the internet.  The current configuration is below... please help.

 

 

version 15.2

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname xx

!

boot-start-marker

boot-end-marker

!

!

enable secret 5 xx

!

no aaa new-model

memory-size iomem 25

!

no ipv6 cef

!

!         

!

!         

!

ip name-server 68.105.28.16

ip name-server 68.105.29.16

ip cef    

multilink bundle-name authenticated

!         

!

crypto pki token default removal timeout 0

!

!         

license udi pid CISCO2911/K9 sn FTX1648AKVJ

license accept end user agreement

license boot module c2900 technology-package datak9

!         

!

!         

redundancy

!         

!

!         

!

!         

!

interface Embedded-Service-Engine0/0

 no ip address

 shutdown 

!

interface GigabitEthernet0/0

 description WAN TO INTERNET

 

 ip address x.x.62.166 255.255.255.248

 ip nat outside

 ip virtual-reassembly in

 duplex auto

 speed auto

!

interface GigabitEthernet0/1

 description LAN TO INTRANET

 ip address 192.168.42.1 255.255.255.0

 ip nat inside

 ip virtual-reassembly in

 duplex auto

 speed auto

!

interface GigabitEthernet0/2

 description WIRELESS TO FIBER 

 ip address 192.168.41.1 255.255.255.0

 ip nat inside

 ip virtual-reassembly in

 duplex auto

 speed auto

!

!         

ip default-gateway x.x.62.161

ip forward-protocol nd

!

no ip http server

no ip http secure-server

!         

no ip nat service sip udp port 5060

ip nat inside source list 1 interface GigabitEthernet0/0 overload

ip nat inside source list 23 interface GigabitEthernet0/0 overload

ip route 0.0.0.0 0.0.0.0 x.x.62.161

!

access-list 1 permit 192.168.41.0 0.0.0.255

access-list 23 permit 192.168.42.0 0.0.0.255

!         

!

!         

!

!         

!

control-plane

!

!         

!

line con 0

 password xx

 login    

line aux 0

 password xx

 login

 

line 2    

 no activation-character

 no exec  

 transport preferred none

 transport input all

 transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh

 stopbits 1

line vty 0 4

 password pass123

 login

 transport input all

!

scheduler allocate 20000 1000

end

17 Replies 17

It's certainly one of the scripting languages you can use to automate configuration changes

It really depends on the size of the company etc. as to how much automation they do but there are provisioning tools out there that can help.

Cisco also have management tools for this purpose as well.

If you need to make the same changes on multiple devices then automation can certainly help but there is still a surprising amount done at the CLI.

Once you get familiar with configuring devices it becomes a lot easier.

Jon

Well, I can now configure gigaports in my sleep, got 10 pages open of configuration steps with "live deployment" and "test deployment" config steps lined out in a copy-paste in terminal fashion.  So I think it did get easier.  Next test commences on lunch break for the voip.  After everything is said and done, I'll need to setup telnet and ssh.

Just to add, you should be able to use either use the router as a DHCP server for your clients or use DHCP for the WAN interface IP and still have it work if that is what you want to do.

You would need routing enabled for both.

Jon