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

simon_bingham
New Contributor II
The Switch its self does not know how to get to any other subnet than 192.168.0.0/24 ,
does not know how to return the traffic, that's why to need a route for to manage the switch remotely ( helps to always think about both directions separately )

OscarK
Extreme Employee
You only need that route if you telnet from anotther subnet (not 192.168.0.0/24) to the switch at 192.168.0.1.

JeremyClarkson
New Contributor
why do we need to add this for remote access if we connect to the VLAN interface created?

simon_bingham
New Contributor II
You will need the route to access the management of the switch device remotely
you not need it for clients on that network to operate successfully.
asside: ipforwarding does not need to be enabled

OscarK
Extreme Employee
If you want to acces the switch from another subnet you need to add that route yes.
GTM-P2G8KFN