Mr.X
asked on
how to connect layer3 switch to router ? how both end ports needs to be configured ?
hi,
got a dlink layer3 switch
got vlan1- management
got vlan2- voice
got vlan3- data
switch is doing the inter vlan routing.
and got default route going to router ip
the part I want to know : - —— how do I connect the dlink switch to the router ??? the port in switch should I make it trunk ? In router what am I doing ?
got a dlink layer3 switch
got vlan1- management
got vlan2- voice
got vlan3- data
switch is doing the inter vlan routing.
and got default route going to router ip
the part I want to know : - —— how do I connect the dlink switch to the router ??? the port in switch should I make it trunk ? In router what am I doing ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Router will need route to the the switch for all subnets on the switch.
ASKER
so in the router should I put static routes for all vlans pointing to 192.168.100.2 ? am I correct ?
and the vlan 100, can I assign that ip to local computers as well ? or is it needs to be only between switch and router ?
and the vlan 100, can I assign that ip to local computers as well ? or is it needs to be only between switch and router ?
A transit network exists solely to assist in having two L3 network devices route traffic. Don't put computers in it, because there are then 2 or more routers on the subnet, and then you could be doing ICMP redirects for routing traffic and such. It is much more straight forward to have 1 possible gateway and route to it.
ASKER
ok thanks.
ASKER
if i do it the above way ----
and if i give default route in switch to be - 0.0.0.0 0.0.0.0 192168.100.1 - switch gonna forward new traffics through the router ip and internet gonna work for all vlans.
but when packet arrives from external to internal : how this gonna work ? how router will know info about all vlans ?