All of lore.kernel.org
 help / color / mirror / Atom feed
* newbie at routing
@ 2006-06-08 10:18 Diana Asnani
  2006-06-08 15:27 ` Boryan Yotov
  0 siblings, 1 reply; 5+ messages in thread
From: Diana Asnani @ 2006-06-08 10:18 UTC (permalink / raw)
  To: netfilter

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....

_________________________________________________________________
Find love online with MSN Personals. 
http://match.msn.com.my/match/mt.cfm?pg=channel



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: newbie at routing
       [not found] <4487FCDD.5070702@bernardi.net>
@ 2006-06-08 10:51 ` Diana Asnani
  0 siblings, 0 replies; 5+ messages in thread
From: Diana Asnani @ 2006-06-08 10:51 UTC (permalink / raw)
  To: netfilter

Hi Matt,

yup... this was included in the /etc/sysctl.conf file in the 192.168.206.1 
PC:
net/ipv4/ip_forward = 1


>From: Matteo Cisilino <bdm@bernardi.net>
>To: Diana Asnani <sakal_woman@hotmail.com>
>Subject: Re: newbie at routing
>Date: Thu, 08 Jun 2006 12:33:01 +0200
>
>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....
>>
>>_________________________________________________________________
>>Find love online with MSN Personals. 
>>http://match.msn.com.my/match/mt.cfm?pg=channel
>>
>>
>Are you sure that 192.168.206.1 pc forwards the packates ? Even not do this 
>via root
>
>echo 1 > /proc/sys/net/ipv4/ip_forward
>
>to allow forwarding
>
>--
>Matto Cisilino
>
>http://wiki.alproject.org/index.php/Linux_Camp_2006
>
>

_________________________________________________________________
Get your mobile ringtones, operator logos and picture messages from MSN 
Mobile http://msn.smsfactory.no/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: newbie at routing
  2006-06-08 10:18 newbie at routing Diana Asnani
@ 2006-06-08 15:27 ` Boryan Yotov
  2006-06-08 15:41   ` Cedric Blancher
  2006-06-08 22:59   ` Diana Asnani
  0 siblings, 2 replies; 5+ messages in thread
From: Boryan Yotov @ 2006-06-08 15:27 UTC (permalink / raw)
  To: netfilter

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?







^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: newbie at routing
  2006-06-08 15:27 ` Boryan Yotov
@ 2006-06-08 15:41   ` Cedric Blancher
  2006-06-08 22:59   ` Diana Asnani
  1 sibling, 0 replies; 5+ messages in thread
From: Cedric Blancher @ 2006-06-08 15:41 UTC (permalink / raw)
  To: netfilter

Le jeudi 08 juin 2006 à 17:27 +0200, Boryan Yotov a écrit :
> My questions are...

My question is: as this list is dedicated to Netfilter, why asking about
routing problem here ?!


-- 
http://sid.rstack.org/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
>> Hi! I'm your friendly neighbourhood signature virus.
>> Copy me to your signature file and help me spread!


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: newbie at routing
  2006-06-08 15:27 ` Boryan Yotov
  2006-06-08 15:41   ` Cedric Blancher
@ 2006-06-08 22:59   ` Diana Asnani
  1 sibling, 0 replies; 5+ messages in thread
From: Diana Asnani @ 2006-06-08 22:59 UTC (permalink / raw)
  To: netfilter

Hi Boryan,

ur explanation on my prob is what it should be but to clarify some things:
202.184.41.0/ 255.255.255.255.0
192.168.206.0/255.255.255.240

and the 2 vlan routers are connected by another vlan router...the 2 PCs are 
in two different locations...
1st PC                                                                       
    2nd PC
[192.168.202.1]                                                     
[192.168.206.1 ] down link
                                                                            
[202.184.41.41]  up link
         |                                                                   
            |
Router 1                             Router                                
Router 2
+--[192.168.202.14]------[192.168.201.14]----------------[192.168.206.14]--+

i am able to ping all routers and the PC 192.168.206.1 except 
202.184.41.41....i must be able to access 202.184.41.41 because this address 
has IPv6 connectivity from a local tunnel broker...so there will be a tunnel 
from PC 1 to PC 2 later....thanks a lot !

PS: i know this a netfilter list...but i have been getting responses 
here....

>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
>
>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?
>
>
>
>
>
>

_________________________________________________________________
Get an advanced look at the new version of MSN Messenger. 
http://messenger.msn.com.my/Beta/Default.aspx



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-08 22:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-08 10:18 newbie at routing Diana Asnani
2006-06-08 15:27 ` Boryan Yotov
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

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.