cancel
Showing results for 
Search instead for 
Did you mean: 

iproute if only using L2

iproute if only using L2

JeremyClarkson
New Contributor
Hi,

I would like to put an example to every one and see what their thoughts are.

- configure vlan DATA add ports all untagged
- configure vlan DATA ipaddress 192.168.0.1 255.255.255.0

Now we have a router attached with Default Gateway 192.168.0.254

Do we need to add the following for packets to traverse?

- configure iproute add default 192.168.0.254

Thanks
21 REPLIES 21

OscarK
Extreme Employee
Dynamic routing protocols are only needed if you want to route between vlans and advertise/receive these routes from or to other routers.
I see you have enabled routing on the vlan but that is not needed if this is only an L2 vlan.

JeremyClarkson
New Contributor
Destination Gateway
#d 192.168.0.0/24 192.168.0.1 1 U------um--f-

Then what is the use of dynamic routes? Would this be use if we were doing VLAN routing?

JeremyClarkson
New Contributor
so its basically working at Layer3.

If we want remote access on the VLAN interface the switch needs a default gateway for that Interface.

OscarK
Extreme Employee
If there is no route in the routing table the switch cannot reach that route. There is no magic dynamic route we can learn if traffic is coming in from another subnet.

JeremyClarkson
New Contributor
would the switch not use the dynamic default gateway if we are managing remotely (ie from the internet)
GTM-P2G8KFN