iproute if only using L2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-03-2015 08:05 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-03-2015 02:38 PM
It all depends from where that remote access is done, from another subnet.
You can compare it to a PC needing a default gateway but it does not route traffic itself.
You only need 1 default gateway.
You can compare it to a PC needing a default gateway but it does not route traffic itself.
You only need 1 default gateway.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-03-2015 02:33 PM
so when the VLAN interface is created the direct iproute is also created and this is added if we want to use VLAN routing correct?
why would an iproute be created with the gateway as the VLAN interface?
Im basically only concerned about remote access - so for every remote access that we want to connect to the VLAN interface we need to specify the default gateway?
why would an iproute be created with the gateway as the VLAN interface?
Im basically only concerned about remote access - so for every remote access that we want to connect to the VLAN interface we need to specify the default gateway?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-03-2015 02:15 PM
No a route is created but only for the local subnet, how can the switch know about other networks ? if must a) we add a static route b) run a dynamic routing protocol like ospf. the route in the table you see is just the device saying " I have this local network connected me ", as a complete side if you ever have all the in the interfaces in a vlan go down the route disappears ( correctly ) .
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-03-2015 02:11 PM
When you configure the IP address on a vlan the route to that subnet of the vlan itself will be created. Only when you want to reach subnets outside your local subnet (not 192.168.0.0/24) you need a static route. The route to the local subnet is a direct route (this is where the #d stands for).
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-03-2015 02:07 PM
Is the dynamic route not created when we create an interface?
We dont use routing, we only use remote access.
Its working at L2
We dont use routing, we only use remote access.
Its working at L2
