Results 1 to 3 of 3

Thread: Simple Routing Issue

  1. #1

    Simple Routing Issue

    I am very comfortable in Linux but am having the hardest time setting up a simple network scheme. Basically, I have two PCs that are on different subnets. They are on the same switch but they cannot ping each other. Below are my current settings for both PCs.

    PC1 - 192.168.20.1, mask 255.255.255.192
    PC2 - 192.168.21.1, mask 255.255.255.192

    I chose the /26 subnet because I will be adding 2 more subnets to the switch eventually (ie. 192.168.22.1 and 192.168.23.1). Unfortunately, the network scheme was setup by a previous student so I can't change the IP addresses. I feel really dumb and would greatly appreciate any help and/or guidance!

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    you can't ping betwee them, because their individual IP segments dosn't allow the range they are scattered across.192.168.20.x and 192.168.21.y is too far from eachother than your /26 segment will cover.http://stackoverflow.com/questions/1...tmask-is-given for explanation
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

  3. #3
    Hi,
    any source address matching access-list 1 entering the inside interface will get translated to the IP address of the outside interface along with a port number so this is called NAT overload( many to one). So from the outside the source IP is the outside IP.

    sell car online

Similar Threads

  1. Routing two Subnets
    By lorddevi in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 07-10-2010, 08:19 PM
  2. routing problem
    By ehdlim in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 11-08-2005, 04:38 AM
  3. routing issue with wrt54g
    By Witchlight in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 08-16-2005, 12:25 PM
  4. Free NAT routing for...
    By mcdougrs in forum Linux - Hardware, Networking & Security
    Replies: 8
    Last Post: 09-22-2002, 05:04 PM
  5. routing question
    By in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 05-29-2002, 09:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •