From: Boryan Yotov <yotov@prosyst.com>
To: netfilter@lists.netfilter.org
Subject: Re: newbie at routing
Date: Thu, 08 Jun 2006 17:27:23 +0200 [thread overview]
Message-ID: <448841DB.50308@prosyst.com> (raw)
In-Reply-To: <BAY19-F1C1F1025A66D8C65190469E8B0@phx.gbl>
Diana Asnani wrote:
> Hi,
>
> its Diana again...after setting "route add -net 202.184.41.0/24 gw
> 192.168.202.14", i still could not ping 202.184.41.41 ( the PC )....i
> could ping the 202.184.41.0 add
> i also set the "route add -net 202.184.41.0/24 gw 192.168.206.1" but it
> says network unreachable....
>
Lets try to analyze what information regarding your network setup, you
gave till now (from all your e-Mails).
First e-Mail:
^^^^^^^^^^^^^^^
> I need help!! My VLAN IP is 192.168.202.1. I can ping another PC with the
> VLAN IP of 192.168.206.1 but i can't ping the 202.184.41.41 address in that
> PC. Am i supposed to do some sort of routing configuration? I am using FC3
> as my OS. What am i supposed to do to ping 202.184.41.41? Thanks
At least from my point of view, your network setup at this stage looks like:
1st PC 2nd PC
[192.168.202.1]<------------------------>[192.168.206.1 | 202.184.41.41]
You have two PCs:
- first one configured with an IP address of 192.168.202.1
- second one with two IP addresses - 192.168.206.1 and 202.184.41.41
You said packets are able to travel between end 192.168.202.1 and end
192.168.206.1. In order this to be able to work, both ends need to be
located on a same subnet (like 192.168.0.0/16) ... OR ... in two
different subnets, while both ends have an explicit routing entry for
reaching each other.
Second e-Mail:
^^^^^^^^^^^^^^^
> yup 202.184.41.41 is configured in the same PC as 192.168.206.1
> the subnet mask is 255.255.255.240
The new info is that either 202.184.41.41 or 192.168.206.1, is inside a
subnet with net mask 255.255.255.240:
So one of the subnets below sure exists:
202.184.41.32/255.255.255.240
192.168.206.0/255.255.255.240
Third e-Mail:
^^^^^^^^^^^^^^^
> thanks for the reply...the gateway for my 192.168.202.1 PC is 192.168.202.14
> which is the vlan router which enables me to ping the 192.168.206.1 vlan
> address...for the route in the network device control, the destination
> network is 192.168.206.0, the subnet mask 255.255.255.240 and the gateway as
> 192.168.202.14...this is what i have done so far...i am not too sure on how
> i should configure a default gateway ot static route...
Now, there is a new player in the picture - 1st PC's (probably default)
Gateway/router which has an IP address 192.168.202.14 and some kind of
link to 192.168.206.1.
1st PC 2nd PC
[192.168.202.1] [192.168.206.1 | 202.184.41.41]
| Gateway |
+---[192.168.202.14 | ???.???.???.???]---+
Good thing is that one of the subnets is clear now -
192.168.206.0/255.255.255.240
The bad thing - it is not clear how Gateway is able to route packets
from 192.168.202.1 to 192.168.206.1. Probably Gateway has a second
interface within the subnet of 192.168.206.1 ... OR ... both Gateway and
2nd PC are directly connected while using explicit routes?
Not clear is also what you mean by: "...for the route in the network
device control, the destination network is 192.168.206.0, the subnet
mask 255.255.255.240 and the gateway as 192.168.202.14...".
Fourth e-Mail:
^^^^^^^^^^^^^^^
> no, the VLANs are not connected to the same router...the vlan router for
> 192.168.206.1 is 192.168.206.14
> the router is Cisco...
Okey, it is getting worse. You are sure that 192.168.202.1 and
192.168.206.1 (what I understand by "the VLANs") are not connected to
the same router. The picture looks completely different now:
1st PC 2nd PC
[192.168.202.1] [192.168.206.1 | 202.184.41.41]
| Router 1 Router 2 |
+--[192.168.202.14] ?? [192.168.206.14]--+
My questions are: Is the last schema matching your network topology? If
true, how are Router 1 and Router 2 connected with each other? If not,
could you try to write a simple schema description as the ones from above?
next prev parent reply other threads:[~2006-06-08 15:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-08 10:18 newbie at routing Diana Asnani
2006-06-08 15:27 ` Boryan Yotov [this message]
2006-06-08 15:41 ` Cedric Blancher
2006-06-08 22:59 ` Diana Asnani
[not found] <4487FCDD.5070702@bernardi.net>
2006-06-08 10:51 ` Diana Asnani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=448841DB.50308@prosyst.com \
--to=yotov@prosyst.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.