01-27-2007 04:14 AM - edited 03-05-2019 02:01 PM
I have a netgear managed switch and a cisco 1750 router. I would like to set up 2 vlans. the first one is a wan, with a residential cable model connected to it. the other vlan is for my private lan. I will then have the cisco router connected to one port on the switch set up as a trunk. I'm no pro, but from what I've read so far, it should work that way, right? the part I need help with is setting up the cisco router as a gateway and dns proxy, accepting the dynamic ip, gateway, and dns addresses from the cable modem.
router in a stick *write that down* so my setup should work if I can figure out the router configuration. a good online tutorial or something would be helpful for this. I have plenty of cisco books, but maybe something for dummies would help me get started, before digging into the tough stuff.
01-28-2007 04:24 AM
In order to set up inter vlan routing or a "router on a stick" with a netgear switch you will need a router that supports IEEE 802.1q VLAN Support.
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120t/120t1/8021q.htm#28767
On the router interface that is "trunked" to the switch you will need to have a configuration that looks like the what I have below.
Router(config)#interface FastEthernet0/1.1
Router(config-subif)#encapsulation dot1Q 1 native
Router(config-subif)#ip address 10.xx.xx.16 255.255.255.xxx
Router(config-subif)#interface FastEthernet0/1.2
Router(config-subif)#encapsulation dot1Q 2
Router(config-subif)#ip address 10.xx.xx.130 255.255.255.xxx
The sub-interface 1."2" corresponds to the vlan id on the trunk. In this case the .2 is vlan 2.
I have attahced a link that exlains the intricate details on inter vlan routing below:
http://www.cisco.com/warp/public/473/50.shtml
Lastly you may want to check the Cisco IOS feature Navigator. I was looking at it and I did not see that the 1750 has IEEE 802.1q VLAN Support. It looks like the 1751 is the first platform in the 1700 series that does.
02-06-2007 12:02 AM
my router has the sub-interfaces, but does not have the encapsulation command. does that mean it doesn't support vlans?
02-06-2007 04:36 AM
encapsulation is a command you configure.
Are you getting any errors when configuring encapsulation?
Cheers
02-06-2007 04:40 AM
it just says the command doesn't exist. it's not in the list when I do "?" either.
02-06-2007 07:52 AM
The image you are currently using doesn't appear to support dot1q encapsulation. I believe you need atleast an IP Plus image for this feature. Use the software advisor tool to choose the appropriate IOS. You may have to login to access this tool.
http://www.cisco.com/en/US/support/tsd_most_requested_tools.html
HTH
Sundar
02-07-2007 05:13 AM
sounds like you're right. I read a website that said something about IP Plus. I wanted to set this up for my home network to replace the cheap newbie router and have something more reliable. I didn't want to spend hundreds of dollars on getting it to work. is there someplace I can get the image cheaper?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide