Options

Can't setup internet on cisco 2610 router

waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
hello all, need you help setting up internet

when i put ip dhcp in global mode my router does not pick up any addresss i tried to enter manually but still not luck can any one help me???? I Simply want to ping public DNS 4.2.2.2 right and its not doing it...

Current configuration : 853 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
ip cef
!
!
!
!
!
!
!
!
interface Ethernet0/0
description WAN to R3e0/0
ip address dhcp
half-duplex
!
interface Serial0/0
ip address 192.168.4.1 255.255.255.0
clock rate 2000000
!
router ospf 1
log-adjacency-changes
network 192.168.4.0 0.0.0.255 area 0
!
ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 76.186.32.1
!
!
banner motd ^C
*************************************
THIS IS ROUTER3 FOR PRIVATE NETWORK!!
*************************************


^C
!
line con 0
exec-timeout 0 0
password cisco
login
line aux 0
line vty 0 4
exec-timeout 0 0
password cisco
login
line vty 5 15
exec-timeout 0 0
password cisco
login
!
!
end

Comments

  • Options
    bbarrickbbarrick Member Posts: 242 ■■■□□□□□□□
    Don't you need to configure the ip helper-address command to tell the router where to pull the addresses from?

    Or are you trying to set up the router as the DHCP server?
  • Options
    DCDDCD Member Posts: 473 ■■■■□□□□□□
    First thing is Change E0/0 to full duplex second who is your provider? Third you may what to add a little more to your banner statement.


    One more thing if you can edit your post you should pull out the IP route information.
  • Options
    waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    First of all thx for reply... I'm getting frustrated setting this lab.. I'm not making router DNS server... can you give me information on ip helper command.. I'm following cbt nuggets video.
  • Options
    bbarrickbbarrick Member Posts: 242 ■■■□□□□□□□
    First of all thx for reply... I'm getting frustrated setting this lab.. I'm not making router DNS server... can you give me information on ip helper command.. I'm following cbt nuggets video.

    ip helper-address (address) from what I understand, I'm just now studying this, will forward all DHCP requests to the IP address where the DHCP server resides. So the requests go out to I think it's 255.255.255.255 when the router get's that frame it routes it to the address that services DHCP requests.
  • Options
    waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    hey bro still no luck man below is my new configuration

    R2#show ip int b
    Interface IP-Address OK? Method Status Protocol
    Ethernet0/0 76.186.40.175 YES manual up up
    Serial0/0 192.168.2.2 YES manual up up
    R2#ping 76.186.32.1


    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 76.186.32.1, timeout is 2 seconds:
    .....
    Success rate is 0 percent (0/5)
    R2#show run
    Building configuration...


    Current configuration : 1037 bytes
    !
    version 12.3
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    !
    hostname R2
    !
    boot-start-marker
    boot system flash:c2600-i-mz.123-26.bin
    boot-end-marker
    !
    enable secret 5 $1$INQB$sAr21fiITOsoZTfJit.CV1
    !
    no aaa new-model
    ip subnet-zero
    ip cef
    !
    !
    !
    ip audit po max-events 100
    !
    !
    !
    !
    !
    interface Ethernet0/0
    ip address 76.186.40.175 255.255.224.0
    ip helper-address 76.186.40.175
    full-duplex
    !
    interface Serial0/0
    ip address 192.168.2.2 255.255.255.0
    !
    router ospf 1
    log-adjacency-changes
    network 192.168.2.0 0.0.0.255 area 0
    !
    ip http server
    ip classless
    ip route 0.0.0.0 0.0.0.0 76.186.32.1
    !
    !
    banner motd ^C
    ***************************************
    THIS IS ROUTER 2 or PRIVATE NETWORK
    ***************************************






    ^C
    !
    line con 0
    exec-timeout 0 0
    password 7 110A1016141D
    login
    line aux 0
    password 7 070C285F4D06
    login
    line vty 0 4
    exec-timeout 0 0
    password 7 070C285F4D06
    login
    line vty 5 15
    exec-timeout 0 0
    password 7 045802150C2E
    login
    !
    !
    end
  • Options
    waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    still no luck man getting dhcp ip address on my router any help would be appreciated


    R2#show ip int b
    Interface IP-Address OK? Method Status Protocol
    Ethernet0/0 76.186.40.175 YES manual up up
    Serial0/0 192.168.2.2 YES manual up up
    R2#ping 76.186.32.1


    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 76.186.32.1, timeout is 2 seconds:
    .....
    Success rate is 0 percent (0/5)
    R2#show run
    Building configuration...


    Current configuration : 1037 bytes
    !
    version 12.3
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    !
    hostname R2
    !
    boot-start-marker
    boot system flash:c2600-i-mz.123-26.bin
    boot-end-marker
    !
    enable secret 5 $1$INQB$sAr21fiITOsoZTfJit.CV1
    !
    no aaa new-model
    ip subnet-zero
    ip cef
    !
    !
    !
    ip audit po max-events 100
    !
    !
    !
    !
    !
    interface Ethernet0/0
    ip address 76.186.40.175 255.255.224.0
    ip helper-address 76.186.40.175
    full-duplex
    !
    interface Serial0/0
    ip address 192.168.2.2 255.255.255.0
    !
    router ospf 1
    log-adjacency-changes
    network 192.168.2.0 0.0.0.255 area 0
    !
    ip http server
    ip classless
    ip route 0.0.0.0 0.0.0.0 76.186.32.1
    !
    !
    banner motd ^C
    ***************************************
    THIS IS ROUTER 2 or PRIVATE NETWORK
    ***************************************






    ^C
    !
    line con 0
    exec-timeout 0 0
    password 7 110A1016141D
    login
    line aux 0
    password 7 070C285F4D06
    login
    line vty 0 4
    exec-timeout 0 0
    password 7 070C285F4D06
    login
    line vty 5 15
    exec-timeout 0 0
    password 7 045802150C2E
    login
    !
    !
    end
  • Options
    NetworkVeteranNetworkVeteran Member Posts: 2,338 ■■■■■■■■□□
    my router does not pick up any addresss

    Woah, woah! Your configuration doesn't make any sense given your goal.
    interface Ethernet0/0
    ip address 76.186.40.175 255.255.224.0
    ip helper-address 76.186.40.175
    full-duplex

    Remove all the above. Ensure E0/0 is connected to your ISP. Then replace E0/0's configuration with the following--
    NV config wrote:
    Interface Ethernet0/0
    ip address dhcp
    no shutdown

    Now the interface should be up. Do "show ip int br e0/0".

    Also, the router should be able to receive an IP address and also to ping whatever Internet server you like. If not, run "debug dhcp". It should look something like the below. Hopefully, your DHCPDiscover will yield a response!
    *Mar 1 01:07:17.571: DHCP: allocate request
    *Mar 1 01:07:17.571: DHCP: new entry. add to queue, interface FastEthernet0/1
    *Mar 1 01:07:17.571: DHCP: SDiscover attempt # 1 for entry:
    *Mar 1 01:07:17.575: DHCP: SDiscover: sending 291 byte length DHCP packet
    *Mar 1 01:07:17.575: DHCP: SDiscover 291 bytes
    *Mar 1 01:07:17.575: B'cast on FastEthernet0/1 interface from 0.0.0.0

    If you hit any problems, copy and paste your output to the thread.
  • Options
    NetworkVeteranNetworkVeteran Member Posts: 2,338 ■■■■■■■■□□
    bbarrick wrote: »
    Don't you need to configure the ip helper-address command to tell the router where to pull the addresses from?
    If his device is acting as a DHCPClient, he should be broadcasting to obtain an address. It's actually the ISP's router that will act as a DHCP Relay Agent (if necessary) and configure "ip helper-address" to relay his broadcasts to their DHCPServer.
  • Options
    bbarrickbbarrick Member Posts: 242 ■■■□□□□□□□
    Ahh, so ip address dhcp is telling Ethernet0/0 to broadcast out to get it's own ip?
  • Options
    NetworkVeteranNetworkVeteran Member Posts: 2,338 ■■■■■■■■□□
    bbarrick wrote: »
    Ahh, so ip address dhcp is telling Ethernet0/0 to broadcast out to get it's own ip?

    Yup! :)
  • Options
    waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    Woah, woah! Your configuration doesn't make any sense given your goal.



    Remove all the above. Ensure E0/0 is connected to your ISP. Then replace E0/0's configuration with the following--



    Now the interface should be up. Do "show ip int br e0/0".

    Also, the router should be able to receive an IP address and also to ping whatever Internet server you like. If not, run "debug dhcp". It should look something like the below. Hopefully, your DHCPDiscover will yield a response!



    If you hit any problems, copy and paste your output to the thread.


    hey bro same problem... i did ip address dhcp and did debug dhcp but did not got any status

    below is my running config





    R2#show ip int b
    Interface IP-Address OK? Method Status Protocol
    Ethernet0/0 unassigned YES DHCP up up
    Serial0/0 192.168.2.2 YES manual up up
    R2#show run
    Building configuration...


    Current configuration : 1002 bytes
    !
    version 12.3
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    !
    hostname R2
    !
    boot-start-marker
    boot system flash:c2600-i-mz.123-26.bin
    boot-end-marker
    !
    enable secret 5 $1$INQB$sAr21fiITOsoZTfJit.CV1
    !
    no aaa new-model
    ip subnet-zero
    ip cef
    !
    !
    !
    ip audit po max-events 100
    !
    !
    !
    !
    !
    interface Ethernet0/0
    ip address dhcp
    full-duplex
    !
    interface Serial0/0
    ip address 192.168.2.2 255.255.255.0
    !
    router ospf 1
    log-adjacency-changes
    network 192.168.2.0 0.0.0.255 area 0
    !
    ip http server
    ip classless
    ip route 0.0.0.0 0.0.0.0 76.186.32.1
    !
    !

    i have attached the image which show my ip address when i hook my modem direct to pc...

    need help to get this lab going?
  • Options
    gregorio323gregorio323 Member Posts: 201 ■■■□□□□□□□
    In the debug you did not see any DHCP request go out ? this is a 2610 right? which has a 10Baste-T port.
  • Options
    waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    In the debug you did not see any DHCP request go out ? set the duplex to auto. this is a 2610 right? which has a 10Baste-T port.

    yes its 2610 and thats wht i get



    DHCP client activity debugging is on
    R2#debug dhcp ?
    detail DHCP packet content
    <cr>


    R2#debug dhcp detail
    R2#debug dhcp detail
    DHCP client activity debugging is on (detailed)

    i didnt get any status? do you know the reasons ?
  • Options
    gregorio323gregorio323 Member Posts: 201 ■■■□□□□□□□
    You may want to see if the MAC is locked to your PC. Maybe try to statically configure the MAC address on the interface and that should work.
    try this

    interface ethernet0/0
    ip address dhcp
    mac-address 001b.fc51.f604
    no shut
  • Options
    waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    You may want to see if the MAC is locked to your PC. Maybe try to statically configure the MAC address on the interface and that should work.
    try this

    interface ethernet0/0
    ip address dhcp
    mac-address 001b.fc51.f604
    no shut


    omg thxxxxxxxxxxxxx bunchhhhhhhhhhhhhh alottttttttttt........... i can ping 4.2.2.2 you are a life saver how can i thank you enough times... finally i can start to practice now...

    btw how do you find mac-address table on router ?

    i did show and then ? but i didnt any optinf or mac address table


    once again thxxxxx alot...........
  • Options
    pamccabepamccabe Member Posts: 315 ■■■□□□□□□□
    You might need to be in enable mode to view the mac-address-table with the show command.
  • Options
    DCDDCD Member Posts: 473 ■■■■□□□□□□
    You may want to see if the MAC is locked to your PC. Maybe try to statically configure the MAC address on the interface and that should work.
    try this

    interface ethernet0/0
    ip address dhcp
    mac-address 001b.fc51.f604
    no shut

    My ISP provider locks theirs for an unknown time period as well I had to do that when I had my router connected to my ISP.
  • Options
    waqarsarwarwaqarsarwar Member Posts: 33 ■■□□□□□□□□
    DCD wrote: »
    My ISP provider locks theirs for an unknown time period as well I had to do that when I had my router connected to my ISP.


    will this have any effect when i setup NAT ? bcz my NAT is not working
    here is my config


    ip address dhcp
    ip nat outside
    half-duplex
    !
    interface Serial0/0
    ip address 192.168.2.2 255.255.255.0
    ip nat inside
    !
    router eigrp 10
    network 192.168.0.0 0.0.255.255
    auto-summary
    !
    ip nat inside source list NAT_ADDRESSES interface Ethernet0/0 overload
    ip http server
    ip classless
    ip route 0.0.0.0 0.0.0.0 dhcp
    !
    !
    !
    ip access-list standard NAT_ADDRESSES
    permit 192.168.0.0 0.0.255.255
    banner motd ^C


    my routes


    R2#show ip route
    Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
    D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
    N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
    E1 - OSPF external type 1, E2 - OSPF external type 2
    i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
    ia - IS-IS inter area, * - candidate default, U - per-user static route
    o - ODR, P - periodic downloaded static route


    Gateway of last resort is 76.186.32.1 to network 0.0.0.0


    142.254.0.0/32 is subnetted, 1 subnets
    S 142.254.131.129 [254/0] via 76.186.32.1, Ethernet0/0
    76.0.0.0/19 is subnetted, 1 subnets
    C 76.186.32.0 is directly connected, Ethernet0/0
    D 192.168.1.0/24 [90/2195456] via 192.168.2.1, 00:43:18, Serial0/0
    C 192.168.2.0/24 is directly connected, Serial0/0
    S* 0.0.0.0/0 [254/0] via 76.186.32.1

    here are some resultss



    R2#ping google.com
    Translating "google.com"...domain server (209.18.47.61) [OK]


    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 74.125.227.161, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 12/13/16 ms
    R2#

    my ip route

    R2#show ip int b
    Interface IP-Address OK? Method Status Protocol
    Ethernet0/0 76.186.57.53 YES DHCP up up
    Serial0/0 192.168.2.2 YES NVRAM up up

    my ping results to other routers

    R2#ping 192.168.1.2


    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
    R2#ping 192.168.1.1


    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/5 ms
  • Options
    DCDDCD Member Posts: 473 ■■■■□□□□□□
    You Nat is correct you just need a default route on your R1 router.
Sign In or Register to comment.