Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

PSE help: up a very simple routing lab

5 réponses
Avatar
Branlebât
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

5 réponses

Avatar
Bill Grant
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â wrote in message
news:
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




Avatar
Branlebât
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â wrote in message
news:
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






Avatar
Bill Grant
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â wrote in message
news:
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â wrote in message
news:
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










Avatar
Jacques-A
"Bill Grant" a écrit dans le message de news:
elUSyT%
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â wrote in message
news:
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â wrote in message
news:
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













Avatar
Branlebât
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â wrote in message
news:
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â wrote in message
news:
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