|
|
Back to UserFriendly Strip Comments Index
|
IP Routing Question | by nix | 2002-06-05 08:59:57 |
| Potential loop |
by sumirati |
2002-06-05 09:38:45 |
hmm, sometimes words can't express it all ... but ascii can :)
or express it better - with more words.
Let's have a look:
Subnet ? <---> Machine X <---> Router Y
1. packet for subnet ? is forwarded via default route to router Y.
2. Router Y sends the packet back to X
3. X still doesn't know a route to subnet ?, resend to router Y
4. ...
5. ...
6. ...
-> loop.
WHY should you want this?
Add a rule on machine X to reach the subnet in question DIRECT - and let it route all packets incomming too (make it router).
This is the only working way.
IF X, Y are NOT ONLY ip addresses and ? is not a subnet but your config looks like that
Machine X IP-Alias 1 in subnet A
Machine X IP-Alias 1 in subnet B <--> Router Y
Machine X IP-Alias 2 in subnet B
Ok, what will happen now?
If X1A wants to talk to X1B or X2B it will go to the router and the router will use the same interface ... if it has both subnets defined on that interface.
For X1B and X2B it is the same if the want to talk to X1A.
If X1B wants to talk to X2B it will only make an ARP-lookup (because it is on the same subnet) and forwarding the packet to that MAC-address (talking about ethernet here).
All clearness gone ? :)))
If your case is not handled here ... describe it better
sumi
|
|
[ Reply ] |
|
|
[Todays Cartoon Discussion]
[News Index]
|
|