cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
232
Views
0
Helpful
1
Replies

vlans

carl_townshend
Spotlight
Spotlight

If I have 2 vlans say 3 and 4, both in different subnets, how does each one get the the internet and do you need to put encapsulation on the trunks ?

1 Reply 1

ankurbhasin
Level 9
Level 9

Hi Carl,

Depends on where you are terminating your internet.

Suppose you are terminating on your router and router has a lan port which you can connect to the switch.

Create subinterface on the router and configure encapsulation dot1q with different subnet range ip address for both the subinterfaces.

Comnfigure the connected port on switch as dot1q trunk.

Also assign your workstations with gateway address (which you will conigure on your subinterfaces on router)

Also assign a default route on router like

ip route 0.0.0.0 0.0.0.0 serial 1....exit point for internet

This is just an example of a very simple topology for internet connection as I said it all depends on your topology and internet router.

HTH

Ankur

Review Cisco Networking for a $25 gift card