need help connecting

lildeezullildeezul Member Posts: 404
Ok i set my computer up with of 192.168.0.137 static ip address. and the subnetmask is 255.255.255.0 well if i change my subnetmask to 255.255.255.224 or anything other
than 255.255.255.0 i cannot connect to the internet. well what is the valid host that i can
assign my router so that i can be able to connect it ( ping it)

i did 192.168.0.138 255.255.255.0 but the ping failed. can anyone help me .

can i use that subnetmask with my router, what ip address with this subnetmask can
i use so that i can ping my comp
NHSCA National All-American Wrestler 135lb
«1

Comments

  • lildeezullildeezul Member Posts: 404
    i was thinking the valid host are 192.168.0.1- 192.168.0.254
    NHSCA National All-American Wrestler 135lb
  • EdTheLadEdTheLad Member Posts: 2,111 ■■■■□□□□□□
    The important thing you must consider is the ip address of the default gateway.You must be on the same logical subnet as the local default gateway to be able to access the internet.
    You are using an ip address 192.168.0.137 imagine the default-gateway is 192.168.0.1, if you use a mask 255.255.255.224 you are putting your pc in a different subnet than the gateway.The address
    192.168.0.137 255.255.255.224 can communicate with devices withthe following range
    192.168.0.129 -> 192.168.0.159, since the gateway is not within the subnet you cannot ping it.This is why you must be careful about what mask you use.
    Networking, sometimes i love it, mostly i hate it.Its all about the $$$$
  • lildeezullildeezul Member Posts: 404
    oh i see ok.. so my computer IP address has to be valid with the defualt gateway. i see

    but i set my router for 192.168.0.138 255.255.255.0 since there are 254 bits, no subnets, should it able to communicate. but it wont ping my nic for some reason


    is there anyway to change my defualt gateway??
    NHSCA National All-American Wrestler 135lb
  • EdTheLadEdTheLad Member Posts: 2,111 ■■■■□□□□□□
    Supply the information, router ip address and mask, pc ip address and mask.Subnets networks there all the same, you must have the devices in the appropriate ip address range to be able to communicate on a directly attached interface.
    Networking, sometimes i love it, mostly i hate it.Its all about the $$$$
  • vjsousavjsousa Member Posts: 24 ■□□□□□□□□□
    The default gateway is the router located on the same segment as your workstation. Does your computer have an ARP entry for the default gateway? To change the default gateway IP address, you need to do this from interface configuration mode on the router.
    Vinny
  • lildeezullildeezul Member Posts: 404
    m router Ip address is 192.168.0.138 and the subnet mask is 255.255.255.0

    my computers ip address is 192.168.0.137 and the subnetmask is 255.255.255.0

    my defualt gateway is 192.168.0.1


    and since the subnetmask 255.255.255.0 (/24) provides 254 host, then they are all in the same 1 subnet, and should be able to talk to each other. my for some reason my router cant ping my NIC
    NHSCA National All-American Wrestler 135lb
  • lildeezullildeezul Member Posts: 404
    take a look at this 2611_D>sh interface
    Ethernet0/0 is up, line protocol is up
    Hardware is AmdP2, address is 0002.169c.1c60 (bia 0002.169c.1c60)
    Description: connected to LAN1
    Internet address is 192.168.0.138/24
    MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
    reliablility 137/255, txload 1/255, rxload 1/255
    Encapsulation ARPA, loopback not set
    Keepalive set (10 sec)
    ARP type: ARPA, ARP Timeout 04:00:00
    Last input 00:00:05, output 00:00:08, output hang never
    Last clearing of "show interface" counters never
    Queueing strategy: fifo
    Output queue 0/40, 0 drops; input queue 0/75, 0 drops
    5 minute input rate 1000 bits/sec, 1 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    144 packets input, 15646 bytes, 0 no buffer
    Received 142 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
    0 input packets with dribble condition detected
    11203 packets output, 682802 bytes, 0 underruns
    11074 output errors, 0 collisions, 5 interface resets
    0 babbles, 0 late collision, 0 deferred
    11074 lost carrier, 0 no carrier
    --More--



    and look. I can ping from my NIC to router but i cant ping from Router to NIC
    look...

    611_D>ping 192.168.0.137

    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.0.137, timeout is 2 seconds:
    .....
    Success rate is 0 percent (0/5)




    C:\Documents and Settings\Parish Powell>ping 192.168.0.138

    Pinging 192.168.0.138 with 32 bytes of data:

    Reply from 192.168.0.138: bytes=32 time=7ms TTL=255
    Reply from 192.168.0.138: bytes=32 time=4ms TTL=255
    Reply from 192.168.0.138: bytes=32 time=2ms TTL=255
    Reply from 192.168.0.138: bytes=32 time=3ms TTL=255

    Ping statistics for 192.168.0.138:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 2ms, Maximum = 7ms, Average = 4ms




    you see i can ping my router from the comp, but i cant ping my router from my computer[/b]
    NHSCA National All-American Wrestler 135lb
  • vjsousavjsousa Member Posts: 24 ■□□□□□□□□□
    So, you cannot ping the computer from the router? You state the default gateway is 192.168.0.1, but the Ethernet Interface is assigned 192.168.0.138. The router is your default gateway.
    Vinny
  • vjsousavjsousa Member Posts: 24 ■□□□□□□□□□
    This IP 192.168.0.138 assigned to E0/0 is your default gateway.
    Vinny
  • vjsousavjsousa Member Posts: 24 ■□□□□□□□□□
    Which interface is using this IP address 192.168.0.1? You need to check the configuration.
    Vinny
  • mikej412mikej412 Member Posts: 10,086 ■■■■■■■■■■
    The obvious question -- do you have firewall software on the PC?


    Are you still connected back-to-back with a cross-over cable? Or are you now using straight through cables and a switch of some type?

    If you are back-to-back, the gateway doesn't matter, since you have no one else to talk too anyway.

    If you can ping from the PC to the router, but not the router to the PC.... are you sure about the PCs IP address?

    Post the ipconfig from the PC

    And ping the broadcast address for your network 192.168.0.255 -- and do a
    show arp
    and post that.

    If you don't have the address on the PC wrong, and you see the resolution of you PCs IP to the MAC address..... then possibly a firewall issue on the PC.
    :mike: Cisco Certifications -- Collect the Entire Set!
  • lildeezullildeezul Member Posts: 404
    Heres the Ipconfig.

    Ethernet adapter Local Area Connection:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Network of Xircom CreditCard Etherne
    t 10/100 + Modem 56
    Physical Address. . . . . . . . . : 00-10-A4-B6-86-39
    Dhcp Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 192.168.0.137
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.0.1
    DNS Servers . . . . . . . . . . . : 24.25.5.150
    24.25.5.149
    2611_D>sh arp
    Protocol Address Age (min) Hardware Addr Type Interface
    Internet 192.168.0.138 - 0002.169c.1c60 ARPA Ethernet0/0
    NHSCA National All-American Wrestler 135lb
  • lildeezullildeezul Member Posts: 404
    OK this is what im tryin to do.


    my computer Ip address and subnetmask can to be valid with the default gateway so it can communicate. Im tryin to set my router on the same valid network with the computer, that way i can ping the router, and after that i can plug in the INternet cable, and access it without reconfiguring the Ip address.

    That is the big question! how can i access the internet statically, and ping the router, w/o changing ip address.


    and i got both of them valid, so im wondering y it wont ping
    NHSCA National All-American Wrestler 135lb
  • larkspurlarkspur Member Posts: 235
    This is much easier than it looks.

    please answer the following questions:

    what node is 192.168.0.137?

    what node is 192.168.0.138?

    what node is 192.168.0.1?

    what subnet masks are you using for:

    node 192.168.0.137?

    node 192.168.0.138?

    node 192.168.0.1?

    what does your topology look like ?


    Also verify what mikj412 asked

    The obvious question -- do you have firewall software on the PC?
    just trying to keep it all in perspective!
  • lildeezullildeezul Member Posts: 404
    laptop - 192.168.0.137
    router ethernet 0/0 - 192.168.0.138
    latop subnetmask - 255.255.255.0
    router subnetmask - 255.255.255.0



    in windows xp under network connection , then under TCP/IP properties the defualt gateway
    says 192.168.0.1 ( this is where i can gettin my defualt gateway)


    in order for me to access the internet my computer Ip address must be valid with 192.168.0.1
    NHSCA National All-American Wrestler 135lb
  • mikej412mikej412 Member Posts: 10,086 ■■■■■■■■■■
    lildeezul wrote:
    in order for me to access the internet my computer Ip address must be valid with 192.168.0.1
    So this means you are no longer "back-to-back" with a cross-over cable?

    You haven't told us the new topology.

    You haven't told us what the 192.168.0.1 device is -- a broadband/cable/dsl router?

    And you haven't told us if you have firewall software on your PC which may have prevented the PC from responding to the router pings.

    Can the PC ping the gateway? Can the router ping the gateway?
    :mike: Cisco Certifications -- Collect the Entire Set!
  • lildeezullildeezul Member Posts: 404
    yes it is a back to back connection w/ a cross over cable,


    the 192.168.0.1 is a cable router.

    no i have no firewall other than windows firewall.

    the PC can ping the defualt gateway but my router cant.
    NHSCA National All-American Wrestler 135lb
  • lildeezullildeezul Member Posts: 404
    i connect my pc to my cable router to connect to the internet.

    and then i use a different cable to connect the router to the pc.
    my pc can ping my defualt gateway but my cisco router cant.

    when i connected my cable router to my cisco router using a patch cable i could
    connect to my default gateway 80 % ping. so i guess if i use a crossover cable to connec the
    router to my defualt gateway ill get 100 percent. I make a diagram.


    so this is what im thinking will work.

    connect my cisco router interface 0/1 to my cable routers port.
    and my computer to my cable routers port. and connect my cisco router
    etherner 0/0 to my computer

    then ill think i can ping
    NHSCA National All-American Wrestler 135lb
  • mikej412mikej412 Member Posts: 10,086 ■■■■■■■■■■
    Which topology is it?
    CableRouter------e0/1-2611-e0/0------PC
    

    or
    192.168.0.138                      192.168.0.1            192.168.0.137
           2611-------------CableRouterWithSwitchPorts?-----------PC
                                           |
                                           |
                                        internet
    
    
    :mike: Cisco Certifications -- Collect the Entire Set!
  • lildeezullildeezul Member Posts: 404
    ok
    Internet
    l
    l
    192.168.0.137 (pc)
    Cable Router
    192.168.0.1
    l
    l
    l
    l
    l
    l
    l
    l
    192.168.0.138 ( cisco Router)

    (ethernet 0/0)




    All i have connected it my cable router to my pc ( when i want to access the internet)

    and i switch off from PC- to Cisco router, ethernet 0/0 ( when wanting to connect
    cisco to Pc)

    this is what im tryin to do ....... I am trying to setup my cable Router , Cisco router, my
    Pc on the same network so they can communicate. im am tryin
    to do this becuase, i want to be able to acceess the internet one minute, and then just change the cable so that the Cisco router and Pc is hooked up. and be able to communicate with each other. WITHOUT having me change the Ip address everytime.



    Wat i was thinking is this........ Have my Cable router connected to my Cisco router's ethernet 0/1 and have my Pc connected to another port of the CAble router. and when im not using the
    internet, have my Cisco router ethernet 0/0 to my PC.. that way my cisco router is connected with the defualt gateway, my comp is connected to the defualt gateway, and my Cisco router is connected to my computer. And if i assign those ip correctly, (255.255.255.0) then i should be able to access the internet, then access my cisco router without changine configurations.

    would this work?
    NHSCA National All-American Wrestler 135lb
  • vjsousavjsousa Member Posts: 24 ■□□□□□□□□□
    Your lab setup is very confusing. It seems to me that you don't understand on how to properly configure the network. If I were you, I would start from scratch and do one thing at a time. First setup your cisco network and test that out. Confirm connectivity using ping from your host to all interfaces. Than you can try the Internet connection.
    Vinny
  • vjsousavjsousa Member Posts: 24 ■□□□□□□□□□
    Test this out. It is hard to tell you if this will work if you don't test it out first.
    Vinny
  • lildeezullildeezul Member Posts: 404
    oops internet supposed to be over cable router ( 192.168.0.1)
    NHSCA National All-American Wrestler 135lb
  • mikej412mikej412 Member Posts: 10,086 ■■■■■■■■■■
    lildeezul wrote:
    this is what im tryin to do ....... I am trying to setup my cable Router , Cisco router, my
    Pc on the same network so they can communicate. im am tryin
    to do this becuase, i want to be able to acceess the internet one minute, and then just change the cable so that the Cisco router and Pc is hooked up. and be able to communicate with each other. WITHOUT having me change the Ip address everytime.
    So swapping cables....
    
    one minutes you're
    
    CableRouter------------------------PC
    192.168.0.1                      192.168.0.137
    
    Then you want swap cables -- the cross-over cable from the 2611 to the PC
    
    2611xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxPC
    192.168.0.138                    192.168.0.137
    

    It sounds like you had that -- you could ping from the PC to the router.

    The not being able to ping from the router to the PC is probably because of the firewall on the PC. You should be able to configure your router for telnet access and try to telnet to it from the PC when you are connected to it by the cross-over cable.
    lildeezul wrote:
    Have my Cable router connected to my Cisco router's ethernet 0/1 and have my Pc connected to another port of the CAble router.
    So does that Cable Router have multiple built in switch ports? It sounds like this topology that I already posted and asked you about
    192.168.0.138                      192.168.0.1            192.168.0.137
           2611-------------CableRouterWithSwitchPorts?-----------PC
                                           |
                                           |
                                        internet
    
    
    If that's that case -- you don't need to swap cables. Configure the 2611 for telnet access, and build the rest of your lab off the 2nd ethernet port of the 2611.
    :mike: Cisco Certifications -- Collect the Entire Set!
  • lildeezullildeezul Member Posts: 404
    ok t hanks mike i will try that
    NHSCA National All-American Wrestler 135lb
  • lildeezullildeezul Member Posts: 404
    see this is what i dont get.

    i have a cross over cable just from my ethernet 0/0 to my NIC, and i gave the ethernet 192.168.0.36 255.255.255.224, and my computer 192.168.0.35 255.255.255.224


    i can ping my router by my rotuer cant ping me. my nic can ping the loopback, and its Ip address.

    my router can ping its ip address, but it cant ping its loopback.

    i have no firewall installed on my pc besides windows xp firewall
    NHSCA National All-American Wrestler 135lb
  • dtlokeedtlokee Member Posts: 2,378 ■■■■□□□□□□
    Windows XP firewall will drop all icmp echo requests (ping). Turn it off and see what happens
    The only easy day was yesterday!
  • lildeezullildeezul Member Posts: 404
    yep it worked. but what about my sercuity???
    NHSCA National All-American Wrestler 135lb
  • r_durantr_durant Member Posts: 486 ■■■□□□□□□□
    You can turn the XP firewall back on, but allow pings...but since pings are basically for troubleshooting and you know now that you can communicate, you can just turn the firewall back on and turn it off when you are troubleshooting again...
    CCNA (Expired...), MCSE, CWNA, BSc Computer Science
    Working on renewing CCNA!
  • NetstudentNetstudent Member Posts: 1,693 ■■■□□□□□□□
    Go to the Advanced tab of your XP firewall to configure ICMP exceptions. If you turn your firewall off, make sure you disconnect from the internet.
    There is no place like 127.0.0.1 BUT 209.62.5.3 is my 127.0.0.1 away from 127.0.0.1!
Sign In or Register to comment.