LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-05-2004, 01:35 AM   #1
myself_rajat
LQ Newbie
 
Registered: May 2004
Location: India
Posts: 21

Rep: Reputation: 15
Question Problem related with subnetting


Hi all,
I have a problem to discuess, related with Subnetting issues.

As in corporate intranets, if a third party based conference(group chat) is going on, having server outside of that company scope. Now say if that company has broke down its intranet in to 3 different LANs with help of routers, with subnet address of 10.0.0.X, 20.0.0.X, 30.0.0.X. Say the address provided by the ISP to that company is a.b.c.d, i.e. WAN address for main DSL router.

Now all the conversation going on is having intervention of third party server. So if there is one client involved in each of subnet, then the server will be having 3 separate connection for each client for transmission.
So every time if any client send something to group, that same data will come to all 3 streams, intended to same IP address i.e. a.b.c.d. So it means a overhead, though we are sending same data to a corporate intranet, but having 3 separate streams. Which should be like that, server will send only one stream to a.b.c.d, later this stream will be divided into 3 stream, but inside the intranet, and each one will go to the respective client. OR One way can be like that, the outside server will send to one client only and this will multicast this data to others(rest of 2).

Can any body comment on this problem.

One more thing, I am quite confuse with subnet addressing. Like if one host from
20.0.0.X LAN want to send a packet to a host in 10.0.0.X LAN. So what destination address it will choose, and at the receiver end what source address we will get. Assuming router's of those subnet having their WAN address as 192.0.1.3 and
192.0.1.2 respectively. Will it be the same source and destination address??

And how the routers, which are making a subnet, make this intellegent translation, like how to map 192.0.1.2 address to exact host of 10.0.0.X.

Though I know, that I couldn't explain my problem in right manner, but still waiting for some +ve response.
 
Old 12-07-2004, 04:23 AM   #2
myself_rajat
LQ Newbie
 
Registered: May 2004
Location: India
Posts: 21

Original Poster
Rep: Reputation: 15
Sorry I think I couldn't explained my problem well. Let leave all
issues, and concern only with closer proximity problem.
So now we want to know whether 2 clients are behind the same corporate
connection or not. Moreover they are able to communicate to each other
directly or not.

Now we have to decide, where we have to find this thing, either at
conference server side or at one of the client side.

So at the server side if we see that for both client the host IP
address is same(address block provided by the ISP) then we can make
out that both are behind the same subnet(corporate connection).
Now, internally that subnet has 2 possible scenerios,

(1). It may have a single big LAN, if those 2 host exist in that same
LAN.

(2). The subnet is divided into multiple LANs(say for each floor). And
both clients exist in
different LANs. Say one in LAN-1 and another in LAN-2.

So now we have two issues,

(a). Recognize the client's corresponding LANs.
(b). Then find whether they are able to communicate directly or not.

Now assume that conference server can provide the clinet-2's local ip
address to client-1, that it can pick from the client side only, by
filling a informational structure.

So for case (1), client-1 can make out condition (a) by ANDing the
both IP address with subnet mask, and comparing them. For condition
(b) client-1 can ping the client-2.

Now the only problem occurs with case (2), How a client can send some
data to other client, I mean to which address, if it belongs to a
different address space or different LAN, but in the same subnet or
corporate connection.
Actually I have a configuration here, in that, from DSL modem/router
we connect a router/switch and make a LAN of address space 10.0.0.X,
whose address limit will vary from 10.0.0.2 to 100, where 10.0.0.1 is
the address of the router itself. Now we again create a LAN of
20.0.0.X, by using a another router, which will have its WAN address
as 10.0.0.101 and conncet it to one of the port of 10.0.0.X router. So
the problem is, we are able to ping any host of LAN 10.0.0.X from any
host of LAN 20.0.0.X. But we are not able to ping in reverse
direction. So the host of 20.0.0.X LAN are able to host of 10.0.0.X
LAN but vice versa it is not true.
Can any one point out why??
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPTables and subnetting...help rnj Linux - Networking 4 09-30-2004 06:41 AM
subnetting juanb Linux - Networking 1 06-30-2004 10:23 AM
Problem of Subnetting NIT Linux - Networking 3 11-04-2003 03:46 AM
subnetting Fabian030 General 4 09-11-2003 03:11 AM
subnetting juanb Linux - Networking 3 08-26-2003 10:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration