Ip static route vs default gateway

Post Reply
Enwary
Member
Posts: 17
Joined: 18 Jun 2018 05:35

Ip static route vs default gateway

Post by Enwary » 28 Jul 2018 06:21

Hi all..
My plan is to configure two vlans and Loopback0 int for management on the switch and connect the switch through trunk port to cisco router...sub interfaces will be configured on cisco router....at this point I get confused how to configure gateway for each vlan and Loopback0 int to access the switch from different subnet...I go through the manual and what I understand is to configure static route instead of gateway but do i have to configure static route for each vlan depending on router sub interfaces ip...please advise...

thanks...

silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1221
Joined: 01 Jul 2008 10:51
Location: Germany

Re: Ip static route vs default gateway

Post by silvio » 02 Aug 2018 15:28

Thats why the best way is to use dynamic routing like OSPF if you use loopback0. Than the OmniSwitch will propagate the best route to the loopback0 to the neighbors automaticly.
best regards
Silvio

Enwary
Member
Posts: 17
Joined: 18 Jun 2018 05:35

Re: Ip static route vs default gateway

Post by Enwary » 07 Aug 2018 05:02

many thanks fro respond...
dynamic routing protocol will be configured on cisco router to propagate all subnets including Loopback0 to all neighbors...
I get confused how to configure the switch to replay to router interface when it received a packet from different subnet...
I couldn't find any command to configure default gate way, but I think configuring static route as below will be fine..

Ip static-route 0.0.0.0 mask 0.0.0.0 gateway x.x.x.x


Thanks again
best regards,,

silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1221
Joined: 01 Jul 2008 10:51
Location: Germany

Re: Ip static route vs default gateway

Post by silvio » 08 Aug 2018 12:37

yes, the static route to 0.0.0.0/0 is the default gateway.
regards
Silvio

Post Reply

Return to “OmniSwitch 6560”