ROUTER - 2 DEFAULT-GATEWAY - QUERIY
Posted on 2011-09-29
Hi I wish to test an 'ACL', which if I remember correctly was setup with no 'Routing protocols' on the 'router' and no vlans!!!
My router has 2 Fastethernet connections 1 & 2, plugged into 2 2950 switches using 'straight-thru' cables and set to 'trunk' only on both.
I will be using 2 different IP Addressing subnets on 'Router' ie fa0/0 - 192.168.1.1/24 & 10.0.0.1/24
Should I be adding a default-gateway on both switches pointing to the relevant fastethernet ports ie:
- ip default-gateway 192.168.1.2 255.255.255.0 - SwitchA
- ip default-gateway 10.0.0.2 255.255.255.0 - SwitchB
Im just setting it up this way for test purposes!!