Gateway is being ignored!!!
Gateway is being ignored!!!
(OP)
--------------------------------------------------------------------------------
Hi there
I have a network with 3 PCs linked through a switch. The 3rd PC has a network emulator which I am able to simulate delay and packet loss, the other 2 PCs have as gateway the IP address of that 3rd PC.
Problem: If I ping the 3rd PC from the first or second PC I can see the delay and packet loss, however if I ping the second PC from my first PC It shows the regular rates without delay or packet loss. Why?
--> Are my first and second PC ignoring the defined gateway?
--> How can I fix that, so all networking packages must go through the 3rd PC?
I am sure it's a really easy question for you guys, but I already tried a lot of things and never had a solution...
Thanks in advance!
Info
Hi there
I have a network with 3 PCs linked through a switch. The 3rd PC has a network emulator which I am able to simulate delay and packet loss, the other 2 PCs have as gateway the IP address of that 3rd PC.
Problem: If I ping the 3rd PC from the first or second PC I can see the delay and packet loss, however if I ping the second PC from my first PC It shows the regular rates without delay or packet loss. Why?
--> Are my first and second PC ignoring the defined gateway?
--> How can I fix that, so all networking packages must go through the 3rd PC?
I am sure it's a really easy question for you guys, but I already tried a lot of things and never had a solution...
Thanks in advance!
Info
RE: Gateway is being ignored!!!
ip decides by ipaddress/subnet, if the target is on a different network/subnet the gateway gets involved, if on the local network/subnet arp takes over (cache or broadcast).
you need to make the 3rd pc sit in the middle (like a router)and the 1st + 2nd on different subnets
M. Knorr
MCSE, MCTS, MCSA, CCNA
RE: Gateway is being ignored!!!
My question is, how is the determination (mathematically) made as to which gateway is the better or closer match?
RE: Gateway is being ignored!!!
you can only define one gateway, so if this gateway isnt able to find the target it wont work
M. Knorr
MCSE, MCTS, MCSA, CCNA
RE: Gateway is being ignored!!!
To use both gateways, you would have to manually setup routes on your host, eg (on the command-line):
route -p add 10.10.10.0 mask 255.255.255.0 192.168.1.1 metric 1
In this case, any traffic with destination 10.10.10.42 will be sent to 192.168.1.1.
Any traffic to 10.10.20.42 would go to your default gateway.