Announcement

Collapse
No announcement yet.

Reaching a Router through Subnet

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reaching a Router through Subnet

    My group and I have two PCs which are connected to a Cisco router. One of these PCs (PC#1) is connected directly to the Ethernet0 port on the router (Port has an IP of 192.168.17.10). The other PC (PC#2) is connected to a 10.1.1.x subnet (default gateway is 10.1.1.1) and then the Ethernet1 port on the router (Port has IP of 10.1.1.13) is connected into this subnet as well. PC#2 has Internet access through the subnet which it is connected to.

    We’ve added a route on the first PC to connect it with the Ethernet0 port. We can now ping 10.1.1.13 from PC#1 and receive a reply. However, we cannot use PC#2 to ping Ethernet0 (192.168.17.10). We know that there needs to be a route added to PC#2 in order to have it communicate with Ethernet1 before we can ping Ethernet0, but none of the routes we have tried to add have worked. We need to add a route that will not break the default gateway on PC#2 since we need to be able to have/share that Internet access with the 192.168.17.x ‘subnet’.

    Routes We’ve Tried:
    route add 10.1.1.13 MASK 255.255.255.255 10.1.1.1
    route add 10.1.1.13 MASK 255.255.255.255 10.1.1.17 (PC#2)
    route add 10.1.1.0 MASK 255.255.255.0 10.1.1.13
    + Many more, yet none of them seem to work.

    I really think we’re missing something PAINFULLY simple, but we’re all extremely new to Networking and this exercise is really killing us.

  • #2
    Re: Reaching a Router through Subnet

    Whitney,

    You want to be able to ping 192.168.17.10 from PC #2, is that correct? If that is the case, and PC#2 has a 10.1.1.x IP address, the route statement you need on PC#2 is:

    route add 192.168.17.10 mask 255.255.255.255 10.1.1.13

    This tells PC#2 that to find the 192.168.17.10 host, it needs to send the packet to 10.1.1.13. Once it gets there, the cisco router at 10.1.1.33 knows where to send the packets since 192.168.17.10 is a directly connected network.

    Comment

    Working...
    X