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:06 PM
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.
I see you have enabled routing on the vlan but that is not needed if this is only an L2 vlan.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-03-2015 01:54 PM
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?
#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?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-03-2015 10:46 AM
so its basically working at Layer3.
If we want remote access on the VLAN interface the switch needs a default gateway for that Interface.
If we want remote access on the VLAN interface the switch needs a default gateway for that Interface.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-03-2015 08:36 AM
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-03-2015 08:27 AM
would the switch not use the dynamic default gateway if we are managing remotely (ie from the internet)
