Networking Forums

Networking Forums > Computer Networking > Windows Networking > PSE help: up a very simple routing lab

Reply
Thread Tools Display Modes

PSE help: up a very simple routing lab

 
 
Branlebât
Guest
Posts: n/a

 
      01-10-2008, 10:01 PM
Hello,

I want to set up a very simple routing lab

PC1: NIC 1: 192.168.1.10 / 255.255.255 / gateway 192.168.1.1
|
|
|
SERVEUR: NIC 1: 192.168.1.1 / 255.255.255
NIC 2: 192.168.2.1 / 255.255.255
|
|
|
PC2: NIC 1: 192.168.2.10 / 255.255.255 / gateway 192.168.2.1

PC1 must be able to ping PC2

So the routeur should pass the packet trough the 2 nics

What I have o type on SERVEUR to make that possible ?

I spent many hours with no success ;>((

I know it is possible to activate the routing in the registry, but I
want to do it manually

Best regards,

Branlebât


 
Reply With Quote
 
 
 
 
Bill Grant
Guest
Posts: n/a

 
      01-10-2008, 10:35 PM
I am not sure what you mean by "manually" in this case. I would think
that enabling IP routing in the registry was the manual method. The normal
method is to configure LAN routing in RRAS.

"Branlebât" <Branlebâ(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> I want to set up a very simple routing lab
>
> PC1: NIC 1: 192.168.1.10 / 255.255.255 / gateway 192.168.1.1
> |
> |
> |
> SERVEUR: NIC 1: 192.168.1.1 / 255.255.255
> NIC 2: 192.168.2.1 / 255.255.255
> |
> |
> |
> PC2: NIC 1: 192.168.2.10 / 255.255.255 / gateway 192.168.2.1
>
> PC1 must be able to ping PC2
>
> So the routeur should pass the packet trough the 2 nics
>
> What I have o type on SERVEUR to make that possible ?
>
> I spent many hours with no success ;>((
>
> I know it is possible to activate the routing in the registry, but I want
> to do it manually
>
> Best regards,
>
> Branlebât
>
>


 
Reply With Quote
 
Branlebât
Guest
Posts: n/a

 
      01-10-2008, 10:44 PM
Hello Bill,

Well, it is not posible to type something "route ADD xxxxx" in the
console to define only a particula route ?

Because if I edit the registry, all packets will be routed

Regards,

Branlebât


Bill Grant avait soumis l'idée :
> I am not sure what you mean by "manually" in this case. I would think that
> enabling IP routing in the registry was the manual method. The normal method
> is to configure LAN routing in RRAS.
>
> "Branlebât" <Branlebâ(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hello,
>>
>> I want to set up a very simple routing lab
>>
>> PC1: NIC 1: 192.168.1.10 / 255.255.255 / gateway 192.168.1.1
>> |
>> |
>> |
>> SERVEUR: NIC 1: 192.168.1.1 / 255.255.255
>> NIC 2: 192.168.2.1 / 255.255.255
>> |
>> |
>> |
>> PC2: NIC 1: 192.168.2.10 / 255.255.255 / gateway 192.168.2.1
>>
>> PC1 must be able to ping PC2
>>
>> So the routeur should pass the packet trough the 2 nics
>>
>> What I have o type on SERVEUR to make that possible ?
>>
>> I spent many hours with no success ;>((
>>
>> I know it is possible to activate the routing in the registry, but I want
>> to do it manually
>>
>> Best regards,
>>
>> Branlebât
>>
>>



 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      01-10-2008, 11:00 PM
Adding route commands will have no effect if IP routing is not enabled.
If the switch is off in the registry, nothing is forwarded between NICs.
There are no other options. Routing is enabled (for all NICs) or it is
disabled

In the example you quote, no route commands are required. When you
enable IP routing on the server, routing between the two PCs will work,
because the router is the default gateway for both LANs. Traffic for the
"other" subnet will go to the router by default, and the router will deliver
it in the other segment if IP forwarding is enabled.

"Branlebât" <Branlebâ(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello Bill,
>
> Well, it is not posible to type something "route ADD xxxxx" in the console
> to define only a particula route ?
>
> Because if I edit the registry, all packets will be routed
>
> Regards,
>
> Branlebât
>
>
> Bill Grant avait soumis l'idée :
>> I am not sure what you mean by "manually" in this case. I would think
>> that enabling IP routing in the registry was the manual method. The
>> normal method is to configure LAN routing in RRAS.
>>
>> "Branlebât" <Branlebâ(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Hello,
>>>
>>> I want to set up a very simple routing lab
>>>
>>> PC1: NIC 1: 192.168.1.10 / 255.255.255 / gateway 192.168.1.1
>>> |
>>> |
>>> |
>>> SERVEUR: NIC 1: 192.168.1.1 / 255.255.255
>>> NIC 2: 192.168.2.1 / 255.255.255
>>> |
>>> |
>>> |
>>> PC2: NIC 1: 192.168.2.10 / 255.255.255 / gateway 192.168.2.1
>>>
>>> PC1 must be able to ping PC2
>>>
>>> So the routeur should pass the packet trough the 2 nics
>>>
>>> What I have o type on SERVEUR to make that possible ?
>>>
>>> I spent many hours with no success ;>((
>>>
>>> I know it is possible to activate the routing in the registry, but I
>>> want to do it manually
>>>
>>> Best regards,
>>>
>>> Branlebât
>>>
>>>

>
>


 
Reply With Quote
 
Jacques-A
Guest
Posts: n/a

 
      01-11-2008, 03:08 PM

"Bill Grant" <not.available@online> a écrit dans le message de news:
elUSyT%(E-Mail Removed)...
Bonjour,

Réponse en français puisque le forum est FR.

Dans l'échange, je n'ai rien vu sur les réglages de firewall (merci
d'excuser ce mot). Est-ce que le serveur autorise l'ICMP ?

Adishatz,

Jacques

> Adding route commands will have no effect if IP routing is not enabled.
> If the switch is off in the registry, nothing is forwarded between NICs.
> There are no other options. Routing is enabled (for all NICs) or it is
> disabled
>
> In the example you quote, no route commands are required. When you
> enable IP routing on the server, routing between the two PCs will work,
> because the router is the default gateway for both LANs. Traffic for the
> "other" subnet will go to the router by default, and the router will
> deliver it in the other segment if IP forwarding is enabled.
>
> "Branlebât" <Branlebâ(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hello Bill,
>>
>> Well, it is not posible to type something "route ADD xxxxx" in the
>> console to define only a particula route ?
>>
>> Because if I edit the registry, all packets will be routed
>>
>> Regards,
>>
>> Branlebât
>>
>>
>> Bill Grant avait soumis l'idée :
>>> I am not sure what you mean by "manually" in this case. I would think
>>> that enabling IP routing in the registry was the manual method. The
>>> normal method is to configure LAN routing in RRAS.
>>>
>>> "Branlebât" <Branlebâ(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> Hello,
>>>>
>>>> I want to set up a very simple routing lab
>>>>
>>>> PC1: NIC 1: 192.168.1.10 / 255.255.255 / gateway 192.168.1.1
>>>> |
>>>> |
>>>> |
>>>> SERVEUR: NIC 1: 192.168.1.1 / 255.255.255
>>>> NIC 2: 192.168.2.1 / 255.255.255
>>>> |
>>>> |
>>>> |
>>>> PC2: NIC 1: 192.168.2.10 / 255.255.255 / gateway 192.168.2.1
>>>>
>>>> PC1 must be able to ping PC2
>>>>
>>>> So the routeur should pass the packet trough the 2 nics
>>>>
>>>> What I have o type on SERVEUR to make that possible ?
>>>>
>>>> I spent many hours with no success ;>((
>>>>
>>>> I know it is possible to activate the routing in the registry, but I
>>>> want to do it manually
>>>>
>>>> Best regards,
>>>>
>>>> Branlebât
>>>>
>>>>

>>
>>

>


 
Reply With Quote
 
Branlebât
Guest
Posts: n/a

 
      01-11-2008, 03:20 PM
Thanks Bill for your clear answer

So in my example, if I remove the default gateway on both computers in
the subnet, I have to instruct them with

On PC1: route ADD 192.168.1.0 MASK 255.255.255 192.168.1.1

On PC2: route ADD 192.168.2.0 MASK 255.255.255 192.168.2.1

to make them able to reach the other subnet ?

(Of course, after turn on the registry switch to enable routing)

Is it correct ?

Have a nice week-end


Branlebât




Bill Grant a exprimé avec précision :
> Adding route commands will have no effect if IP routing is not enabled. If
> the switch is off in the registry, nothing is forwarded between NICs. There
> are no other options. Routing is enabled (for all NICs) or it is disabled
>
> In the example you quote, no route commands are required. When you
> enable IP routing on the server, routing between the two PCs will work,
> because the router is the default gateway for both LANs. Traffic for the
> "other" subnet will go to the router by default, and the router will deliver
> it in the other segment if IP forwarding is enabled.
>
> "Branlebât" <Branlebâ(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hello Bill,
>>
>> Well, it is not posible to type something "route ADD xxxxx" in the console
>> to define only a particula route ?
>>
>> Because if I edit the registry, all packets will be routed
>>
>> Regards,
>>
>> Branlebât
>>
>>
>> Bill Grant avait soumis l'idée :
>>> I am not sure what you mean by "manually" in this case. I would think
>>> that enabling IP routing in the registry was the manual method. The normal
>>> method is to configure LAN routing in RRAS.
>>>
>>> "Branlebât" <Branlebâ(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> Hello,
>>>>
>>>> I want to set up a very simple routing lab
>>>>
>>>> PC1: NIC 1: 192.168.1.10 / 255.255.255 / gateway 192.168.1.1
>>>> |
>>>> |
>>>> |
>>>> SERVEUR: NIC 1: 192.168.1.1 / 255.255.255
>>>> NIC 2: 192.168.2.1 / 255.255.255
>>>> |
>>>> |
>>>> |
>>>> PC2: NIC 1: 192.168.2.10 / 255.255.255 / gateway 192.168.2.1
>>>>
>>>> PC1 must be able to ping PC2
>>>>
>>>> So the routeur should pass the packet trough the 2 nics
>>>>
>>>> What I have o type on SERVEUR to make that possible ?
>>>>
>>>> I spent many hours with no success ;>((
>>>>
>>>> I know it is possible to activate the routing in the registry, but I want
>>>> to do it manually
>>>>
>>>> Best regards,
>>>>
>>>> Branlebât
>>>>
>>>>

>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
simple lan routing BW Windows Networking 7 04-27-2007 02:56 AM
Simple Routing ValeX Network Routers 19 04-11-2006 07:17 AM
simple routing setup ... moritz@uplink-verein.ch Linux Networking 4 09-19-2005 04:35 AM
Simple (?) routing question Dario Linux Networking 1 11-23-2004 12:51 PM
Help with simple routing calle Linux Networking 12 09-05-2003 02:01 PM



1 2 3 4 5 6 7 8 9 10 11