Hi all,
I have two routers on a network. Each router is configured for router-on-a-stick inter VLAN-routing.
VLAN 1 192.168.42.0/24
VLAN 2 192.168.43.0/24
HSRP is active between the two routers which are addressed in each VLAN as follows
R1
fa 0/0 MAC 11-11-11-11-11-11
fa0/0.1 IP 192.168.42.253
fa0/0.2 IP 192.168.43.253
R2
fa0/0 MAC 22-22-22-22-22-22
fa0/0.1 IP 192.168.42.254
fa0/0.2 IP 192.168.43.254
HSRP Group 1 Address: 192.168.42.1
HSRP Group 2 Address: 192.168.43.1
HSRP MAC: 33-33-33-33-33-33
R1 is the Active router.
I have a Client on VLAN 1, IP address 192.168.42.x DG 192.168.42.1.
I have a Web Server on VLAN 2, IP address 192.168.43.50 DG 192.168.43.1
In this scenario, Client can ping and connect via HTTP to the Web Server routing by their default gateway's which is
Router R1 (Active router). All working nicely.
If R1 fails, R2 becomes active and therefore the scenario continues to run OK as the gateway has simply switched to
the other router.
Now:
Change default gateway on Client 192.168.42.x to 192.168.42.254 (Standby router).
In this scenario, Client can ping the Web Server but cannot connect via HTTP, the page times out.
When the Client sends packets to the Web Server 192.168.43.50 address, it has to ARP for the default
gateway MAC address and forms it's packets with following destination addresses:
IP: 192.168.43.50
MAC: 22-22-22-22-22-22 (R2 MAC)
However, it returns with source addresses of:
IP: 192.168.43.50
MAC: 11-11-11-11-11-11 (R1 MAC)
I understand why this is so however;
1. Why does the ping succeed but the browsing fails..? is this becuase a HTTP connection forms a session between the two whereas the ping is merely sent as a reply?
2. Is there a way around this, without changing the gateway on the client back to the .1 address?
Any thoughts and ideas most appreciated
PS (I haven't posted any configs because I am not sure they would help with what is really a theory question and
not an incorrect programming issue but can supply if needed)
Many thanks
Jim
CCNP
I have two routers on a network. Each router is configured for router-on-a-stick inter VLAN-routing.
VLAN 1 192.168.42.0/24
VLAN 2 192.168.43.0/24
HSRP is active between the two routers which are addressed in each VLAN as follows
R1
fa 0/0 MAC 11-11-11-11-11-11
fa0/0.1 IP 192.168.42.253
fa0/0.2 IP 192.168.43.253
R2
fa0/0 MAC 22-22-22-22-22-22
fa0/0.1 IP 192.168.42.254
fa0/0.2 IP 192.168.43.254
HSRP Group 1 Address: 192.168.42.1
HSRP Group 2 Address: 192.168.43.1
HSRP MAC: 33-33-33-33-33-33
R1 is the Active router.
I have a Client on VLAN 1, IP address 192.168.42.x DG 192.168.42.1.
I have a Web Server on VLAN 2, IP address 192.168.43.50 DG 192.168.43.1
In this scenario, Client can ping and connect via HTTP to the Web Server routing by their default gateway's which is
Router R1 (Active router). All working nicely.
If R1 fails, R2 becomes active and therefore the scenario continues to run OK as the gateway has simply switched to
the other router.
Now:
Change default gateway on Client 192.168.42.x to 192.168.42.254 (Standby router).
In this scenario, Client can ping the Web Server but cannot connect via HTTP, the page times out.
When the Client sends packets to the Web Server 192.168.43.50 address, it has to ARP for the default
gateway MAC address and forms it's packets with following destination addresses:
IP: 192.168.43.50
MAC: 22-22-22-22-22-22 (R2 MAC)
However, it returns with source addresses of:
IP: 192.168.43.50
MAC: 11-11-11-11-11-11 (R1 MAC)
I understand why this is so however;
1. Why does the ping succeed but the browsing fails..? is this becuase a HTTP connection forms a session between the two whereas the ping is merely sent as a reply?
2. Is there a way around this, without changing the gateway on the client back to the .1 address?
Any thoughts and ideas most appreciated
PS (I haven't posted any configs because I am not sure they would help with what is really a theory question and
not an incorrect programming issue but can supply if needed)
Many thanks
Jim
CCNP