Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

vlans and cisco router

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.

I did see this http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Network%20Infrastructure&topic=Getting%20Started%20with%20LANs&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1ddcef50

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.

6 REPLIES
Cisco Employee

Re: vlans and cisco router

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.

Community Member

Re: vlans and cisco router

my router has the sub-interfaces, but does not have the encapsulation command. does that mean it doesn't support vlans?

Community Member

Re: vlans and cisco router

encapsulation is a command you configure.

Are you getting any errors when configuring encapsulation?

Cheers

Community Member

Re: vlans and cisco router

it just says the command doesn't exist. it's not in the list when I do "?" either.

Re: vlans and cisco router

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

Community Member

Re: vlans and cisco router

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?

matt@mattsoft.net

1207
Views
5
Helpful
6
Replies
CreatePlease to create content