10-27-2014 06:35 AM - edited 03-05-2019 12:02 AM
Hello,
As I am looking days already to find a good guide or manual... I cannot find how to install a WAN port on int g0/0..
Everything I try is not working. From things I've read I tried also not working sadly.
Is there anyone who has a good manual/tutorial on this?
Or can guide me through in a small step per step guide.
Kind Regards,
Sven
Solved! Go to Solution.
10-27-2014 07:04 AM
Can you post what you've done and what you're seeing happen? Technically, the only thing you would need for dhcp is:
int g0/0
ip address dhcp
HTH,
John
10-27-2014 10:43 AM
Yes it does...
At the # prompt
router# config t <enter>
10-27-2014 06:51 AM
Can you tell us a little more about the connection type that you're using? Is it an ethernet circuit, DSL, cable, etc?
10-27-2014 06:53 AM
My setup is:
Modem(DHCP included) to Cisco 1941
Thanks,
10-27-2014 07:04 AM
Can you post what you've done and what you're seeing happen? Technically, the only thing you would need for dhcp is:
int g0/0
ip address dhcp
HTH,
John
10-27-2014 07:29 AM
Hello John,
This works.. But I still don't have any internet connection. Limited acces:
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip cef
!
!
!
!
!
!
no ipv6 cef
multilink bundle-name authenticated
!
!
!
license udi pid CISCO1941/K9 sn FCZ18139130
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address dhcp
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 20.30.40.1 255.255.255.0
duplex auto
speed auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login
transport input all
!
scheduler allocate 20000 1000
!
end
I configured my pc in the range of 20.30.40.50
255.255.255.0
20.30.40.1
Thanks
10-27-2014 07:55 AM
You'll need to configure nat as well. For example:
access-list 100 permit ip 20.30.40.0 0.0.0.255 any
ip nat inside source list 100 interface g0/0 overload
You'll also need to specify a default route:
ip route 0.0.0.0 0.0.0.0 <whatever the gateway is that your ISP gave you>
You may already have a default route from DHCP. To check, do "show ip route 0.0.0.0" If you get something back, it should tell you what your next hop is. Or you can just do "show ip route" and look for the line that says "Last resort". That's your ISPs router....
10-27-2014 10:06 AM
Sorry for being an amateur. But this commands just go into the conf t modus?
Thanks in advance!
10-27-2014 10:43 AM
Yes it does...
At the # prompt
router# config t <enter>
10-27-2014 11:47 AM
Working like a charm now, thanks :)
10-27-2014 11:49 AM
You're welcome! I'm glad to hear it :)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide